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

XF 1.3 how can i hide ads in conversations and homepage of forum

jamalfree

Active member
#3
thanks brogan
i see those threads but i didnt look what i want, or i don't understand ....;)
anyone else can suggest a condition as vb
vb:if condition="THIS_SCRIPT != 'calendar'">Show this only on calendar.php</vb:if>
 

Brogan

XenForo moderator
Staff member
#4
How can I show content on a specific page?
<xen:if is="{$contentTemplate} == 'xyz'">
This content will show on the xyz template
</xen:if>
So to show content on the forum list is: <xen:if is="{$contentTemplate} == 'forum_list'">

To not show content on the forum list is: <xen:if is="!{$contentTemplate} == 'forum_list'">