>>for the admin module i would show another navigation.
>>in my config file i have this line.
>>
>>'admin' => array(
>>       'resources'=>array(
>>           'navigation'=> array(
>>               'pages' => include dirname(__FILE__) .
>> '/admin.navigation.config.php'
>>         ),
>>       )
>>    ),
>>
>>but i get this error message
>>Fatal error: Uncaught exception 'Zend_Application_Bootstrap_Exception'
with message 'Resource >matching "view" not found' in
C:\xampp\htdocs\h\application\lib\Zend\Application\Bootstrap
>>\BootstrapAbstract.php:605 Stack trace: #0
C:\xampp\htdocs\h\application\lib\Zend\Application\Bootstrap
>>\BootstrapAbstract.php(540):
Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('view') 
>>#1
C:\xampp\htdocs\h\application\lib\Zend\Application\Bootstrap\BootstrapAbstract.php(497):
 
>>Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap('view') #2
C:\xampp\htdocs\h\application
>>\lib\Zend\Application\Resource\Navigation.php(98):
>Zend_Application_Bootstrap_BootstrapAbstract->bootstrap('view') #3
C:\xampp\htdocs\h\application
>>\lib\Zend\Application\Resource\Navigation.php(73):
>Zend_Application_Resource_Navigation->_storeHelper() #4
C:\xampp\htdocs\h\application\lib\Zend
>>\Application\Resource\Navigation.php(57):
Zend_Application_Resource_Navigation->store() #5 C:\xampp
>>\htdocs\h\application\lib\Zend\Application\Bootstrap\BootstrapAbstract in
C:\xampp\htdocs\h\application
>>\lib\Zend\Application\Bootstrap\BootstrapAbstract.php on line 605
>>
>>how can i show different navigations for per module?
>>
>when i add this into my config then it works:
>
>
>'admin' => array(
>      'resources'=>array(
>          'view'=> array(
>              'helperPath' => array(
>                  'My_Helper_View'        =>  LIB_PATH."/My/Helper/View/",
>                  'ZendX_JQuery_View_Helper'  => 
> LIB_PATH."/ZendX/JQuery/View/Helper"
>              )
>          ),
>          'navigation'=> array(
>              'pages' => include dirname(__FILE__) .
> '/admin.navigation.config.php'
>         ),
>      )
>    ),
>
>but so i have the same code (resource.view...)[bold] twice? is there a
another possibility to solve this >>problem?


I'd guess that is related to my issue
http://www.nabble.com/Zend_Navigation-and-Zend_Application-configs-td23635058.html
-- 
View this message in context: 
http://www.nabble.com/different-navigation-per-module-tp23613748p23637506.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to