i have navigation in my module.config.php like below;
return array(
'navigation' => array(
'default' => array(
array(
'controller' => 'index',
'module'=>'default',
'action' => 'index',
'label' => 'Ana Sayfa',
'route' => '/',
'resource' => 'index',
'class' => 'anasayfa',
),
array(
'module'=>'default',
'controller' => 'konugoster',
'action' => 'index',
'label' => 'Konular',
'route' => '/konugoster',
'resource' => 'konugoster',
'class' => 'konular',
'pages' => array(
array(
'module'=>'default',
'controller' => 'konugoster',
'action' => 'index',
'label' => 'Konular',
'route' => '/konugoster',
'resource' => 'konu',
'privilege' => 'konu',
),
array(
'module'=>'default',
'controller' => 'konu',
'action' => 'index',
'label' => 'Konuları Düzenle',
'route' => '/konu/index',
'resource' => 'konu',
'privilege' => 'konu',
),
array(
'module'=>'default',
'controller' => 'konu',
'action' => 'add',
'label' => 'Konu Ekle',
'route' => '/konu/add',
'resource' => 'konu',
'privilege' => 'add',
),
),
),
)
)
i dont have any problem with rendering menu;
echo $this->navigation('navigation')->menu()->render();
but breadcrumbs isn't working. i don't hve any error. i think it returns
empty and i couldn't find reason.
echo $this->navigation()->breadcrumbs()->setMinDepth(0)->render();
i have try the solutions which are in the form but i couldn'solve please
help me?
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/ZF2-Breadcrumbs-not-showing-tp4662370.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]