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

Last updated on
30 April 2025

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

If you want to setup a "user/%/bookmarks" tab on each user's profile page, these instructions are for you:

  1. Start a new view. (Make it a node-type view if you're flagging nodes; a user-type view if you're flagging users, etc.)
  2. As usual, pick a name, and possibly a description, for your view.
  3. Add a Page display.
  4. You may wish to style your view as a Table. Add the Node: Title field.
  5. Our tab needs a URL. Type user/%/bookmarks in the Path setting (You can replace the "bookmarks" word with whatever you wish).
  6. In the Menu setting choose "Menu tab" and type a short label into the Title
  7. Add the desired "Flags: Node flag" relationship (if you're flagging users, or comment, adjust accordingly). In this relationship settings form, choose by "Any user" to show all the flagged nodes (we'll filter them when we add the Argument).
  8. Add the "Flags: User" relationship.
  9. Add the "User: Uid" argument. In its "Relationship:" dropdown pick the "Flag user" relationship.
  10. You may want to type Bookmarks for %1 into the argument's Title box.

You're done.

Some refinements:

  1. You may want to type "This user hasn't bookmarked anything." into the Empty Text box.
  2. You may want to add the "Flags: Flagged time" field and let the user click-sort the table by it as well.

Help improve this page

Page status: Not set

You can: