i am trying to use $this->_forward($action,$controller); at my view, but i am getting this error:
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name '_forward' was not found in the registry; used paths: Zend_View_Helper_: Zend/View/Helper/;C:/Program Files (x86)/Zend/Apache2/htdocs/dentallab/application/modules/default/views\helpers/' in C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framework_1\1.12.3\library\Zend\Loader\PluginLoader.php:412
Stack trace:
#0 C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framework_1\1.12.3\library\Zend\View\Abstract.php(1182): Zend_Loader_PluginLoader->load('_forward')
#1 C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framework_1\1.12.3\library\Zend\View\Abstract.php(618): Zend_View_Abstract->_getPlugin('helper', '_forward')
#2 C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framework_1\1.12.3\library\Zend\View\Abstract.php(344): Zend_View_Abstract->getHelper('_forward')
#3 C:\Program Files (x86)\Zend\Apache2\htdocs\dentallab\application\modules\default\views\scripts\institucional\index.phtml in C:\Program Files (x86)\Zend\ZendServer\data\libraries\Zend_Framework_1\1.12.3\library\Zend\Controller\Plugin\Broker.php on line 336
if anyone can help me, i appreciate!
You can use
Action View Helper
for this situationin the view,
<?php echo $this->action('action', 'controller', 'module', array('param' => 10)); ?>
Here is the link to the ZF manual Action View Helper