Question about navigation behavior

I’m using this code as navigation of my site but there’s a slight flaw.
For example, when the page is one of the children of page ruby, r:here
won’t be active. Any ideas?

Raine Virta wrote:

I’m using this code as navigation of my site but there’s a slight flaw.
For example, when the page is one of the children of page ruby, r:here
won’t be active. Any ideas?

Selected will be active.


John L.
http://wiseheartdesign.com

John W. Long wrote:

John L.
http://wiseheartdesign.com


Radiant mailing list
[email protected]
http://lists.radiantcms.org/mailman/listinfo/radiant

It works, partially.
My index page is / and other pages are like /page/, so with current
settings index page’s and other page’s links are both selected when user
is in other page. Possible solution could be having /home/ or something
like that as default page, but how do I do that?

Raine Virta wrote:

It works, partially.
My index page is / and other pages are like /page/, so with current
settings index page’s and other page’s links are both selected when user
is in other page. Possible solution could be having /home/ or something
like that as default page, but how do I do that?

Right. That’s because the home page is the parent of the other pages. So
the home page will always be rendered with selected or here. For now the
best fix is to use two navigation tags. Something like this:


John L.
http://wiseheartdesign.com