We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 35662
    • 12 Posts
    I’m using the latest MODx Revo install.

    I’ve got a rack of resources that need a new TV setting, I was hoping the default value would apply itself, saving me the job of going through each one. I was hoping to use the default value to filter results from a getresources block.

    Any ideas or is this a modx bug?
      • 3749
      • 24,544 Posts
      I thought so too at one time. The default value really only applies when creating a new resource or rendering a TV for a resource that has no value for that TV.

      If you set the TV value to @INHERIT and change the value of the TV in an ancestor (and save it), it should work.

      The Batcher extra will also let you change the value of a TV for all resources using a given template (see the Templates tab).
        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
        • 35662
        • 12 Posts
        Thanks BobRay, I’m going to try this today, looking like the best method out there at the mo. smiley