I don`t know, this could be maybe a simple question but I'm newbie using MODX the thing is that I want to show or hide some divs on my tamplate based on the values of my TV so I want to do someting like this
if (my_TV(is filled)) {
show my div
} else { hide my div; }
So my cuestion to you guys i'ts if there's any way to do that in my templates
Thanks for your attention and I really hope you can help me.
I think, thererfor I am! But what I am, and why...?
Quote from: okyanet at Feb 29, 2012, 03:11 AMOr...
[[*myTV:notempty=`<div>My Div</div>`]]
http://rtfm.modx.com/display/revolution20/Input+and+Output+Filters+(Output+Modifiers)
Nice. Thanks.
I think, thererfor I am! But what I am, and why...?