We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15404
    • 14 Posts
    HI, there any way to call a document with a document like calling for a chuck??? thanks
      • 3749
      • 24,544 Posts
      You can create a template variable using @DOCUMENT, which will pull in the content field of the other document.

      You can also use the getResourceField snippet, to do the same thing (probably faster and easier).

      If you need more fields from the other resource, you can used the getResources snippet.
        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
        • 15404
        • 14 Posts
        THANKSSSSSSSSS so much, if some one else read this please remember to use it like this [[getResourceField? &id=`2` &field=`content`]]