CodeIgniter Forums
Dynamic menu - controllers? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Dynamic menu - controllers? (/showthread.php?tid=18155)



Dynamic menu - controllers? - El Forum - 04-27-2009

[eluser]überfuzz[/eluser]
Hi!

Hope I'm not starting topics that allready exists. I couldn't find any with the search words I used.

I'm building a site where the menu is suppose to be dynamic. Admin-users is going to have the possibility to add and delete categories. Normally I'm going with one control to each category. Like: Home (controller - home.php) News (control news.php) etc. How do I approach this..?


Dynamic menu - controllers? - El Forum - 04-27-2009

[eluser]Dam1an[/eluser]
Although creating a dynamic menu is easy... I'm not sure what you plan on doing with the controllers...
You can hava PHP create the files, but they won't really have any content, and if you know the content in advance, then you'd just create them manually...