Environment:
Modx 1.0.3
PHx 2.1.4
PHP version 5.1.6
I’ve noted a quirk with phX when used in a chunk template (In this case for use by Ditto)
The following statement will not work if it doesn’t also include the [+video+] TV in the output
This doesn’t work:
[+phx:if=`[+video+]`:ne=``:then=`<li>Video available</li>`:else=``+]
This works:
[+phx:if=`[+video+]`:ne=``:then=`<li title="Video available at [+video+]">Video available</li>`:else=``+]
Quirk? Bug?