TazDevilLooney
Active member
Code for dummies!
I'm trying to get this peice of code to work but cant get the template to save without an error.
I wish to set a NEW value to TRUE and use in a <xen:if> This is what i got...
<xen:set var="$myvar">true</xen:set>
<xen:if {$myvar}="true">
This is true!
<xen:else />
This is False!
<xen:if>
Something so simple but can't understand why.
I'm trying to get this peice of code to work but cant get the template to save without an error.
I wish to set a NEW value to TRUE and use in a <xen:if> This is what i got...
<xen:set var="$myvar">true</xen:set>
<xen:if {$myvar}="true">
This is true!
<xen:else />
This is False!
<xen:if>
Something so simple but can't understand why.