I currently have 3 controllers, AdministratorController.php
, ResellerController.php
and ServiceProviderController.php
.
Each of these have their own actions and views. For instance, AdministratorController.php
has the views:
Each of these controllers' views will have exactly the same layout - the only difference in layout being different navigational menus.
So my question is, how I can configure different navigational menus for controllers, but using the same layout?
Many thanks
Personnaly, my navigation menu is stored in an XML file. When I create my "Zend_Navigation", I load only on part of my navigation menu like this :
Where "$controllerName" is a section of my "navigation.xml".
In your view:
Enjoy