Is there anyone who can give me advise on which menu helper to use in this case?
I need to generate an <ul> nested tree menu which indicates (adds class="active") the current li AND all of its parents. I tried to do this with http://bakery.cakephp.org/articles/AD7six/2008/01/24/tree-helper-1 but when adding if (some logic) { $tree->addItemAttribute('class', 'active'); } as described in the documentation it seem to add it only to the first li and not to another one. I'm thinking of implementing https://github.com/AD7six/mi/blob/master/views/helpers/menu.php but because of the lack of documentation it's not clear to me: how to implement this, if it's necessary to use the whole 'mi'-plugin, and if it can do what I need? Does anyone have some experience on this who could help me out? Regards, Lucky1968 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
