Jump to Navigation

Chef Marcel at your service!Food, Wine, and Linux may seem like a strange combination, but combining three passions can be a wonderful thing. I'm Marcel Gagné. Those of you who read Cooking with Linux, the multi-award-winning column that appeared monthly in Linux Journal magazine for 10 years, likely agree. With the help of my faithful waiter, François, Restaurant Chez Marcel serves up the finest in Linux and open source software paired with exceptional wines.

In that same spirit, this site features great Linux and Open Source software, ongoing wine tasting reports, recipes, and the occasional restaurant review. If you came here looking to read past Cooking with Linux columns, you'll find newer releases on the front page, a comprehensive list here and under the "CWL, The Column" menu link to the left. A votre santé! Bon appétit!

Customizing Amonymous Comments In Drupal

I've always felt that if you needed to comment on a story or blog post, you should take the time to register with the site, log in, and do things properly. Somewhere along the way, a handful of readers managed to convince me to at the very least, open up anonymous comments and see how it goes. That was the easy part. The hard part cost me a few hours and an eventual trip to the #drupal-support IRC channel where a user who goes by nick "nearlythere" got me there. Allow me to explain. My sites run on Drupal and while I love the power and flexibility of Drupal, there are times . . . [ insert sounds of growling here ] Since I wanted to avoid a massive influx of comment spam, my first step was to add captchas with the aid of the reCaptcha module which makes use of the wonderful and superb reCAPTCHA system. I also wanted to force Anonymous users to include their names and email addresses, a common enough practice on blog sites around the Net. Here's what Drupal gave me to work with when I turned on anonymous comments. Note: Click the images for a full sized view. Not exactly what I was looking for. What I really wanted looks more like this: The trouble here is that finding the settings for this ikn Drupal is anything but easy. What would you expect? Something under comment settings in the Administration menu? You could be wrong if you said yes. Even though the menu option clearly states that "Comment page" (admin/content/comment_page) lets you "Adjust the settings for the comment page module. How about under Permissions or Access Rules. Wrong and wrong again. In fact, there is nothing in the administration menu that says anything about Anonymous Commenting. What to do? As it turns out, you set up Anonymous Commenting this way: Administer-> Content Types-> BLog Entry-> Edit. Now, look down to where it says "Comment settings" and click that link to open up the options below. You'll see a host of options for commenting in general and, more importantly for this discussion, Anonymous commenting. Have a look at the image below. Check the radio button labeled "Anonymous posters must leave their contact information", save your settings, and off you go. Make sure, of course, that your system permissions allow anonymous users to post comments. As you can see, the functionality is there, but isn't entirely intuitive, even from an administration point of view. Oh, did I mention that you can now leave anonymous comments? With a few reservations, of course.

Comments

Thanks for the tip :)

<p style="text-align: left;">Just a little fun because the original title has the word: "Amonymous"</p><p style="text-align: left;"> </p><p style="text-align: left;">Amon (wikipedia)</p><p style="text-align: left;">is a <a href="http://en.wikipedia.org/wiki/Marquis" title="Marquis">Marquis</a> of <a href="http://en.wikipedia.org/wiki/Hell" title="Hell">Hell</a>. He controls forty legions of spirits. He appears as a <a href="http://en.wikipedia.org/wiki/Wolf" title="Wolf">wolf</a> with a <a href="http://en.wikipedia.org/wiki/Serpent_%28symbolism%29" title="Serpent (symbolism)">serpent</a>'s tail, and breathes <a href="http://en.wikipedia.org/wiki/Fire" title="Fire">fire</a>, or appears as a man with <a href="http://en.wikipedia.org/wiki/Dog" title="Dog">dog</a>'s teeth in the head of a <a href="http://en.wikipedia.org/wiki/Raven" title="Raven">raven</a>, or simply as a man with a raven's head. He tells of things past and future, and reconciles feuds and controversies between friends.</p><p style="text-align: left;"> </p><p style="text-align: left;"> </p>


Main menu 2

by Dr. Radut.