We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3785
    • 143 Posts
    Hello everyone!

    I need TVs that show up only for specific documents. My idea was to create a document group (in Manager > Security > Manager access permissions > Document groups) and assign the TV only to that group (in Manager > Resources > Manage Resources > Template Variables > $TV > Access permissions).

    However the TVs assigned to that specific document group still show up when editing other documents. I don’t know if this is a bug in MODx 0.9.5 or I misunderstood the concept?

    Is there a way to get document specific TVs?

    Thanks

    Bogdan
      Medianotions – Studio für Webdesign
      http://www.medianotions.de
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Considering that their full name is Template Variable, it follows that they are template-specific. It would be nice if documents could be grouped by categories (like other resources are now), and you could have Category Variables! Not to mention assigning templates by category. All in good time; the 0.9.7 core will make many things possible.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 3785
        • 143 Posts
        Hello Susan,

        Considering that their full name is Template Variable, it follows that they are template-specific.

        hm ... now that you say it. Of course I can create specific templates intead of specific document groups.

        Thank you for helping out a bloody MODx beginner smiley
          Medianotions – Studio für Webdesign
          http://www.medianotions.de
          • 7923
          • 4,213 Posts
          and you could also do a plugin what hides the fields on certain documents


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."