Creating site wide static fields. Options
NickShepherd
Posted: Tuesday, October 02, 2007 10:26:12 PM
Rank: Newbie

Joined: 10/2/2007
Posts: 7
Hi, this is my first post on the umbraco forum so please bear with me.

I want to create a site wide static field that can be defined by the end CMS user on a single page in the Umbraco UI. This value will then be propergated throughout all the pages in the site.

Is there a built in way todo this or am I going to have todo it programmatically?

I am finding the documentation very thin on the ground is there anywhere else I can look other than this site?
Simm
Posted: Tuesday, October 02, 2007 10:39:23 PM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
Hi Nick!

If I understand your question correctly, you can use the attribute recursive=true for that purpose
fx. <?UMBRACO_GETITEM field="email" recursive="true"/>



Best Regards
Simon

Level 0 uncertified ;)
Simm
Posted: Tuesday, October 02, 2007 10:39:37 PM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
Hi Nick!

If I understand your question correctly, you can use the attribute recursive=true for that purpose
fx. <?UMBRACO_GETITEM field="email" recursive="true"/>



Best Regards
Simon

Level 0 uncertified ;)
Simm
Posted: Tuesday, October 02, 2007 10:39:52 PM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
Hi Nick!

If I understand your question correctly, you can use the attribute recursive=true for that purpose
fx. <?UMBRACO_GETITEM field="email" recursive="true"/>



Best Regards
Simon

Level 0 uncertified ;)
NickShepherd
Posted: Wednesday, October 03, 2007 12:40:21 AM
Rank: Newbie

Joined: 10/2/2007
Posts: 7
Thanks for the reply. I'll check it out.

Nick

BTW, very funny.
drobar
Posted: Wednesday, October 03, 2007 1:27:22 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Just in case you want more reading on the subject, there is a fairly lengthy discussion of the recursive property and how it could be used as you've mentioned, in this forum thread: http://forum.umbraco.org/misc/recursive-options-when-inserting-macro

cheers,
doug.

MVP 2007-2009 - Percipient Studios
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.