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

Link Random Media title to Albums

Discussion in 'Media Gallery Support' started by Skylined, Mar 21, 2015.

  1. Skylined

    Skylined Active Member

    I would like to link Random Media's title to /media/albums instead of the default link to /media

    How may I change it?

  2. Chris D

    Chris D XenForo Developer Staff Member

    You would have to edit the template.

    Search for templates with a title containing "block".
  3. Skylined

    Skylined Active Member

    I think I found it, but I'm not sure what is it that I have to edit. :unsure:
  4. boban

    boban Well-Known Member

    Edit Template: xengallery_media_block


    <h3><a href="{xen:link xengallery}" class="blockTitle">{$blockPhrase}</a></h3>
    Replace with:

    <h3><a href="{xen:link xengallery/albums/}" class="blockTitle">{$blockPhrase}</a></h3>
    Last edited: Mar 21, 2015
    Skylined and Chris D like this.
  5. Skylined

    Skylined Active Member

    Thanks. :)

Share This Page