I have a custom module that has three pages. I have added a module link pointing to main page with this code:
`
menuService.addSubMenu(topMenu=menuService.MODULES,name=“cbSeo”,label=“Seo”,href="#menuService.buildModuleLink(‘cbSeo’,‘main’)#");
`
It’s possible to add submenu to this pointing to other pages? I’ve tried with:
`
menuService.addSubMenu(topMenu=“cbSeo”,name=“cbSeoSettings”,label=“Settings”,href="#menuService.buildModuleLink(‘cbSeo’,‘settings’)#");
`
It should. That’s his all menus work.
Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
Can’t check right now. But will do in a bit
Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com
P/F: 1-888-557-8057
It’s my fault. This works:
menuService.addTopMenu(topMenu=menuService.MODULES,name=“cbDashy”,label=“Dashy”,href="##");
menuService.addSubMenu(topMenu=“cbDashy”,name=“adada”,label=“aaa”,href="#menuService.buildModuleLink(‘cbDashy’,‘main’)#");
However this will add menu not as child of general Modules menu, but on the same level of other sidebar menu…