I asked the same question a month ago. Someone suggested using plugins.
I have nog tried this yet, but it looks like the way to go. The only
'problem' is that it's not really hierarchical, because you can only
separate your controllers into folders, not subfolders into that etc.
See
If it's simply a question of organizing your controllers into
subfolders, you can specify additional controller paths in your
app/bootstrap.php like this:
$controllerPaths = array(CONTROLLERS.subdir1.DS,
CONTROLLERS.subdir2.DS);
- You can do the same for models and views. The paths can point to
Hi,
Is possible to have hierarchical controllers like:
/admin/blog/edit/1 where admin is a folder with others controllers
related do the admin of the site.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
There is an admin routing feature you might want to look at
http://manual.cakephp.org/chapter/4 in section 4
It's a different way to do what you might be thinking about. And no I
do not believe that there is builtin support for hierarchical
controllers
Sam D
On 7/31/06, Neves [EMAIL
Plugins are an easy way to organize things too, a plugin is a mini,
self contained app
see http://manual.cakephp.org/chapter/13
Cheers,
AD7six
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To