We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12685
    • 2 Posts
    Is it possible to use specific resource in template e.g. if I need to change some specific part of template but I don’t want editor to enter the template code. Thanks.
      • 22303 MODX Staff
      • 10,725 Posts
      Quote from: igascream at Jun 19, 2010, 04:27 PM

      Is it possible to use specific resource in template e.g. if I need to change some specific part of template but I don’t want editor to enter the template code. Thanks.
      Much better to use a Chunk or Template Variable for this purpose.
        • 28042 ☆ A M B ☆
        • 24,524 Posts
        To make things easier for editors, if you don’t want the value to be different for different pages and don’t want the editor users to be able to accidentally change the value for individual pages, you can use a TV with @DOCUMENT <id> binding, then the editor can edit the content of the specified resource to modify the TV’s value for all pages. You can use ManagerManager to hide the TV from the editor’s role.

          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
          • 12685
          • 2 Posts
          Exactly what I need thanks a lot.