Hi,
I have no problems.
Bootstrap class:
$container = new Zend_Navigation(include APPLICATION_PATH .
'/configs/navigation.php');
Zend_Registry::set('Zend_Navigation', $container);
Layout script:
echo $this->navigation()->menu();
Can you show some more code, maybe on Github as Gist?
Kind regards,
Frank
Am 16.01.2013, 09:55 Uhr, schrieb scs <[email protected]>:
Hi,
I experienced the same/similar problem unfortunately. And I had to go
back to 1.11.x.
When I disable the _initNavigation function in Bootstrap, then it
works. But of course the menu disappears as a result.
Here is the lines from the function:
$navigationConfig = new Zend_Config_Xml(APPLICATION_PATH .
'/configs/navigation.'.CLIENT_NAME.'.xml', 'mainmenu');
$navigationContainer = new Zend_Navigation($navigationConfig);
If not commented the above two lines, I get the following error:
Fatal error: Zend_Loader_PluginLoader_Exception: Plugin by name 'Menu'
was not found in the registry; used paths:
My_View_Helper_: My/View/Helper/
ZendX_JQuery_View_Helper_: ZendX/JQuery/View/Helper/
Zend_View_Helper_:
Zend/View/Helper/:/var/www/xxxxx/application/views/helpers/:/var/www/xxxxx/application/modules/default/views/helpers/
in
/var/www/xxxxx/ZendFramework/1.12.0-minimal/library/Zend/View/Helper/Navigation/HelperAbstract.php
on line 580
Any suggesstions?
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]