I don't know if there is a way in bootstrap, but you can create a
ParentController, which extends Zend_Controller_Acion, and your application
controllers extend ParentController.
In parentController's preDispatch hook, you can do:
public function preDispatch() {
if (Zend_Auth::getInstance()->hasIdentity()):
$this->_helper->layout->setLayout('layout2');
}
}
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Change-layout-in-bootstrap-tp3475680p3478403.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]