@MarkGHErnst
Developer at Adwise Internetmarketing, the Netherlands.
Oh what I meant was, do the :if, :then, and :else conditional modifiers exist out of the box? Because I can’t find those in input and Output Filters Modx Revo docs.
Yes, they exists out of the box. Much like the other modifiers they use native code provided by MODx itself.
@MarkGHErnst
Developer at Adwise Internetmarketing, the Netherlands.
Aside from that, statements like:
[[*content:len:eq=`0`:then=`Empty`:else=`Not empty, duh.`]]
Have already been though of by MODx as so:
[[*content:notempty=`Not empty, duh.`]]
Only use those statements when you’re building something more complex like doing calculations for resizing layouts, table columns and others.
@MarkGHErnst
Developer at Adwise Internetmarketing, the Netherlands.
Thanks for the clarification. I was under the impression PHx was totally wiped off the face of Revo, and those conditional statements are useful for creating interesting visuals.