XF 1.5 Can't hide ads from Resource Manager using template conditionals


Active member
I have google ads in my ad_above_content template. However, I don't want these to display on individual resources (in RM), so I've nested the ads in this code:

<xen:if is="{$contentTemplate} != 'resource_view'">

It is not working, and still displaying on all pages. Am I missing something?

Works fine with forum_list, so I'm guessing this is something to do with the RM templates not being included in this conditional?