Is there a way to have a separate admin section that doesn't use the
built-in CakePHP admin routing feature? I'd like to be able to set up
my site so there is a folder within controllers called admin, and I
can put all my admin specific controllers. That way I don't have to
have my admin code in my standard controllers and easily use a
separate admin layout. Something like this would be ideal:
Router::connect('/admin/:controller/:action/*', array('controller' =>
'admin/:controller'))
Then i can have:
/app
/controllers
/admin
posts_controller.php
users_controller.php
projects_controller.php
....etc
>From what I can tell this is not possible, and CakePHP will only look
in app/controllers for controllers. I feel this is a really clean
structure and way of separating the admin functionality.
Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---