TheBigK
Well-known member
I'm using following code to display adsense on specific pages -
It does the work, but is there a better or graceful way of passing too many conditions to "if"?
Code:
<xen:if is="{$contentTemplate} !== 'forum_list' AND {$contentTemplate} !== 'register_form' AND {$contentTemplate} !== 'EWRatendo_Monthly' AND {$contentTemplate} !== 'member_list' AND {$contentTemplate} !== 'online_list' AND {$contentTemplate} !== 'news_feed_page_global'">
It does the work, but is there a better or graceful way of passing too many conditions to "if"?