We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5532
    • 251 Posts
    Hi There,

    I’m having trouble getting TV to Tab and hide TV Visable to work - and also having trouble understanding how you set up the rules.

    Using the example in the docs, I have a TV called "textbox_one" and want to move it to a tab called "tab-other", so I’m using the settings shown in the attachment:

    But it doesn’t seem to have any effect. I can create the tab-other no worries but can’t seem to move the TV to any tab.

    Any suggestions would be much appreciated.

    Cheers

      • 3749
      • 24,544 Posts
      You need to set the Value to tv plus the ID of the TV, not its name.

      To hide a TV with an ID of 1, for example, you’d set the Value to tv1.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 5532
        • 251 Posts
        Thanks for that, I don’t really understand what the ID of a template variable is but will look through the documentation again - I just used the same name that I would use when putting a TV into a template. i.e. [[*textbox_one]]

        Is the ID actually a number?
          • 5532
          • 251 Posts
          The ID of a Template Variable is the little number in brackets next to the TV in the document tree.