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

Discussion in 'Media Gallery Support' started by m0n0L1th1c, Aug 5, 2016.

  1. m0n0L1th1c

    m0n0L1th1c New Member

    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.
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
     
  3. m0n0L1th1c

    m0n0L1th1c New Member

    That did it.

    Many thanks!

    M.
     

Share This Page