I'm using the N2 CMS and I'd like to create the dropdown javascript menu.
Only these two options come to my mind:
- Create a new page type which represents the dropdown menu.
- Recursively load all pages and dynamically generate the menu.
I guess that there is a much better solution but I could not find anything on the Internet.
Problems with these two options are:
If I choose option 1, than I can not control the access rights and published status.
If I choose the option 2, than I'll have many hits to database just to generate the menu.
Any help would be greatly appreciated!