I'm trying to use the breadcrumb functionality of the Html Helper in a Cake php application to create a breadcrumb trail. I followed the way they said to do it on the manual (scroll all the way to the bottom to see it), but the problem I am facing is that, when the view is loaded via Ajax (by using jquery's .load() function for example), my breadcrumb is not displayed. I put this in my view:
<?php echo $this->Html->addCrumb('Users', '/users'); ?>
And this in my layout:
<?php echo $this->Html->getCrumbs(' >> ', 'Home'); ?>
But nothing is displayed. When the view is not loaded via Ajax, everything is fine. Can anybody tell me why this is happening please?
Thank you