I have a fairly basic site design which includes a right hand column that contains 2 boxes that I want users to be able to edit.
The right hand boxes contain content that should be the same content on about 5 of the pages on the site.
The rest of the site will not have this right hand column.
So my question is about how you create a page field which displays the same content across multiple pages/templates without having to enter it more than once.
Is there some sort of global page field that can be used?
I think I am missing somethign quite basic so would be grateful if anybody could help out.
If you have a root page, you can define the content in that page, and then for all the sub-pages that need the boxes, drop the fields into the template, but make them recursive (there's a checkbox for this when you insert the macro via the template editor). This means that if they're not set on the current page, Umbraco will traverse back up the content tree until it finds a page that does have the content set.
Global page fields...???
I have a fairly basic site design which includes a right hand column that contains 2 boxes that I want users to be able to edit.
The right hand boxes contain content that should be the same content on about 5 of the pages on the site.
The rest of the site will not have this right hand column.
So my question is about how you create a page field which displays the same content across multiple pages/templates without having to enter it more than once.
Is there some sort of global page field that can be used?
I think I am missing somethign quite basic so would be grateful if anybody could help out.
Cheers
J
THis should have gone in a different section ... sorry ...
If you have a root page, you can define the content in that page, and then for all the sub-pages that need the boxes, drop the fields into the template, but make them recursive (there's a checkbox for this when you insert the macro via the template editor). This means that if they're not set on the current page, Umbraco will traverse back up the content tree until it finds a page that does have the content set.
Works a treat
thanks
J
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.