We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35176
    • 193 Posts
    How can i put a conditional in my Template to conditionally hide the TV entry widget in the Document editor?

    thanks
      jealousy<>love
      • 33968
      • 863 Posts
      I don't think that's possible without modifying the manager code.

      What are you trying to achieve exactly? If this is related to your other thread it could be that you could accomplish this by just having different templates, each containing different TVs.
        • 3749
        • 24,544 Posts
        Depending on the condition, you may be able to do it with a Form Customization rule.

        You could, for example, hide it for specific templates -- though you could also do that just by not connecting that TV to those templates.

        You could also hide it from certain user groups if that would meet your needs.
          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