Haven't used Umbraco for a long time - never knew it very well in the first place! I have a site running Umbraco 4.5.2. It has a template with two editable fields and a bunch of content pages - all works well.
Now I need to add an editable field (for use by the client) that will be displayed on all pages. ie. Edit once - changes reflected on all pages.
So it's the equivalent of editing the template, except that it's for the client so they need a nice client-friendly way of doing it without access to the settings/developer sections.
I saw the same question asked here (http://our.umbraco.org/forum/templating/templates-and-document-types/22906-Global-Editable-Content) but honestly I didn't understand the answer well enough to know where to start.
Usually fields like that are placed on a settings node or on the root node of the website. I prefer making it on the root node since it's then easier to handle if you have a multi-language setup.
So I imagine you probably have a documenttype called something like "Frontpage", which has some tabs. I would create another tab called "Settings" and place the editable field there with a meaninfull label.
Now you just need to fetch that data using some XSLT or C# code. I can make up an XSLT example if you would like?
Global content, editable.
Hi
Haven't used Umbraco for a long time - never knew it very well in the first place! I have a site running Umbraco 4.5.2. It has a template with two editable fields and a bunch of content pages - all works well.
Now I need to add an editable field (for use by the client) that will be displayed on all pages. ie. Edit once - changes reflected on all pages.
So it's the equivalent of editing the template, except that it's for the client so they need a nice client-friendly way of doing it without access to the settings/developer sections.
I saw the same question asked here (http://our.umbraco.org/forum/templating/templates-and-document-types/22906-Global-Editable-Content) but honestly I didn't understand the answer well enough to know where to start.
Help appreciated!
Hi Danziq
Usually fields like that are placed on a settings node or on the root node of the website. I prefer making it on the root node since it's then easier to handle if you have a multi-language setup.
So I imagine you probably have a documenttype called something like "Frontpage", which has some tabs. I would create another tab called "Settings" and place the editable field there with a meaninfull label.
Now you just need to fetch that data using some XSLT or C# code. I can make up an XSLT example if you would like?
Hope this helps.
/Jan
is working on a reply...