In the Controller Action we can specify the view path then use helper to load view in the specified folder
class IndexController extends Zend_Controller_Action{
public function indexAction()
{
$this->view->setScriptPath(APPLICATION_PATH.'/modules/modulename/views/scripts/controllername');
$this->_helper->viewRenderer->setNeverController(true)->setRender('index');
}
}
I hope there is no default method like $this->_forward('module', 'controller', 'action')
class IndexController extends Zend_Controller_Action{
public function indexAction()
{
$this->view->setScriptPath(APPLICATION_PATH.'/modules/modulename/views/scripts/controllername');
$this->_helper->viewRenderer->setNeverController(true)->setRender('index');
}
}
I hope there is no default method like $this->_forward('module', 'controller', 'action')