Without knowing exactly what files you have there, I can't really
solve the problem.

But, to make a plugin work, this is what you need:

A folder in plugins called whatever your plugin should 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 any plugin up 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 the plugin. At first I thought I had done something wrong
> in the plugin I 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 [email protected]
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