Hi!
I just remembered seeing this some months ago, now that I needed
something like it. Great snippet, thanks! ;)
Just one small comment... if someone wants to use this for CSS-
dropdowns (like me), just remove the if_ancestor_or_self-tags.
cheers, Simon
On Oct 17, 2008, at 18:44 , Man
Sure. Have a look at standard_tags.rb #667 and hack away.
Better yet, create a better_navigation extension and publish it on
Github so everybody else can use it as well.
Manuel
On Fri, Oct 17, 2008 at 6:58 PM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> Wow -- that's craziness. Wonder if it would b
Wow -- that's craziness. Wonder if it would be possible or advisable
to modify the navigation tag to be smarter as to what it highlights as
being the active link?
On Fri, Oct 17, 2008 at 8:44 AM, Manuel Meurer <[EMAIL PROTECTED]> wrote:
> I found the r:navigation tag become too limited to do that
I found the r:navigation tag become too limited to do that kind of stuff.
See below for an example of how to do your navigation "by hand".
activeinactive">Home
In the below case, I would want the About link to be highlighted,
since that's the closest match to the current page. Is there a good
way to do that?
Joe
On Thu, Oct 16, 2008 at 12:39 PM, Sean Cribbs <[EMAIL PROTECTED]> wrote:
> Yes. Use if you want exact matches. However, often I just break
Yes. Use if you want exact matches. However, often I just
break out the navigation special cases (Home is a typical one).
Sean
Joe Van Dyk wrote:
Say I'm on the page /about/page. Won't both the Home and the About
links have the 'selected' class specified? Since /about/page is
Say I'm on the page /about/page. Won't both the Home and the About
links have the 'selected' class specified? Since /about/page is a
child of both those pages?
Joe
___
Radiant mailing list
Post: Radiant@radiantcms.org
Search: http://radi