Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-27 Thread drj201
Thank you for your reply Matthew. I appreciate the time you give to the community. I have seen no reference to stack indexes in the reference guide before. I assume when registering a plugin with a stack index of 1 it is run before another plugin that has been registered with a stack index of

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-25 Thread drj201
Can someone please confirm if this is the expected behaviour please or simply if I am doing something wrong? Thanks. :) drj201 wrote: I have a front controller plugin to override the default behavior of Zend_Layout via Zend_Layout::startMvc like so: class

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-25 Thread Matthew Weier O'Phinney
-- drj201 [EMAIL PROTECTED] wrote (on Saturday, 25 October 2008, 06:48 AM -0700): Can someone please confirm if this is the expected behaviour please or simply if I am doing something wrong? Thanks. :) If you look at how Zend_Layout registers its plugin, you'll see that it uses a particular

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-20 Thread drj201
Thanks for the reply Goran. Appreciate it. I am glad it is not just me suffering this problem. Care to explain your problem and how you went about your workaround? More importantly can anyone confirm/deny that this is standard and/or expected behaviour. To confirm it seems that a redirect to the

Re: [fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-19 Thread Goran Juric
Uhh, had a same issue couple of days ago. My plugin was loading ALC resources in the predispatch, and anything that was redirected to the ErrorController tried to load the same resources twice. Don't know if this is the way it is supposed to be but I created a small workaround for my specific

[fw-general] Default behavior of Zend_Layout::startMvc and plugin use?

2008-10-17 Thread drj201
I have a front controller plugin to override the default behavior of Zend_Layout via Zend_Layout::startMvc like so: class MyApp_Layout_Controller_Plugin_Layout extends Zend_Layout_Controller_Plugin_Layout { public function preDispatch(Zend_Controller_Request_Abstract $request) {