Hi Márcio,
you can post issues if u like, ill keep an eye on this tread.
I came quite a way by making an 'unlimited' dynamic menu, but! along the way the customer didnt need an unlimited dynamic menu afterall so i stopped this thing because i didnt want to spend more time at it at this moment.
things i did to make it almost work:
- create a mysql table to hold menuitems, things like id, name, id for the master menuitem, active 0/1 to enable or disable items, description for the menuitem.
- some dynamic list and form wizard pages to manage the menuitems.
- the page where the menu should appear with a custom repeat region thing which displays the menuitems in the correct order and format.
- dynamic selecting menu's in the dynamic list detail page, the user has to choose the top level menu item and the menu shows the available items from the database.
Creating the page where the menu appears was most of the work because after getting all menuitems from the database it had to be sorted and filtered in the correct ways. But it did work pretty good so far.
Things i didnt solve yet were:
- when deleting an item, lower level items should be automaticly be deleted aswell. (or maybe the user should be able to choose to place them all under another existing menuitem)
- Some problems with displaying the menuitems/descriptions
A little example of the menu displaying page code can be found here: http://www.wicservices.nl/examples/menu.txt
I dont know if its of any use, it is not finished at all but maybe you can use it in some way.
Have fun,
Symvar
p.s.
this is the menu i came up with eventually, its really static haha but it does the trick for this project so im fine with it: http://www.homeplazabeverwijk.nl/index.php?page=producten