I have a master template on my site that does not have a document type. It is just basic structure of the site including the top nav and a side nav etc along with a bodyConent area where the pages put their stuff.
However I have a requirment now to add a managable bit of text on the side nav that is in the master template. Something a content editor can edit.
What would be the best way add an editable property to a master template? Would I add document type it? Or is there a better way?
Is it a text that should stay the same on all pages on the website? I mean is it a general text?
I would probably add a new property on the "home/frontpage" document type and then create a macro to render the text, which would be placed on the master template in the sidebar section of your markup.
Add a document type to an existing template?
I have a master template on my site that does not have a document type. It is just basic structure of the site including the top nav and a side nav etc along with a bodyConent area where the pages put their stuff.
However I have a requirment now to add a managable bit of text on the side nav that is in the master template. Something a content editor can edit.
What would be the best way add an editable property to a master template? Would I add document type it? Or is there a better way?
Hi Brad
Is it a text that should stay the same on all pages on the website? I mean is it a general text?
I would probably add a new property on the "home/frontpage" document type and then create a macro to render the text, which would be placed on the master template in the sidebar section of your markup.
Hope this helps.
/Jan
Thanks Jan. That did the trick nicely.
is working on a reply...