Thanks Stephen, I found the problem. Apparently you need to have a
default controller in the plugin, at least I do on my system. Plugins
without default controllers just do not work. I'm not sure why seeing
how I haven't seen anything that states you need to have one.

Rob

On Apr 15, 4:34 am, Stephen Orr <[EMAIL PROTECTED]> wrote:
> Without knowing exactly what files you have there, I can't really
> solve theproblem.
>
> But, to make apluginwork, this is what you need:
>
> A folder in plugins called whatever yourpluginshould be called
> (hereafter referred to as $plugin).
>
> Within that folder, 2 files - $plugin_app_controller.php and
> $plugin_app_model.php
>
> These 2 should follow the below pattern:
>
> class PluginAppController extends AppController {
>
> }
>
> class PluginAppModel extends AppModel {
>
> }
>
> Also within that folder, 3 more folders - controllers, models, views.
>
> Within the controllers folder - $plugin_controller.php.
>
> class PluginController extends PluginAppController {
>    var $name = '$plugin';
>
> }
>
> This should be enough to get anypluginup and running - if it doesn't
> contain these files, it probably won't work.
>
> Steve
>
> On Apr 15, 2:18 am, [EMAIL PROTECTED] wrote:
>
> > I'm having problems getting plugins to work in my app. I keep getting
> > missing controller errors as cake is tying to access a controller with
> > the name of theplugin. At first I thought I had done something wrong
> > in thepluginI was creating but the problems are there with all of
> > the plugins that I've downloaded and tried to get to work. Is there
> > something I have to do to enable plugins or something?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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