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

MG 1.1 How Do I Change Media Gallery Title on Forums Index Page?

#1
At the top of the index page of our forums, Xenforo Media Gallery is displaying a row of photos. That row is titled "New Media". I'd like to change it to something else, specifically one of the category names.

How do I do this? I'm assuming it's in one of the template files?

Thanks,

M.
 

Chris D

XenForo developer
Staff member
#2
Yeah, you can edit the xengallery_media_block_forum_list template for this.

Just change:
Code:
<xen:set var="$blockPhrase">
    <xen:if is="{$xenOptions.xengalleryRecentMediaOrder} == 'new'">
        {xen:phrase xengallery_new_media}
    <xen:else />
        {xen:phrase xengallery_random_media}
    </xen:if>
</xen:set>
To:
Code:
<xen:set var="$blockPhrase">
    Whatever title you want here...
</xen:set>
Alternatively you could edit the "New Media" phrase but that is used elsewhere so so the template edit is probably better.