XenForo Conditional statement in advertising

H

hqarrse

Guest
I'm trying to hideshow ads on certain parts of my site using conditional statements. Unfortunately the following doesn't seem to work so would be grateful for any thoughts?

Code:

Code:
<xf:if is="$template != 'forum_list'">

    <!-- advertising code -->
    
</xf:if>



Screenshot 2023-10-13 133016.png

Continue reading...