Due to the way plugin controllers work with inheritance, you can only 
access the plugin's beforeFilter logic when the page is requested 
through the plugin (ie. /plugin/controller/action/)

 From what I can tell you want to execute plugin logic from your base app?

The proper way to do this is by creating a component inside your plugin, 
and adding it to your $components array inside app_controller. Look at 
the DebugKit plugin as an example of how this can be achieved.

Cheers,
Adam


adam wrote:
> How do I call the app_controller beforeFilter logic from a plugin?
> Such as plugin_name/plugin_name_app_controller from the app/
> app_controller.php?
> >
>
>    

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