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
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
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
connect('/admin', array('controller' => 'administrators', 'action'
=> 'dashboard', 'admin' => 'admin'));
Hope that helps,
Adam
- Original Message -----
From: "Leonard Teo"
To: "CakePHP"
Hi,
I'm an experienced PHP developer that's just started using Cake.
Apologies in advance if this is a n00bish question.
I've created several models, controllers and scaffolds but I would
like them all to reside in a /admin folder in the site structure.
E.g. Models
- Administrator
- Story
-