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

XF 1.2 Hide Template Through CSS?

DRE

Well-known member
#3
I'm already trying to hide it with a template conditional. This is what I have right now.

<xen:if is="{$visitor.user_id}">

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

<xen:include template="boardlist2" /> </xen:if>

</xen:if>
 

Brogan

XenForo moderator
Staff member
#4
Just wrap the contents of the ad_above_content template in the conditional statement.

<xen:if is="{$contentTemplate} != 'template_name'">
ad_above_content here
</xen:if>