I made a menu with zend_navigation, using an ini file. That work well. If I look at the code, i see that zend has added a class, to the ul element.
With a name that i use in my ini file. But now I want to add also a id to the ul element. How can I do this?
protected function _initNavigation()
{
$this->bootstrap('layout');
$layout = $this->getResource('layout');
$view = $layout->getView();
$iniOptions = array('allowModifications' => true);
$config = new Zend_Config_Ini(APPLICATION_PATH . '/configs/navigation.ini', 'nav', $iniOptions);
$config->id = 1;
$navigation = new Zend_Navigation($config->navigation);
$view->navigation($navigation);
}