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

    do you know a way/snippet/anything that could enable me to include an other page’s content in a page I am editing?
    I’d like to reuse some parts of the site without cloning them. Usually I would use [[Redirect]], but this is no option at the moment as I have to control which template is used. So I need _only_ the page’s content in my new page...

    Thx in advance,

    Arne

    ps: I already took a look at the repository, but didn’t find an appropriate snippet. I think I am just lacking search phrases here, so sorry if I’ve just been to blind to find it... smiley
      • 22303 MODX Staff
      • 10,725 Posts
      There are probably several ways you could do this, but the first that comes to mind is using a Template Variable (TV) with the @DOCUMENT binding.
        • 18397
        • 3,250 Posts
        You could also use the getField snippet.
          • 2115
          • 10 Posts
          thank you for this, though i am using the getfield thing I’ve at least learned about TVs smiley