Part 2: Rendering the sub menus (relevant to the active tab). This is where we employ another trick because the Zend_Navigation menu view helper does provide an option to render the active menu, but it is meant literally not the active branch of the menu like we’re trying to achieve. In the layout we need [...]
Posts Tagged ‘Zend_Navigation’
Zend_Navigation Tricks: True tab navigation with sub menus – Part 2
Posted: 16th August 2009 by Grant Perry in Zend FrameworkTags: sub menu, tab, Zend_Navigation
1
Zend_Navigation Tricks: True tab navigation with sub menus – Part 1
Posted: 16th August 2009 by Grant Perry in Zend FrameworkTags: navigation, tabs, Zend_Navigation
It is some what tricky with the Zend_Navigation menu helpers to set up your typical tab-based navigation with sub pages relevant to the tab your on, as seen below. But it’s not far difficult so don’t be put off, hopefully the view helpers will improve over time. In the mean time this is a 3 [...]
Zend_Navigation Trick: Sub pages only breadcrumb
Posted: 16th August 2009 by Grant Perry in Zend FrameworkTags: breadcrumb, breadcrumbs, home page, sub pages, Zend_Navigation, Zend_View_Helper_Navigation_Breadcrumbs
The most logical place to render your breadcrumb from is your master layout… However it’s unlikely you’ll ever want to render to on your home page right? I mean what is the point of seeing just “Home”. This can be simply achieved using a partial template to render your breadcrumb. The code below should explain [...]