Hello all im using this template system http://williamsconcepts.com/ci/codeigniter/libraries/template/index.html
but now i want to add a admin system to it, how would you do that?
make a map in controller/model and view calling "admin" but how can i then use the template system without conflicts :O?.
do you know a better way i will be glad if you will tell :)
Thanks a lot
Yes, you can create a view called
admin
and a controller calledadmin
; there will be no conflicts.Using a template library, you will want to do something like this:
In config/template.php
then in your admin controller: