After playing around a bit more I'd say my second way would be preferable since it tricks methods like url() to use the "pretty" controller name. It seems to work fine for me so far.
on line 556 I have simply added an elseif. See the ticket or: if (App::import('Controller', $pluginPath . $controller)) { return $controller; }else if (App::import('Controller', $pluginPath . $pluginName . $controller)){ return $pluginName . $controller; } On May 15, 4:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I had a go at altering dispatcher.php to enable this functionality. It > is a bit of a mess but it does work for me using naming conventions > from the documentation. I have not been able to create a good test- > case for it. > > Also, you would probably need to change little things here and there > to make url() pick up on this and create urls that remove the plugins > name from the start of the controllers. I have not had time to get to > that. Maybe another day. > > You can find the ticket here with a diff-file attached, if you want to > give it a try yourself.https://trac.cakephp.org/ticket/4659 > > /Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---