I ran into this problem with plugins a while ago, but I have not seen
it fixed in the core yet.
http://groups.google.com/group/cake-php/browse_thread/thread/9b67a52dcdf4322/e78c27478c7274de?lnk=gst&q=Geoff+Ford+plugins&rnum=3#e78c27478c7274de

AD7six mentions some other trac tickets with patches in them relating
to plugins.

Geoff
--
http://lemoncake.wordpress.com

On Jul 5, 3:52 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I've just submitted a note to bug #2447.
>
> Essentially, the problem in the bug is that behaviors are not loaded
> in plugins. My answer is to bootstrap the plugin to alter the
> Configure instance to give it an additional behaviorsPath like so:
>
>  $path = Configure::getInstance();
>  $path->behaviorPaths[] = APP . 'plugins' . DS . 'plugin_name' . DS .
> 'models' . DS . 'behaviors' . DS;
>
> My question is, do people agree with this solution, and are the cake
> core guys working on doing this as part of the plugin infrastructure,
> or is that not where it belongs?
>
> I also thought I'd share it for any irritated plugin developers, who
> like me have wrested with this one for a while.
>
> simon


--~--~---------~--~----~------------~-------~--~----~
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