One of our ad units shows only in certain templates.
This if statement just isn't working, however:
It is wrapped around code in an Advertisement in the ads system.
Where might I be going wrong here?
This if statement just isn't working, however:
Code:
<xf:if is="in_array({$template}, ['category_view','search_form_post','search_form_profile','search_results'])">
code
</xf:if>
It is wrapped around code in an Advertisement in the ads system.
Where might I be going wrong here?