[development] displaying all menus regardless of access
Ashraf Amayreh
mistknight at gmail.com
Sun Jun 14 20:32:01 UTC 2009
Hello all,
I guess my question is pretty simple. I've run into a scenario where a site
wants all primary menu items to show up regardless of access rights. When a
user clicks on the menu item, he would get a message saying he needs to
register to see this page. Is this possible at all? I know that the primary
menu items disappear when they're inaccessible.
Thoughts?
I guess the 2nd part of the question is, my module for 5.x used to render
the complete menu (honoring menu access rights) to create a DHTML menu. But
now in Drupal 6 it seems there's no way to get inside collapsed menu items.
Am I missing something? How can I get the full tree rendered regardless of
its state (collapsed or not)?
Thanks!
--
Ashraf Amayreh
http://aamayreh.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090614/5278802d/attachment.htm>
More information about the development
mailing list