I have played around a little with your source from tutorial 19 (and earlier version aswell) and have some questions and behaviors I would like to clear out:
First.. do I have any preformence, effective or security reasons or why should I use nagivagion in XML? For me it just look more complicated. My own setup will be: a public module and a admin module with both own layouts and menus.
So when i comment out/delete the nav-implemention in the bootstrip-file:
// $navContainerConfig = new Zend_Config_Xml(APPLICATION_PATH . '/configs/navigation.xml', 'nav');
// $navContainer = new Zend_Navigation($navContainerConfig);
//
// $view->navigation($navContainer)->setAcl($this->_acl)->setRole(Zend_Registry::get('role'));
A very strange behavior appears:
When I type in and open a controller/action that is not registered as a resource in LibraryACL.php the error "Resource 'admin:book' not found " will be printed, but not just that:
Also the controller/script data/view will be dispach and showed together with a double of the layout. See attach printscreen.
So this comes after I de-active the navigation.xml, because if the nagiation should be active but a controller/action is open without it's registered in the LibraryACL.php it will make a earlier error-message that also stop's the rest of page from prosecute.
How do I solve this, or should is stick with the navigation-idea? Then give me a good reasion

Again, thanks for good site and tutorials!
This image is hidden for guests. Please login or register to see it.