Op Tuesday 26 May 2009 12:41:50 schreef skorp: > Hi, > for example i have a menu structure like this: > > -page1 > -page2 > --page2.1 > --page2.2 > -page3 > -page4 > --page4.1 > --page4.2 > > i want to show the childpages/subpages only when the page is active. > > for example. > page1 or page3 is active no child-subpages are displayed > > -page1 > -page2 > -page3 > -page4 > > when page2 or page4 is active the child-subpages from page2 or 4 are active > > page2: > > -page1 > -page2 > --page2.1 > --page2.2 > -page3 > -page4 > > how can i do this? > > i checked this http://pastie.org/435249 but it doesn't help.
Check the OnlyActiveBranch option for the view helper: http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.navigation.menu R, Jurian -- Jurian Sluiman Soflomo.com
