using subfolder in controller |
[eluser]Murali krishna[/eluser]
Hi, I am new to CI. I was trying to create an application in CI with Extjs with tab layout pages. I wanted to organize my file in folders i tried the examples (MY_Router.php) but i am getting 404 page not found. :down: can any one give me complete example how can i create a page in controllers & views using subfolder. Thanks and regards Murali krishna
[eluser]mohsin917[/eluser]
ya sure... Read this very basic and complete MVC (CI) Structure. http://net.tutsplus.com/tutorials/php/co...er-basics/
[eluser]Murali krishna[/eluser]
But Creating a subfolder inside controllers folder is not successfully. I was trying to create a huge application with CI and need the files to be organized. Kindly help. regards Murali krishna .L
[eluser]xeroblast[/eluser]
add this in your routes.php Code: $route['name_of_folder'] = 'name_of_folder/controller_name'; |
Welcome Guest, Not a member yet? Register Sign In |