DRE Well-known member Nov 1, 2013 #1 I need to hide my ad_above_content template from my XenMedio main page.
DRE Well-known member Nov 1, 2013 #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> Upvote 0 Downvote
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>
P Paul B XenForo moderator Staff member Nov 1, 2013 #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> Upvote 0 Downvote
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>