Sorry for my basic English.
Is it possible to add a deeper submenu in plugin’s menu?
For example, I write a plugin “myPlugin”, it has 3 submenu “menu1, menu2,menu3”, and I want to add submenu (menu1-1,menu1-2) in menu1.
myPlugin-> {menu1->menu1-1,menu1-2; menu2; menu3}
[quote=vipsoft @ Aug 18 2009, 05:15 AM]It’s supported by the superfish library, but not implemented in Piwik.
Take a look at core/PluginsFunctions/Menu.php.[/quote]
Thank you, vipsoft, I have seen at the code in Menu.php, but I can not understand it well.
How and where I use it?
By hook ‘menu.add’? Or modify this script ‘Menu.php’?
I found that Piwik_AddMenu can only add one submenu in mainMenu. But I want to add submenu like this:
father-child1
-----------child1-1
------------child1-2
---------child2
------------child2-1
Can you give an example or some more detail? style_emoticons/<#EMO_DIR#>/smile.gif
Another small question: Is it possible to change the order of mainMenu?