1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Troubleshooting and Problems' started by Peace, Apr 27, 2016.

  1. Peace

    Peace 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?

  2. Peace

    Peace Active Member

Share This Page