Check out admin routing.  Here are a few links to help get you
started.

Read about the "Routing.admin" configuration variable here:
http://manual.cakephp.org/view/44/cakephp-core-configuration-var

Read about the section on "prefix routing" here:
http://manual.cakephp.org/view/46/routes-configuration

Read a semi-dated but still pretty useful tutorial on admin routing
here:
http://www.jamesfairhurst.co.uk/posts/view/creating_an_admin_section_with_cakephp

On Jul 2, 7:21 pm, Rodrigo <[EMAIL PROTECTED]> wrote:
> Hi
> I'm new to cakephp and I've some newbie questions.
> I'm creating a cms for my own website.
>
> I have the admin controller located at site.com/admin, there I have
> many functions like add users, upload images, etc.
> I was using the admin_controller for each of that function but I think
> it will be better if I use a controller for each function. It's ok so
> far but, I want to access these functions in, for example, site.com/
> admin/upload or site.com/admin/edit/userName.
> However I can only access those functions by going to site.com/upload
> or site.com/edit/userName, I can't access through /admin/ because it's
> not part of admin_controller. My question is, is it possible to access
> these controllers by /admin/ ? How?
>
> Thanks,
> Rodrigo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to