TheBigK
Well-known member
I'm using following conditional to control advertisements -
I however want to avoid displaying advertisement when XF shows an error page. One of our members avoids displaying profile to guests and when a guest lands on this member's profile page, advertisement and message - This member limits who may view their full profile. appears.
I thought of adding a rule to avoid displaying ad on the error pages of XF. So I checked for the
<div id="content" class="">
The class is empty. What do I enter to avoid display ads on any of XF error pages?
Code:
<xen:if is="{$contentTemplate} != 'member_view' && {$contentTemplate} != 'register_form'">
I however want to avoid displaying advertisement when XF shows an error page. One of our members avoids displaying profile to guests and when a guest lands on this member's profile page, advertisement and message - This member limits who may view their full profile. appears.
I thought of adding a rule to avoid displaying ad on the error pages of XF. So I checked for the
<div id="content" class="">
The class is empty. What do I enter to avoid display ads on any of XF error pages?