The reference for this tag says:
Returns the content of the paragraphs on a given page.
It's only the pararaph content and not the paragraph setup it's outputting.
So what is the best way to actually return the whole page, as it is generated normally, with all the templates applied?
Developer forum
E-mail notifications
Global:Page.Content to return templated contents of the page?
Roman Sterlingov
Posted on 30/11/2011 22:09:23
Replies
David Matheson
Posted on 01/12/2011 15:54:30
Hi,
Hope this helps
regards
David
www.grublestova.no
The tags you have available:are
- Global:Page.Content(ID to page): Lists the content for a whole page
- Global:Paragraph.Content(ID to paragraph): Lists the contents for a single paragraph
Hope this helps
regards
David
www.grublestova.no
Roman Sterlingov
Posted on 01/12/2011 16:37:51
<quote>
Global:Page.Content(ID to page): Lists the content for a whole page
</quote>
It does not seem to do that. It returns all the contents of all the paragraphs of the page. It does not return the actual template of the page with paragraphs inserted into it, just the contents of paragraphs, simply concatenated... Unless I am doing it wrong? (I mean, is this the defined behavior?)
Global:Page.Content(ID to page): Lists the content for a whole page
</quote>
It does not seem to do that. It returns all the contents of all the paragraphs of the page. It does not return the actual template of the page with paragraphs inserted into it, just the contents of paragraphs, simply concatenated... Unless I am doing it wrong? (I mean, is this the defined behavior?)
David Matheson
Posted on 10/12/2011 15:07:11
Hi Roman,
Yes, it is the defined behaviour - it returns the contents, NOT the layout. As I wrote you will need a new Paragraph Template that includes your Global:Paragraph.Content tags. Alternatively, make your Paragraph Template and paragraphs global so that if you edit one, you edit all occurances of the paragraph.
regards
David
www.grublestova.no
You must be logged in to post in the forum