News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Wenbert Del Rosario's Blog:
Zend Framework Making the Built-in Breadcrumb Helper Work
May 28, 2009 @ 12:55:32

New on his blog today Wenbert Del Rosario has posted a tutorial about getting the Zend_Navigation helper to work in your application and correctly handle making/updating breadcrumbs as you navigate around the site.

In the latest release of Zend Framework (1.8.1 as of this writing), there is a new built-in view helper to render your breadcrumb needs. There is a section in the documentation that tells us how to use it. But I got a little confused when I tried to make it work. So, here is a short example on how I made my breadcrumbs work using the new breadcrumb view helper from Zend Framework.

He includes the code to create the breadcrumb trail - making a Zend_Navigation container and defining the structure of the site inside. Displaying the correct links is then just a call to the breadcrumbs() method on the object (with the ability to set depth and to set the last item in the list as a link or not).

0 comments voice your opinion now!
tutorial breadcrumb zendnavigation


blog comments powered by Disqus

Similar Posts

Inviqa techPortal: Functionally Testing You Application Using Mink

PseudoCoder.com: How To Really Use Xdebug To Speed Up Your App

Matthew Leverton\'s Blog: How to add a custom CAPTCHA to phpBB2

Madarco's DevBlog: Using Zend_Tool in Eclipse

Fabien Potencier's Blog: Create your own framework... on top of the Symfony2 Components (part 11)


Community Events











Don't see your event here?
Let us know!


performance hhvm podcast application unittest composer series database framework hack component symfony2 introduction release install package facebook security opinion language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework