Separate the admin php files |
[eluser]Alexander Radsby[/eluser]
I understand that it's pretty easy to make CodeIgniter show regular pages such as: http://www.yoursite.com/about-us/ But if I write a cms system to the site, how do I get the url to be: http://www.yoursite.com/admin/something? And is there any way I can separate the admin "controller/views/models" from the regular site "controller/views/models"?
[eluser]Pascal Kriete[/eluser]
What I believe he meant was a subdirectory in each of them. So you have controllers/admin models/admin and views/admin. But the better choice is modular seperation with Matchbox.
[eluser]Alexander Radsby[/eluser]
Thanks a lot for the fast reply! I didn't even know that it was possible to do it like this: controllers/admin/ I'll check out Matchbox. Thanks!
[eluser]BeingDefined[/eluser]
You can have more than one application under a single system. Thats how codeextinguisher does it. Not only is it clean, it also gives you the ability to write your own lib.
[eluser]setiawans[/eluser]
Use Matchbox, I have been building the newest project with it. Honestly i feel the different power of CI instead default configuration ,and i think the developers get things easier... |
Welcome Guest, Not a member yet? Register Sign In |