How to setup a "bookmarks" tab on each user's profile page.
Last updated on
30 April 2025
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
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/$arg/bookmarks" tab on each user's profile page, these instructions are for you:
- Start a new view.
- As usual, pick a name, and possibly a description, for your view.
- Tick the Provide Page View checkbox.
- Our tab needs a URL. Type
user/$arg/bookmarksinto the URL box. (You can replace the "bookmarks" word with whatever you wish.) - Tick the Provide Menu checkbox.
- Tick the Provide Menu as Tab checkbox.
- Type a short label to appear on the tab, in the Menu Title box.
- Add the Flags 'xyz' for UID argument. The 'xyz' you'll replace with the name of the flag. In our case, for example, it's probably 'bookmarks' what you want.
- You may want to type
Bookmarks for %1into the argument's Title box.
You're done.
Some refinements:
- You may want to type "This user hasn't bookmarked anything." into the Empty Text box.
- You probably want to display the data as a table. For the type of the view, select Table. Then add some fields to this table; e.g., Node: Title, Node: Author Name, Node: Created Time.
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion