I am trying to assign a class to a TV ot ’Rich Text’ type. There is no option for a class in there so I am wondering if it is possible to specify the class from my TV call?
[[*myTV ...something]]
Is this possible?
I do not want to place this call in a div as I do not want a div to appear if the TV is left empty.
-
☆ A M B ☆
- 894 Posts
I think you can do something along the lines of
[[*myTv ¬empty=`<div class="myclass">[[*myTv]]</div>`]]
I know you can do something like this not sure if this is the exact format though, but notEmpty will only display it if the TV is not empty.
Hope that gets you on the right track.