Rank: Newbie
Joined: 8/13/2008 Posts: 4 Location: New Zealand
|
Hi,
I would like to have some content (e.g. contact details) that appears on every page for a web site and I would also like to give the user the ability to update this content in only one location.
Does anyone have an idea on how to best achieve this?
Cheers Paul
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 492 Location: Göteborg, Sweden
|
Exactly this was discussed here the other week. Doug pointed out that he usually creates a hidden config node with that kind of content. Here it is: http://forum.umbraco.org/yaf_postst4731_Umbraco-Modular-Site.aspx// ;) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
Rank: Newbie
Joined: 8/13/2008 Posts: 4 Location: New Zealand
|
Perfect! Just what I was looking for.
I'm still getting to grips with XSL so ended up using: <xsl:variable name="source" select="$currentPage/ancestor-or-self::node [@nodeName='Home']"/>
and having a Config section on my home tab.
This did not work for me: <xsl:variable name="source" select="/macro/source/node"/>
But this will suit my purposes.
Cheers
|