[development] multiple menu support

Karoly Negyesi karoly at negyesi.net
Wed Apr 18 22:54:10 UTC 2007


Hi,

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  
argument
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.

Takers?

ChX


More information about the development mailing list