I have a question regarding TV’s. First off, let me say, that for the longest time I did not understand TV’s AT ALL. Then, when I did get it THE LIGHT CAME ON! WOW! TV’S are COOL!
Anyway, my problem.
I have a site that has a very basic sidebar. On a few pages I need to kill the sidebar, but I would like to use the same template for all the pages.
SO, I set up a TV named [*sidebar*]. I also created a chunk {{sidebartext}} that contains the sidebar code from the template. (which i replaced with [*sidebar*] )
I set up the TV like this:
input type: radio buttons
input option values: Include=={{sidebartext}}||Exclude==
default value: {{sidebartext}}
It works great! except....
When i select ’Exclude’ on a document, the sidebar is gone, (perfect) but I get the word ’Exclude’ on my page.
Here are some links to examples:
Sidebar:
http://throughmylensphotography.com/albums.html
No Sidebar:
http://throughmylensphotography.com/albums/floral_album_cart.html