I have a top navigation and a side one
Home | Tours | Booking
Tour1
------
Tour2
------
Tour3
I show the side menu depending on a active top item. But sometimes when the side menu item is clicked I have to show that items children instead of the sidemenu. When no children exist I just show Children of a top menu depending on the active item. I an really having difficulties implementing that kind a logic and any help would be appreciated.
//Comment button is not working so I will add comments here After stumbling the zend navigation view helpers, I am coming to the point - Understanding the concept of how in zend V part of MVC is implemented can save someone who is new to the framework many hours. As said in the answer to this question - "Use what is available", thought first we have to know where to find what is already available out there - that is where comes handy to 开发者_开发技巧take a look at the concept of helpers and so forth.
You should check out examples #34 - 44, specifically #36.
精彩评论