PAGE_CONTAINER

You can use this code in the PAGE_CONTAINER template:

Code:
<xen:if is="{$contentTemplate} == 'forum_list'">

GALLERY CODE HERE

</xen:if>

This code will only display the gallery on the forum_list page. This is the name of the content template for the page. See this thread:

http://xenforo.com/community/threads/1-0-0-b1-how-to-identify-the-root-template-of-a-page.5591/

You can specify multiple pages like this:

Code:
<xen:if is="{$contentTemplate} == 'forum_list' OR {$contentTemplate} == 'forum_view' OR {$contentTemplate} == 'thread_view'">

GALLERY CODE HERE

</xen:if>
 
Top Bottom