Last updated May 15, 2012. Created by Itangalo on May 15, 2012.
Log in to edit this page.

The Flag module allows you to create simple flags, that end users may use to flag nodes, users and comments on your Drupal site. Flag could, for example, be used to:

  • allow end users to flag comments as spam;
  • allow editors to flag which nodes should be listed on the front page or in the sidebar; and
  • allow logged-in users to flag other users as friends, to follow what they post to the website.

Flags are usually displayed as clickable links on nodes, comments or users. The Flag module integrates well with the Views and Rules modules.

When installing the Flag module, you get an example flag, bookmark, which logged-in users can use to make their own lists of articles on your site. (See figures 11.1 and 11.2)


Figure 11.1: Note the link bookmark at the bottom-right corner. This is a default flag provided by the Flag module.


Figure 11.2: Bookmarked articles are included in a list of bookmarks, unique to each user.

The initial version of this section of the Community Documentation came from the book Drupal 7: The Essentials, courtesy of NodeOne and Johan Falk.

AttachmentSize
10.1 bookmark.png95.9 KB
10.2 superadmin's bookmarks.png66.4 KB