Welcome Guest, Not a member yet? Register   Sign In
using subfolder in controller
#1

[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
#2

[eluser]mohsin917[/eluser]
ya sure... Read this very basic and complete MVC (CI) Structure.

http://net.tutsplus.com/tutorials/php/co...er-basics/
#3

[eluser]mohsin917[/eluser]
Also read CodeIgniter User Guide
#4

[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
#5

[eluser]xeroblast[/eluser]
add this in your routes.php

Code:
$route['name_of_folder'] = 'name_of_folder/controller_name';




Theme © iAndrew 2016 - Forum software by © MyBB