I'm trying to find a way to extend the menu view helper in order to make a
few changes to the way it handles ACL, but I cant seem to find a way to make
it use mine instead of the zend version.

I have the file located at Custom/View/Helper/Navigation/Menu.php under
library (class name 'Custom_View_Helper_Navigation_Menu')

I feel like I have tried every variation under the sun, but I cant seem to
get anything to make this work.

// from bootstrap

        $this->bootstrap('layout');
        $layout = $this->getResource('layout');
        $view = $layout->getView();

        $view->addHelperPath('Custom/View/Helper', 'Custom_View_Helper');

       
Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer')->setView($view);

Is there something I'm missing or am I just going about it all wrong?

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-can-I-extend-Zend-View-Helper-Navigation-Menu-tp3383587p3383587.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to