PC SOFT
Accueil
Nouveau contenu
How to create a dynamic menu? How to add an item to main menu?
RÉSOLU
Débuté par Alexander S, 07 aoû. 2012 12:33 - 2 réponses
http://hostimage.webdev.info/avatars/default.gif
Posté le 07 août 2012 - 12:33
Hello!
How to create a dynamic menu, based on an analysis for example?
Or how to add an item to main menu by program?

MenuAddMenu (Function) do not work >> This menu name must not correspond to a main menu. - this is from online help.

I need to make a dynamic menu on the every page on the basis of initial data.
http://hostimage.webdev.info/avatars/default.gif
Posté le 08 août 2012 - 01:13
Hi,

unfortunately the MenuAddMenu() does not work in webdev for main menus MAIN LEVEl, just for submenus.
So, if You want to build your menu dynamically you will have to find another solution.

I was working for past week on this. I also have posted a new THEME on this forum 2 days ago, where I did mention the DYNAMIC in webdev in some of most used cases, and missing support for dynamic approach, but it is still not approved by PcSoft.
Hope they are going to approve it.


When I'm
http://hostimage.webdev.info/avatars/oCBbh0kMhHGCZy6NNx6ZSA
Membre enregistré
5 messages
Posté le 08 août 2012 - 10:19
hi!
one idea that i have - this is build all the menu options at ones, and then to hide not necessary menus or options by program.