PLEASE anyone uses Zend_Navigation???
iceangel89 wrote: > > i have something like > > $reports = new Zend_Navigation_Page_Mvc(array( > 'label' => 'Reports', > 'module' => 'reports', > 'controller' => 'index', > 'action' => 'index' > )); > $misc = new Zend_Navigation_Page_Mvc(array( > 'label' => 'Misc', > 'module' => 'misc', > 'controller' => 'index', > 'action' => 'index' > )); > $media = new Zend_Navigation_Page_Mvc(array( > 'label' => 'Media', > 'module' => 'media', > 'controller' => 'index', > 'action' => 'index' > )); > $library = new Zend_Navigation_Page_Mvc(array( > 'label' => 'Library', > 'module' => 'library', > 'controller' => 'index', > 'action' => 'index', > 'pages' => array($libCategories) > )); > $lab = new Zend_Navigation_Page_Mvc(array( > 'label' => 'Lab', > 'module' => 'lab', > 'pages' => array($departments) > )); > $home = new Zend_Navigation_Page_Uri(array( > 'label' => 'Home', > 'module' => 'default', > 'controller' => 'index', > 'action' => 'index' > )); > > $nav = new Zend_Navigation(array( > array( > 'label' => 'IMS', > 'controller' => 'index', > 'action' => 'index', > 'pages' => array( > $home, $lab, $library, $media, $misc, $reports > ) > ) > )); > > but when i render my menu, home is always active... as in not a link. > -- View this message in context: http://www.nabble.com/Zend_Navigation-menu-active-page-not-working-...-tp23420914p23441456.html Sent from the Zend Framework mailing list archive at Nabble.com.
