Site wide semi-static content Options
Spider
Posted: Wednesday, August 13, 2008 6:16:26 AM
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
kalpa
Posted: Wednesday, August 13, 2008 7:21:54 AM

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)
Spider
Posted: Wednesday, August 13, 2008 9:50:52 AM
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
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.