Recipe 66: Using the Flag module for various use cases
Note
Ingredients
Flag module: http://drupal.org/project/flag
Views Custom Field module: http://drupal.org/project/views_customfield
In this recipe, we expand upon Recipe 65, examining more use cases for the Flag module with Views. We'll manage fact-checking by editors and prepare lists of workshop attendee RSVPs. We'll also flag some comments as inappropriate and see one of the limits to the views module in that context.
Complete Recipe 65. Additionally, install and enable the Views Custom Field module.
Create three flags: inappropriate, fact_check, and rsvp), as follows, at
admin/build/flags/add
. The bookmarks flag settings that come with the module are shown for comparison.Note that the table of settings continues on the following page:
Name
bookmarks
inappropriate
fact_check
rsvp
Type
Nodes
Comment
Nodes
Nodes
Title
Bookmarks
Inappropriate
Fact Check Needed
RSVP
Flag link text
Bookmark this
Flag as Inappropriate
Fact Check...