Return to Snippet

Revision: 32153
at September 19, 2010 20:40 by stolkchris


Initial Code
<?php

// THE HTML HELPER NEEDS TO BE ENABLED FOR THIS TO WORK!

print_r($html->_crumbs);

// USAGE EXAMPLE

foreach($html->_crumbs as $crumb){
    echo $html->link($crumb['0'],$crumb['1']);
}


?>

Initial URL

                                

Initial Description
If you're ever bothered by CakePHP's limited breadcrumbs support for displaying them use this to build your own!

Initial Title
Cakephp breadcrumbs

Initial Tags
php, html, cakephp

Initial Language
PHP