1. 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

Discussion in 'Media Gallery Support' started by Maxxamillion, May 15, 2016.

  1. Maxxamillion

    Maxxamillion Active Member

    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

    [​IMG]
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    xengallery_media_index most likely.

    The title comes from the <xen:title> tag and the description comes from the <xen:description> tag.
     
  3. Maxxamillion

    Maxxamillion Active Member

    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 ?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    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.
     

Share This Page