As lznogood pointed out, are you setting the view in the boostrap class correctly?
It should look something like this:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
function _initView()
{
$view = new Zend_View($this->getOptions());
...
$view->headTitle($title);
$viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper(
'ViewRenderer'
);
$viewRenderer->setView($view);
return $view;
}
}
Another example can be found here .
source
share