Hi there, I have a site which on some pages will have a sidebar, some not. The sidebar div will have a background. If its empty, how can I hide it? Create a tv with html tag div? How would I hide it if empty? I prefer not to have different templates as sometimes the sidebar will be empty, sometimes it won’t and the end user won’t know enough to switch templates. I tried this call on the template, but the background is still showing even if empty...
<div id="sidebar" class="blue_trns">[[+sidebar:notempty='[[*sidebar]]!']]</div><!-- End sidebar -->
Probably something simple, but I can’t figure it out...
Any help appreciated...thanks!