Manage common content on a master template in one global property
I want to be able to manage content of a master template in one place.
For example I have a master template with a footer that is the same on every page. Now I want to be able to change this footer content in one place, and then for it to update every page which uses the master template.
Currently I have a "footerContent" property in each document type that uses the master template which means the footer can now be edited, however, the footer content can vary from page to page.
Is there a way to edit a master template property in a more global way?
An approach to manage the footer content in just one global place could be to add a settings/footer tab to your homepage document type with a field for your footer content for instance. You could also make a settings document type for it if that makes sense to your users and the way you have setup the backoffice.
Then you can tell XSLT/Razor to fetch the footer content from there rather than on each document.
I am trying to accomplish the same as Robert Cartlidge.
Sorry but don't get the solution that Jan Skovgaard comes with.
I am missing some details to understand how, could someone explain it in more details?
I know about document types and all the basic stuff in Umbraco, but I have only played with Umbraco for a week now (I like Umbraco so far), so I am not that experienced.
Manage common content on a master template in one global property
I want to be able to manage content of a master template in one place.
For example I have a master template with a footer that is the same on every page. Now I want to be able to change this footer content in one place, and then for it to update every page which uses the master template.
Currently I have a "footerContent" property in each document type that uses the master template which means the footer can now be edited, however, the footer content can vary from page to page.
Is there a way to edit a master template property in a more global way?
Thank you.
Hi Robert
An approach to manage the footer content in just one global place could be to add a settings/footer tab to your homepage document type with a field for your footer content for instance. You could also make a settings document type for it if that makes sense to your users and the way you have setup the backoffice.
Then you can tell XSLT/Razor to fetch the footer content from there rather than on each document.
I hope this makes sense.
/Jan
Great that's just what I was looking for.
Hi Robert
Pleased to hear that - Hope you enjoy doing Umbraco :)
Have a nice evening.
/Jan
I am trying to accomplish the same as Robert Cartlidge. Sorry but don't get the solution that Jan Skovgaard comes with. I am missing some details to understand how, could someone explain it in more details?
I know about document types and all the basic stuff in Umbraco, but I have only played with Umbraco for a week now (I like Umbraco so far), so I am not that experienced.
/ The new kid in class
is working on a reply...