We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18436
    • 135 Posts
    Hi guys, was trying a variation of the sidebar content control using checkboxes for my current project but couldn’t figure it out. Here’s the scenario:

    I have a monthly magazine site and each issue has three main tv’s that control the display of the master template and article listings, they are:

    » templatePath i.e "assets/templates/april2006"
    » articleID i.e. "38" doc ID of folder containing articles for the issue, this is used by Newslister and Dropmenu for listing and navigation
    » regularID i.e. "50" same as above

    What I am wanting to do is use a single master TV called issueMeta to control all three of those values by using a checkbox widget containing April 2006, May 2006 etc. checkboxes so that in parent folders I just tick the correct issue and the three other variables get set accordingly.

    The trouble I was having was adding multiple values to a single checkbox set, it differs from the example since simple chunk names were used, I also got stuck when trying to figure out a way to set other template variables based on the issueMeta master set, so how do I add an array as a checkbox value and how do I process the returned array to set other TV’s to the correct values?

    Please help! P.S. If possible I don’t want to set three master checkbox TV’s i.e. one for templatePath, articleID and regularID. I also can’t use what I term a global value because I have back issues available and the variable values are issue dependent.

    Thanks in advance.