I was wondering the most efficient way to get the following effect.
Assume a namespace structure as follows:
start
america:start
usa:start
new.york:start
new.york.city
buffalo
albany
massachusetts:start
boston
lowell
cambridge
europe:start
spain:start
madrid
france:start
paris
lyon
nice
I'd like a navigation style header/footer with a link called 'Up' that links to the parent namespace, i.e.
[[..:]]
and a set of links to sub-names spaces.
So, on the
america:usa:start page the header would be,
Up new.york, massachusetts
(link to amercia:start)
So, on the
europe:start page the header would be,
Up spain, france
(link to :start)
So, on the
europe:france page the header would be,
Up
(link to europe:start) (no sub-namespaces, so blank)
Any ideas on how to achieve this?