[Radiant] Navigation - current page tree branch/section
Bartłomiej Rogóż
brogoz at gmail.com
Mon Jul 17 18:06:24 CDT 2006
Let's say I have a page hierarchy like this:
- about
- publications
- css
- webdesign
- contact
and I use navigation tag in order to produce top navigation like this:
<ul id="topmenu">
<r:navigation urls="About: /about; Publications: /publications; Contact:
/contact">
<r:normal><li><a href="<r:url />" ><r:title /></a></li></r:normal>
<r:here><li><a href="<r:url />" CLASS="CURRENT"><r:title
/></a></li></r:here>
</r:navigation>
</ul>
When I'm on 'css' page I would like to still have class='current' on
'publications' in order to inform my users in which page tree branch/section
they are..
Is there an easy way to achieve this using this tag (I mean
'navigation')? If not what would be the easiest way?
Thanks in advance for suggestions.
Bartek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060718/d42b0ab0/attachment.html
More information about the Radiant
mailing list