Welcome Guest, Not a member yet? Register   Sign In
CMS best practice on CI
#10

[eluser]Felipe Deitos[/eluser]
I have read about routing in the user guide, and i guess that your examples dont make what i want...
hehehe I promisse that this is my last question.

What i actually want...
When the user access news(controller)/add(function)
I want url admin/news(controller)/add(function)

So in the url it will always seems that the user is inside the admin...
There anyway of doing this?

If there is no way of doing this routing... I wanna know if i can extend one controller from another?
Because in the admin controller there is the function called is_logged
And i will use this in all the other controllers... so it will be good if i can extend the admin controller instead of writting over and over again this function in every controller.


Messages In This Thread
CMS best practice on CI - by El Forum - 10-22-2012, 05:23 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:41 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:48 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:56 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:57 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 06:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:06 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:15 AM
CMS best practice on CI - by El Forum - 10-22-2012, 09:24 AM
CMS best practice on CI - by El Forum - 10-23-2012, 02:31 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:08 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:49 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:55 AM
CMS best practice on CI - by El Forum - 10-23-2012, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB