[development] multiple menu support
karoly at negyesi.net
Wed Apr 18 22:54:10 UTC 2007
The way I imagine this.
a) hook_menus to define multiple menus.
b) menu_menus table to store 'em. (of course, hook_menu has an FK to this)
c) menu_rebuild gets renamed to _menu_rebuild and gets the menu name as
d) hook_menu also gets the name of menu as argument, returns the menu
items in that menu.
Piece of cake. Little code change required. You can program multiple menus
this way very easily.
More information about the development