Birzat wrote
> Hi,
> 
> I would like to use the navigation but i have a problem :
> 
> I make :
*
> 'service_manager' => array(
>         'factories' => array(
>            'navigation' =>
> 'Zend\Navigation\Service\DefaultNavigationFactory',
>         ),
>     ),
> 'navigation' => array(
>         'default' => array(
>             'home'          => array('type' => 'mvc','route' =>
> 'home','active'=>false,'label' => 'Home','title' => 'Home'),
> 'contact'       => array('type' => 'mvc','route' =>
> 'contact','active'=>false,'label' => 'Contact','title' => 'Contact'),
>         ),
*
> 
> When i make in the layout :
*
> echo
> $this->navigation()->breadcrumbs('navigation')->setMinDepth(0)->setLinkLast(true)->render();
*
> 
> In the page "home" i get 
*
> Home
*
>  : it's normal
> But in the page "contact" i get 
*
> Contact
*
>  : but i must have 
*
> Home > Contact
*
To achieve that your contact link should be configured as a child of home
one.



-----
Cheers,
--
Luke Mierzwa
--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/ZF2-Navigation-breadcrumbs-tp4658086p4658089.html
Sent from the Zend Framework mailing list archive at Nabble.com.

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to