rd_508hack_1012 and active navigation links

Locked
User avatar
janwin
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Thu Aug 25, 2005 8:21 pm
Location: Kiel

rd_508hack_1012 and active navigation links

Post by janwin » Fri Jul 13, 2007 9:02 am

Hi,
let me first start off with stating that I'm really happy that the rundigital 508 hack exists! Cool work.

I have a question, though, and I wonder if anyone can come up with a solution, possibly Angie or Robert themselves ;D

I'd love to see the mod_mainmenu functions not wrapping a link around the active navigation point,
or so to say: not generating self-referencing links.

I guess the template (mod_mainmenu.html) would have to be changed, but I am not sure if and how.

At the moment, the modded mainmenu generates stuff like:

[linktitle].
[linktitle].

while the one with the "chosen" class is the active page.

If you're aiming at BITV/bitv-test conformity, something like this would be better:

[linktitle].
[linktitle].

so that there is no link around the active page's navigation item, and hence there's no self-reference for the page, since
you're already ON that page and an additional redundant link is not needed/generates confusion.

I'd be happy to hear your thoughts on this!

Greets,
janwin

User avatar
rdeutz
Joomla! Explorer
Joomla! Explorer
Posts: 361
Joined: Thu Aug 18, 2005 6:50 am
Location: Germany - Aachen
Contact:

Re: rd_508hack_1012 and active navigation links

Post by rdeutz » Tue Jul 17, 2007 5:37 pm

janwin wrote:
I guess the template (mod_mainmenu.html) would have to be changed, but I am not sure if and how.
Yes, this is correct. This is a patTemplate. It is a little bit difficult, you have to change most of the template.

hope this helps a little bit
Best Regards, Robert
My Blog: http://www.robert-deutz.de - follow me on twitter @rdeutz
Professional Services for Joomla! http://rdbs.de - follow on twitter @rdbsnews


Locked

Return to “Design and Accessibility - Archived”