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

Wyvh

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

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

Any idea ?
Thanks.
 
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 != ?
 
Back
Top Bottom