Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
That's simple, use gallery/UID as the URL. So for user 1, gallery/1 will show all his albums. Since you want this to change depending on the user, add a new block, set it to only display on user/* pages. Then in the block's content, using PHP, output the link dynamically.
Comments
Comment #1
silviogutierrez commentedCould you please explain more?
Silvio
Comment #2
wallbay1 commentedwhat I meant is to have for example a link menu called photo
when you click on it you can see all the gallery of the other users like on facebook
Comment #3
silviogutierrez commentedThat's simple, use gallery/UID as the URL. So for user 1, gallery/1 will show all his albums. Since you want this to change depending on the user, add a new block, set it to only display on user/* pages. Then in the block's content, using PHP, output the link dynamically.
Silvio
Comment #4
wallbay1 commentedthanks silvio
i will try it
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.