Is there something out there that will let me load the content of one page on another page? So instead of saying [*content*] in the body of the html, i want to say something like [*page1_content*] and have it load the content on page1 instead of the content on the current page...
Any help would be awesome.
CHEERS!
Use a template variable and the @DOCUMENT binding.
Andy
worked like a charm ganeshXL, you da man!
You could use Ditto as well with &documents param
:-)
Quote from: Kev at Aug 22, 2007, 07:30 PM
Is there something out there that will let me load the content of one page on another page? So instead of saying [*content*] in the body of the html, i want to say something like [*page1_content*] and have it load the content on page1 instead of the content on the current page...
Any help would be awesome.
CHEERS!
You probably have a good reason for doing it that way but, if not, the easiest way to include the same content on multiple pages is to create a chunk to hold the content and include the chunk wherever you want it by inserting {{chunkName}} where you want it to appear.
Bob
So many ways to skin this cat - one of the great things about MODx; it’s flexibility.
Andy
Yes, they can with a hack. Look for one of my earliest postings - it was on that exact subject. That was with 0.9.2.1 but it might still work with 0.9.6.
Andy