New Podcast

Posted Tuesday, January 31 at 3:28 pm
  Thomas Turnbull (tom_o_t on drupal.org) and Alan Palazzolo (zzolo on drupal.org) join Mike Anello to talk about their new book from O’Reilly Media, Mapping with Drupal. Mike’s usual co-hosts, Andrew and Ryan, were both unable to participate in the podcast, leaving Thomas and Alan subject to Mike’s long-winded (but extremely interesting by some accounts) questions.
Download Podcast 73
DrupalEasy_ep73_20120131.mp3
Syndicate content

NEWSLETTER

Stay informed on our latest news!

Syndicate content

Testimonial

Spending the day with you guys really helped me realize that Drupal allows me to do many of the same things I manually did, but in a nice little package already to go. I look forward to attending the next class you have.

Who are we?

DrupalEasy is the collective expertise of Ryan Price and Michael Anello, who joined forces to provide training and consulting services worldwide. Read all about them and what they can do.

What is Drupal?

Drupal is a free, super-powerful content management system for sites that require information posting and collection, including blogs, forums, videos, photos, and databases of information. We think it is the best platform available. Here's why...

Why Drupal?

More and more savvy organizations are going with Drupal for content management, and its no mystery why. It’s free, flexible, and easy to maintain for small or large volume sites. Learn more...

Flag

Allows your users to mark (flag) content to be listed or acted on. Think bookmarks, buddylists, or offensive comments. <140

Like a Souffle rising in the oven, the Flag module rose above its predecssor, the Drupal 5-based Views Bookmark module to expand the palette of flagging possibilities in the Drupal cookbook.

If you're lucky (or unlucky, depending on your perspective) to remember the Views Bookmark module, you may remember its inflexibility to bookmark anything other than nodes or the difficulty in customizing any part of its functionality. Luckily, the Flag module is a yummy rewrite with oodles of new features and flexibility.

The idea of flagging content is not a new concept. You're reading a magazine, you see an article you like, you slap a sticky note on it. You're browsing a cookbook, you see the perfect guacamole recipe, you put your "world's best cook" bookmark on the page. It's a concept everyone can understand.

Fortunately, the Flag module does things about the same way. It provides a link on the page with a "Flag this content!" (customizable) link. You click the link and the magic AJAX fairies make it happen. Pretty sweet. The Views Bookmark module did pretty much the same thing, but fortunately the Flag module kicks it up a notch (Bam!)

Not only can you flag content (nodes, in this context), but you can also flag comments or users. Whoa - see where this is going? How about buddylists? How about an editor hand-picking some "Hot Comments"? Maybe a superquick way for your users to "flag as offensive"?

Did I mention the delicious Views integration to help you slice and dice the various flagged items lists that you're probably already creating as you read this? Don't forget about the secret ingredient, the Flag module's integration with Drupal Actions - automatically send an email (or any other available action) when a flag is set.

Regardless of how you end up using it, the Flag module will add some spice to your site (wow - it's really hard coming up with all those cooking puns).

This module integrates well with various other Drupal modules including Views, Actions (part of Drupal core), Rules, and Token. It also has an API with limited documentation.

Flags can be global or per-user. Global flags are shared among all users - an example might be "flag as offensive". Per-user flags are not shared - an example might be a user "favorites list", where they flag their favorite content on the site and then a list of all their "favorites" is placed in a sidebar.

The Flag Weights module makes it possible to reorder flag in an arbitrary manner.

Stats