We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18206
    • 59 Posts
    Hiya,
    Quick question: I have a sidebar that contains a number of chunks based on selections in a checkbox TV. Right now I have two templates; one "single column" and one "1 col + sidebar". I’d like to consolidate this into one template, which isn’t very hard to do HTML and CSS wise.
    For both semantic and graphical reasons I want the sidebar excluded from the HTML output if no boxes are checked.

    I guess a snippet should solve this nicely. If there isn’t one, I’ll build one and hand it back to the community. All I need is a hint on how to check wether a TV is "set" or not.

    This topic ended up under the wrong section. I could’ve sworn I was in General, although I had several tabs open.. hm.
      • 5340
      • 1,624 Posts
      Try this.

      It’s a PHx solution.
        • 18206
        • 59 Posts
        Thank you, will try!