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

XF 1.5 <xen:if is="!{$contentTemplate} == 'xyz'"> not working ?

Hey there,
I was wondering why the following conditional statement wasn't working;

<xen:if is="!{$contentTemplate} == 'xyz'">
This content will show on the xyz template
Any idea ?


XenForo developer
Staff member
Is that "!" at the beginning intentional? If so, I don't think that's doing what you meant/intended. I guess you actually want the condition to be != ?