Build a select list from folder contents
Posted: Mon Dec 03, 2007 3:18 pm
Hi Guys, I was wondering if you could help me.
I am trying to built a module based system. So far I have a modules folder which I would like to place php files. In the admin sections I would like to create a select list from the files contents which I can then select and activate the module. I would like to do it this way so that each time I add a module I do not have to add to the list it will automatically be added to the list which I can then activate.
Any help or code examples would be great.
Thank you,
John
I am trying to built a module based system. So far I have a modules folder which I would like to place php files. In the admin sections I would like to create a select list from the files contents which I can then select and activate the module. I would like to do it this way so that each time I add a module I do not have to add to the list it will automatically be added to the list which I can then activate.
Any help or code examples would be great.
Thank you,
John