Easy breadcrumb with CakePHP
03
June
1. First of all, make sure the controller use Html helper.
2. Add these to your view templates
<?php $html->addCrumb('Menu Level1', '/controller'); ?>
<?php $html->addCrumb('Menu Level2', '/controller/method'); ?>
<?= $html->getCrumbs(' > ','Home'); ?>
3. Refresh your browser
Tip :
If you are on the homepage that doesnt need trail breadcrumb, put these :
<?php $html->addCrumb('Home', '/'); ?>
<?= $html->getCrumbs(' > ',''); ?>

