Is the child.aspx supposed to display some inherited values from the parent? What have you done to achieve this? Please show some template code and any (xslt) macros you've implemented.
From what you have posted, I am assuming that you want the information that is on your parent page to show up on your content page. What you can use is the 'recursive' property. When you select to insert a property in your template (the insert umbraco page field dialog), check the recursive property and it will show the parents information if there is none in the child.
Your other option is to create a xslt macro to get the right property but it is a little bit more complicated as it sounds like all you want is the recursive property.
Then, in your /parent/child.aspx page, it will pull "topLeftPanel" from parent.aspx if "topLeftPanel" does not exist or does not have a value in child.aspx.
Parent page content not rendering
Hey guys,
I'm quite new to umbraco, so I hope I've just missed something obvious.
Basically, I have page whose parent has three content fields. The parent template renders but the embedded content doesn't.
However, if I load up the parent page directly (".../parent.aspx" rather than ".../parent/child.aspx"), the content renders fine!
Am I going about this the wrong way or is this beyond the capabilities of umbraco or...?
Any help much appreciated :)
Is the child.aspx supposed to display some inherited values from the parent? What have you done to achieve this? Please show some template code and any (xslt) macros you've implemented.
/jesper
From what you have posted, I am assuming that you want the information that is on your parent page to show up on your content page. What you can use is the 'recursive' property. When you select to insert a property in your template (the insert umbraco page field dialog), check the recursive property and it will show the parents information if there is none in the child.
Your other option is to create a xslt macro to get the right property but it is a little bit more complicated as it sounds like all you want is the recursive property.
Jesper:
Parent:
topLeftPanel, bottomLeftPanel and SectionHeader are not rendering.
Child:
Thanks for the reply dude!
Seth,
That's exactly what I needed. Works fine now.
Thanks guys :)
Yeah, if you just make your fields for topLeftPanel, bottomLeftPanel, and SectionHeader as recursive then they will show up on the child page
So,
will become:
Then, in your /parent/child.aspx page, it will pull "topLeftPanel" from parent.aspx if "topLeftPanel" does not exist or does not have a value in child.aspx.
is working on a reply...