Include page XML/XHTML Content from Pages chosen in Block Page Chooser

James's Avatar

James

12 Aug, 2010 01:39 PM

I have an XHTML/Data Definition Block with an associated Data Definition that includes a Page Chooser element. In the Block, when I choose a Page using the Page Chooser, then submit, and View XML, I can see that the page contents (xhtml) is rendered. However, if I now go ahead and choose this block in a page, the content is not rendered.

How can I have the entire block (including content) rendered in this page?

Note that if I view the Data Definition Block XML source and copy/paste into an standard XML block, then choose this standard XML block in the page, then everything (including the page content) is rendered properly.

Thanks.

*Cascade Server v6.7.1

  1. Support Staff 1 Posted by Tim on 12 Aug, 2010 02:04 PM

    Tim's Avatar

    Hi James,

    Are you attaching either a Velocity or XSLT Format to the region where you have this block attached? It sounds like you may just need to write a Format which will output the desired contents from the XML output of your Data Definition Block.

    If you have already done so and are still having problems, go ahead and attach the XML output (as a file) from your Data Definition Block along with the Format you've written to transform the content.

  2. 2 Posted by Penny on 12 Aug, 2010 04:15 PM

    Penny's Avatar

    I think the issue is with the Render Content Depth on your Page Chooser and/or Block Chooser. In your Data Definitions, go to the Block Chooser and Page Chooser fields and click the edit icon for the field. Then Click on the Advanced link. There will be a Render Content Depth field. Put in something like 10 and this should correct the issue. (Make sure you click Save and Submit)

    For the sake of not slowing down your system, after you get it working, you should lower this number back down from 10 to a lower number that allows you to get only the necessary depth. I usually start at 10 and work my way back to something like 3 generally does it for me (it all really depends on the groupings you have within your structured data).

  3. 3 Posted by James on 12 Aug, 2010 04:22 PM

    James's Avatar

    That fixed it. A Render Content Depth of 3 was required. Thanks Penny and Tim.

  4. Tim closed this discussion on 12 Aug, 2010 04:28 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM