Can i have multiple layouts in Zend Framework?
问题 I have a flashy page with image rotators in the front end for the clients. For back-end I want to have different layout. Can i have multiple layout? A little hint would be appreciable 回答1: I create a layout plugin, to switch layouts when a non-default module is called: class MyApplication_Layout_Controller_Plugin_Layout extends Zend_Layout_Controller_Plugin_Layout { public function preDispatch(Zend_Controller_Request_Abstract $request) { switch ($request->getModuleName()) { case 'admin':