Hi I have a zend_navigation object that I instantiated from my bootstrap and
assign it to my view. In my layout.phtml, I simply echo the navigation and
it works perfectly. However, I am having difficulty in showing another 2nd
menu (specifically in my view) using partials. In my view I simply do this
"$this->navigation()->menu()->findBy()" to get a few pages but, I would like
to assign the pages to a partial script to render my menu. I realize by
calling
$this->navigation()->menu()->setPartial("drivervehicle/_menu.phtml"); method
and once in my partial script, I do a findBy() method call and then
recursiveIteratorIterator the result (pages)...it affects my menu in
layout.phtml and thus, renders the exact same menu in my view and in my
layout. Anyone knows how I can simply pass a few pages to a partial script
and render it without affecting my main menu in my layout.phtml?
Thanks,
Dean.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/rendering-2-menu-with-Zend-Navigation-1-using-partials-tp3262205p3262205.html
Sent from the Zend Framework mailing list archive at Nabble.com.