By ryan.nauman on
I'm looking to customize the menus built by theme_menu_tree so that more hierarchy information is captured. I need to support IE6 which does not respect CSS child selectors so I rely on descending only.
theme_menu_tree is pretty basic and is called recursively. Are there any customizations out there already to add things like level 1, level 2, level 3, and so on? A global or a static variable might help this but I wanted to check here first.
Comments
Well setting a global and
Well setting a global and trying to increment it doesn't work. It doesn't increment properly.
I've been looking for the
I've been looking for the exact same thing. Any help would be really appreciated.
Something that might be
Something that might be useful, although i haven't tried it :
http://thereisamoduleforthat.com/content/overriding-menu-item-themes