Now that’s really simple! In your action method simply add this line:
$this->view->layout()->setLayout('embed');
Thus the code will look like so:
<?php class IndexController extends Zend_Controller_Action { public function indexAction() { $this->view->layout()->setLayout('embed'); // ... } }
Related posts:









