Help created a dynamic php menu via includes.
Posted on 2007-07-25
I have created a php real estate application, and i have the menu done in blocks with each block a seperate page and placed in the menu via includes. What i'd like to be able to do is have a page in the admin section that would allow the user to turn off/on blocks using a form. Is there any way to dynamically create a list of the available modules by the script getting the list from the includes/modules folder and then displaying the available ones in the admin section and also to display the active ones on the menu.
Also if possible there are some modules that should be displayed on the menu and other on the main page is there any way to seperate them and have the admin section decide where to place them.
Using php and mysql
Thanks in advance for any help.