Hi, I’m using Revolution (latest release).
I’ve assigned a TV to my template, but in my template I wrap a div around it. with some margin/border etc.
<div id="foo">
[[*mytemplatevar]]
</div>
How can I adjust my TV to only show the wrapping DIV if the TV has been set?
The TV is an image. presumably I would put it in a chunk with some input/output filtering? but i couldn’t see an "isset" type function.
so in pseudo ~
if(isset($myTV)) {
return '<div id="foo"> . $myTV . '</div';
} else
// return nothing
}
thanks in advance.