We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12151
    • 115 Posts
    Hi there,

    I have a template that has two areas for content. Area #1 contains dynamic content from various documents (done, no brainer). Area #2 needs to contain content but from another fixed ID document. The template will always display the content from one document in Area #2. How can I display the [*content*] of a specified document (by ID)?

    I would rather use a document to generate this content rather than a chunk as the final admin user of this site will prefer to only deal with documents to edit.

    if anyone can help i will be most grateful!

    thanks smiley

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      You could use a TV with @DOCUMENT binding.
        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
        • 33337
        • 3,975 Posts
        OR probably use getField snippet ... search for "getField" to find out more.
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 12151
          • 115 Posts
          many thanks, both work a treat smiley
            • 11975
            • 2,542 Posts
            You could also use ditto (2.0) with &documents param

            :-)
              Made with MODx : [url=http://www.copadel.com]copadel, fruits et l