2016-09-12, 07:17 PM
I want to check a variables value to do a if/else on the template editor but none of it seems to work.
I tried using this:
I tried the normal PHP if:
Does anyone know a way that works?
Cheers.
I tried using this:
<if {$memprofile['uid']} == 2 then><div>show this</div></if>
Didn't work.I tried the normal PHP if:
if ($memprofile['uid'] == 2) {
echo "show this";
}
But didn't work either.Does anyone know a way that works?
Cheers.