I am sure this is a simple single line, but I can not find it.
How can I use a different layout file for a specific action?
Update: This worked for me, thanks!
// Within controller $this->_helper->_layout->setLayout('other-layout') //other-layout.phtml //Within view script <?php $this->layout()->setLayout('other-layout'); ?>
php layout zend-framework zend-view zend-layout
Andrew Oct 23 '09 at 21:20 2009-10-23 21:20
source share