Finalmente he podido hacer que me ejecutara la acción del menú primero.
Código PHP:
<?php
/**
* Application initialization plugin
*
* @uses Zend_Controller_Plugin_Abstract
*/
class Zend_Controller_Plugin_ActionSetup extends Zend_Controller_Plugin_Abstract
{
public function dispatchLoopStartup(Zend_Controller_Request_Abstract $request)
{
parent::dispatchLoopStartup($request);
$front = Zend_Controller_Front::getInstance();
if (!$front->hasPlugin('Zend_Controller_Plugin_ActionStack'))
{
$actionStack = new Zend_Controller_Plugin_ActionStack();
$front->registerPlugin($actionStack);
}
else
{
$actionStack = $front->getPlugin('Zend_Controller_Plugin_ActionStack');
}
$originalRequest = clone($request);
$request->setActionName('index');
$request->setControllerName('locationnav');
$request->setParam('controller', 'locationnav');
$request->setParam('action', 'index');
$actionStack->forward($request);
$actionStack->pushStack($originalRequest);
}
}
?>