I have configured my zend navigation menu like

Config: http://pastebin.com/B212uWKz

public function _initNavigation() {
  $config = new Zend_Config_Xml(APPLICATION_PATH .
'/configs/navigation.xml', 'nav');
  $navigation = new Zend_Navigation($config);

  $this->bootstrap('view');
  $view = $this->getResource('view');
  $view->navigation($navigation);
}

Layout

<!DOCTYPE HTML>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <title>Zend Navigation Test</title>
</head>
<body>
  <?php echo $this->navigation()->menu(); ?>
  <hr />
    <?php echo $this->navigation()->breadcrumbs(); ?>
  <hr />
  <?php echo $this->layout()->content; ?>
</body>
</html>

The menu works but not the breadbrumbs. I also tried from here

<?php echo $this->navigation()->breadcrumbs()
                              ->setLinkLast(false)
                              ->setMinDepth(0)
                              ->render(); ?>

Still only the menu works

-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Navigation-menu-works-but-not-breadcrumbs-tp3246881p3246881.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to