Change Default Layout when Using Zend Framework
June 3, 2010
Quick Tip: If you want to change the default layout script in your Zend Framework MVC application, you can do one of the following: // Within controller $this->_helper_layout->setLayout(‘other-layout’) //other-layout.phtml //Within view script layout()->setLayout(‘other-layout’); ?> Thanks to Andrew at the StackOverflow forums. –Adam
0