Hi guys,
This is the first time I have tried using the if conditional in PHx. I am using the following peice of code inside a Ditto tpl chunk:
[+phx:if=`[*tvSiteStatus*]`:is=`Amber`:then=`{{amber}}`:else=`{{red}}`+]
The problem is that the ELSE chunk is always being pulled out even though "tvSiteStatus" is set to "Amber" in one of the resources.
"tvSiteStatus" is a dropdown list with the values: "Amber||Red" and nothing else set (like the widget.)
Any help would be much appreciated.