Re: How to set up site structure with Admin folder and controllers?

2009-02-26 Thread Leonard Teo
HAH. Turned out that this was much easier than I thought. The correct terminology to search for was "Admin Routing" and "Prefix Routing". http://book.cakephp.org/view/544/Prefix-Routing Thanks guys! Leo --~--~-~--~~~---~--~~ You received this message because you

Re: How to set up site structure with Admin folder and controllers?

2009-02-26 Thread Smelly Eddie
The bakery and manual already talk extensively to admin routing, and they really could not make it simpler. I suggest you dig into the manual, and come back with a more focused question about this. On Feb 25, 1:48 pm, brian wrote: > On Wed, Feb 25, 2009 at 10:20 AM, Adam Royle wrote: > > > Hav

Re: How to set up site structure with Admin folder and controllers?

2009-02-25 Thread brian
On Wed, Feb 25, 2009 at 10:20 AM, Adam Royle wrote: > > Have you looked into admin routing? > > You'll just need to prefix your actions and your views with "admin_" to get > it to work (and enable it in app/core.php) > > And then set up a route for your admin homepage, which would point to > Admi

Re: How to set up site structure with Admin folder and controllers?

2009-02-25 Thread Adam Royle
Have you looked into admin routing? You'll just need to prefix your actions and your views with "admin_" to get it to work (and enable it in app/core.php) And then set up a route for your admin homepage, which would point to AdministratorsController::admin_dashboard() Router::connect('/admin'