Welcome Guest, Not a member yet? Register   Sign In
Routers
#1

[eluser]razerone[/eluser]
Hi in the route php in controller is there away that I do not have to add new rout every time I create a controller file.
#2

[eluser]jmadsen[/eluser]
that's the default behavior
#3

[eluser]razerone[/eluser]
Ok so if I have removed welcome.php and I have now controllers/common/header.php that is main one.

If I have controllers/common/footer.php and controllers/common/home.php would I still need to create new route each time. Or just replace the default route "welcome" with "common/header"
#4

[eluser]jmadsen[/eluser]
you don't write routes to view partials...I think you should give the beginning tutorial a go first, and prolly start posting some code
#5

[eluser]razerone[/eluser]
Thanks any way.

I am making my way through the tutorials now day by day. Watch a lot of you-tube videos on codeigniter also.




Theme © iAndrew 2016 - Forum software by © MyBB