Pour toutes questions sur nos formations Drupal, n'hésitez pas à nous contacter.
Flag is a flexible flagging system that is completely customizable by the administrator. Using this module, the site administrator can provide any number of flags for nodes, comments, or users. Some possibilities include bookmarks, marking important, friends, or flag as offensive. With extensive views integration, you can create custom lists of popular content or keep tabs on important content.
Flags may be per-user, meaning that each user can mark an item individually, or global, meaning that the item is either marked or it is not marked, and any user who changes that changes it for everyone.
In this way, additional flags (similar to published and sticky) can be put on nodes, or other items, and dealt with by the system however the administration likes.
This was previously known as Views Bookmark.
Each flag provides data to the Views module, and provides a default view to list 'my bookmarks'. The default views are basic, but are easily tailored to whatever the system administrator would like them to do.
The module will come installed with a simple bookmark and two sample views for 'My bookmarks' both as a stand-alone page at "bookmarks", and a page for each user as a tab under their profile at user/x/bookmarks.
There are many modules that use or complement Flag. Some of them:
Note that most Flag add-on modules are not compatible with the 2.x version of Flag unless they explicitly state that they have been updated.
The next version of Flag is in the works, including the following additional features:
You should only use the 2.0 beta versions if you are creating a new site and absolutely require one of the above new features. After upgrading to the 2.0 version, you cannot downgrade to the 1.1 version. You can always upgrade from 1.1 to 2.0 at any time.
Written by Earl Miles, Nate Haug, and Mooffie.
#D7CX: I pledge that Flag will have a full Drupal 7 release on the day that Drupal 7 is released.