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

MG 1.1 Template Edit

#1
What template do i need to look for to add in additional text to the main home page of the media gallery? Would like to add some additional text where the red box is to this page if possible please

 

Chris D

XenForo developer
Staff member
#2
xengallery_media_index most likely.

The title comes from the <xen:title> tag and the description comes from the <xen:description> tag.
 
#3
xengallery_media_index most likely.

The title comes from the <xen:title> tag and the description comes from the <xen:description> tag.
Why is it when i add
Code:
<xen:if is="!{xen:helper ismemberof, $visitor, 7,13} AND {$forum.node_id} == 51">
<div class="alert-info">
  <b>To post in this section, you require a minimum of 15 posts & 24 hour membership.</b>
</div>
</xen:if>
it does not show up under the description ?
 

Chris D

XenForo developer
Staff member
#4
You may have more luck with xengallery_wrapper_media_home but even so, it may not be the ideal location.

Aside from that, the code wouldn't work because the gallery wouldn't understand the {$forum} variable you're using in that conditional, but you may have addressed that already.