1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Trying to link to gallery/users/$user_id/albums from navigation_visitor_tab

Discussion in 'Media Gallery Support' started by imthebest, Nov 20, 2014.

  1. imthebest

    imthebest Formerly Super120

    I'm trying to add a link labeled "My media" or something like that on the navigation_visitor_tab template.

    I have been trying with no luck:

    <a href="{xen:link xengallery/users/albums, $user}">My media</a>
    <a href="{xen:link xengallery/users/$user/albums}">My media</a>
    <a href="{xen:link xengallery/users/albums, $user, '$user={$visitor.user_id}'}">

    I give up... any idea please? Thanks!
  2. Chris D

    Chris D XenForo Developer Staff Member

    <a href="{xen:link xengallery/users/albums, $visitor}">My albums</a>
    <a href="{xen:link xengallery/users, $visitor}">My media</a>
    imthebest likes this.

Share This Page