Hi All,
I’m trying to get a simple if / else going on in a template that checks whether one TV is set to 1 and if so displays the values of a couple more TV’s.
Some thing like if TV1="1" display "some html around TV2 and TV3" else display nothing
I’ve done something similar in ditto using PHX, but that doesn’t seem to be working in the template?
I thought PHP in a snippet would do the trick, but I’ve got no idea how to make it call the TV’s?
Any thoughts on what is the best way to approach this?
Cheers
Free
Thanks heaps Sharkbait, ChunkIf worked a treat!
Could also use PHx for this kind of conditionals...
Website: www.mercologia.com
MODX Revo Tutorials: www.modxperience.com
MODX Professional Partner