« Return to Thread: displaying all menus regardless of access

displaying all menus regardless of access

by Ashraf Amayreh :: Rate this Message:

Reply to Author | View in Thread

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

 « Return to Thread: displaying all menus regardless of access