We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28351
    • 4 Posts
    I would like to define a TV for a parent, so that all childen will inherit this tv (current and future children), but I don’t want the parent itself to use this TV.

    How can I accomplish that?


    Stalker
      • 18397
      • 3,250 Posts
      @INHERIT binding?
        • 28351
        • 4 Posts
        Yes, and how to define an @INHERIT binding without affecting the parent itself?
          • 25663 MODX Staff
          • 12,272 Posts
          Set the TV’s default value to be @INHERIT. For the parent, you must define the the value. You may need to create multiple templates, both with the TV assigned to it, but not having it actually in the parent template.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me