Using Flag with Views 2.x (Drupal 6)

This section provides recipes, tips, and tricks for using the Flag module with Views 2.x.

Our Views 2.x integration is powerful, but perhaps not as straightforward to use as the Views 1.x integration. Therefore, make sure to read "A short guide to using the Views integration" (it's the first link below).

A short guide to using the Views integration with the Flag module

When a user flags an item with the Flag Module, a record --or "information"-- is written somewhere in the database. To be able to do

Getting rid of duplicate rows

The "official" method to list items that are flagged by anybody (and not just by you) is to bring in the flag relationship and choose the

How to list content that is not flagged

Flags are usually used for marking content the user is interested in.

How to setup a "Who's bookmarked this" tab

Sometimes it is desired to add a tab to our node which will list all the users who bookmarked it (Or "favorited" it, or "hated" it, or

How to setup a "bookmarks" tab on each user's profile page

This module provides a default view, "My bookmarks". But it might be that you want to allow users to see other users' bookmarks.

How to setup a block showing the "top ten" users who flagged the most items (Views 2.x)

Showing the "top ten" flagged nodes is easy (see the "Counters" section in the guide). On the other hand, showing the "top ten" flagging

How to setup a block showing the "top ten" users who flagged the most items (Views 3.x)

Showing the "top ten" flagged nodes is easy (see the "Counters" section in the guide). On the other hand, showing the "top ten" flagging

Guide maintainers

mooffie's picture