I have a site that currently has some text that needs to be changed every year.
What I'd like to do is to insert a data bound field where this text is, so that by updating the value in the database, the instance of the on all the pages updates.
Do I need to convert the pages using the static text to user controls (or macros), do I create a small macro or user control and insert that into the text flow, or s there some other way of achieving what I want.
thanks for the reply. I have found a few instances. So far the biggest culprit is a Date, and it recurs almost Quarterly, (But there is a manual process to decide exactly when the next quarter ends!.)
I appreciate that I might not be doing things the best way, but I feel that any improvement is worth making at this stage whilst I get to grips with this site, and Umbraco in general.
I'll look up dictionary items, unles you have any more advice or insights to offer :)
Swap static data for a variable
I have a site that currently has some text that needs to be changed every year.
What I'd like to do is to insert a data bound field where this text is, so that by updating the value in the database, the instance of the on all the pages updates.
Do I need to convert the pages using the static text to user controls (or macros), do I create a small macro or user control and insert that into the text flow, or s there some other way of achieving what I want.
Depends on the size of the data/complexity, you could just use a dictionary item to achieve this.
thanks for the reply. I have found a few instances. So far the biggest culprit is a Date, and it recurs almost Quarterly, (But there is a manual process to decide exactly when the next quarter ends!.)
I appreciate that I might not be doing things the best way, but I feel that any improvement is worth making at this stage whilst I get to grips with this site, and Umbraco in general.
I'll look up dictionary items, unles you have any more advice or insights to offer :)
Thanks
is working on a reply...