Jeesh I hate when you figure it out directly after posting. If you not
familiar with short open tags make sure your not testing

Your Zend_Navigation output in your layout like 

 

<?= 

$this->navigation()->menu()->renderMenu(null,array('maxDepth' => 0,
'ulClass' => 'tabmenu'));

$this->navigation()->menu()->renderSubMenu($this->navigation,array('maxDepth
' => 2, 'ulClass' => 'submenu'));

?>

 

But instead encapsulated.

 

<?= 

$this->navigation()->menu()->renderMenu(null,array('maxDepth' => 0,
'ulClass' => 'tabmenu'));

?>

 

<?=

$this->navigation()->menu()->setUlClass('submenu');

?>

 

Plus you can change the ul class at call time which obviously helps when
creating your style. 

 

<?=

$this->navigation()->menu()->renderSubMenu($this->navigation,array('maxDepth
' => 2, 'ulClass' => 'submenu'));

?>

 

With the introduction of Zend_Nav into the ZF you really can develop an
application in within a few minutes. Id like to see Zend_Tool implement it
in the future along with Zend_Application.

 

Hope this helps someone out.

 

Tom Shaw

[email protected]

Reply via email to