[development] Question on hook_menu in cvs.
gerhard at killesreiter.de
Wed Sep 20 19:22:36 UTC 2006
Metzler, David wrote:
> So that means that you simply cannot create or reposition, or make
> optional any menus that have logic in them? (which therefore cannot be
The conclusion is invalid. :p
> What I'm ultimately reaching for is to be able to have a menu item only
> appear if the user is not logged in, and give the site administrator the
> ability to attach this menu to primary links, etc.
> Am I thinking about this problem wrong? Is there another way to achieve
> the same functionality?
Yes, there is: Look at the "user" path and how it is handled.
More information about the development