Re: [fw-general] Where to put my front controller plugin?

2009-03-05 Thread Dan Ballance
Thanks for helping me get that sorted folks. Can I just ask a related question: is the data persistent between dispatch loops? Ie if I set a flag in my front controller plugin the first time the loop runs,will I be able to check against it on the next iteration? My plan is to use the post dispatch

Re: [fw-general] Where to put my front controller plugin?

2009-03-04 Thread Shaun Farrell
Yeah that's where I have put mine too! I'm not sure if this is the right spot but seems to be the easiest and if located here it can be used in all modules if i am not mistaken. On a side note i have been looking around for a full app in ZF as a reference guide. It seems there are a ton of ways

RE: [fw-general] Where to put my front controller plugin?

2009-03-04 Thread Robert Castley
Hi, I put mine in my library directory ( library is on my include path). e.g. library -> JotBug -> Plugin -> Language.php The plugin then starts with : class JotBug_Plugin_Language extends Zend_Controller_Plugin_Abstract { From: Dan Ballance [mailto

Re: [fw-general] Where to put my front controller plugin?

2009-03-03 Thread Deanna Bonds
Dan Ballance wrote: Thanks, I'll give that a try. Do I then need to manually include that myself or will the framework automagically detect it there? The bootstrap file (also in the application directory) uses this code to register the Initializer require_once 'Initializer.php'; $frontCon

Re: [fw-general] Where to put my front controller plugin?

2009-03-03 Thread Dan Ballance
Thanks, I'll give that a try. Do I then need to manually include that myself or will the framework automagically detect it there? Many thanks for your help, Dan On 3 Mar 2009, 5:53 PM, "Deanna Bonds" wrote: Dan Ballance wrote: > > > Hiya folks,hopefully this will be a simple one. Have been goo