On Fri, Feb 11, 2011 at 9:52 AM, gelform <[email protected]> wrote:
>
> I was able to create a plugin and get the messages, but I'm not sure how to
> send them to the view?
I suggest bootstrapping the view (if you're not already) and pulling it
statically from the bootstrap in your controller plugin:
$front = Zend_Controller_Front::getInstance();
$bootstrap = $front->getParam('bootstrap');
$view = $bootstrap->getResource('view');
If you're not bootstrapping the view, then $bootstrap->getResource('view') may
return null.. to fix that, add this line to your application.ini:
resources.view[] =
I hope this helps!
--
*Hector Virgen*
Sr. Web Developer
http://www.virgentech.com