Using the array found here
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers
.initial.navigation
// Create container from array
$container = new Zend_Navigation($this->initPages());
// Store the container in the proxy helper:
$view->getHelper('navigation')->setContainer($container);
The problems Im having are below.
$this->navigation()->menu()->setMaxDepth(0); This outputs all level zeros
successfully. No problems. Subsequent calls are where the problems arise.
$this->navigation()->menu()->render(null, array('maxDepth' => 0)); Is
supposed to avoid setting max depth in the helper instance but it pumping
out all nodes.
$this->navigation()->menu()->setMaxDepth(null); Has no effect after after
previously calling setMaxDepth(0)
$this->navigation()->menu()->renderSubMenu(); Will not render the sub menu
after the initial $this->navigation()->menu()->setMaxDepth(0); has been
made.
Thanks
Tom Shaw
[email protected]