Tom Shaw-4 wrote:
> 
> I can't get the Zend_Navigation examples working found in the Zend_View
> Zend
> Helper section using the pages array found in "59.4.1.13.3 Navigation
> setup
> used in examples". The methods to create the container are pretty straight
> forward, in the view using the breadcrumbs method
> $this->navigation()->breadcrumbs() using both the __toString or the render
> calls do not output the single products link as the example shows. It
> seems
> like whatever method you use it always outputs the entire array.
> 

Is this what you want it to output (even though the active page is deeper
than the 'Products' page)?
/products Products 

In that case, call this in a view/layout:
<?php echo
$this->navigation()->breadcrumbs()->setMaxDepth(0)->setLinkLast(); ?>

        robinsk
-- 
View this message in context: 
http://www.nabble.com/Zend_Navigation-tp23065021p23065426.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to