Modular portal based on controller names?

#4
[eluser]xwero[/eluser]
[quote author="DanielJay" date="1200385603"]
I am planning on storing the controller names in a database table but need to find a clever way to save sub links. Does this make sense?[/quote]
When you are doing a directory loop you can read the controllers with the file function and extract the lines that have the word function in it. If the function is index/classname or is prefixed with an underscore you don't add them to the menu structure.


Messages In This Thread
Modular portal based on controller names? - by El Forum - 01-14-2008, 08:26 PM
Modular portal based on controller names? - by El Forum - 01-14-2008, 10:10 PM
Modular portal based on controller names? - by El Forum - 01-15-2008, 03:25 AM
Modular portal based on controller names? - by El Forum - 01-15-2008, 03:41 AM
Modular portal based on controller names? - by El Forum - 01-15-2008, 07:47 AM
Modular portal based on controller names? - by El Forum - 01-15-2008, 10:46 AM
Modular portal based on controller names? - by El Forum - 01-15-2008, 11:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.