To choose another layout file inside your controller all you need to do is call the layout helper like so:
Now the layout file is second.phtml
$this->_helper->layout->setLayout('second');
Now the layout file is second.phtml
No comments:
Post a Comment