By keanu007 on
I know this sounds elementary , but I am not sure how I should enable the Breadcrumbs.Is there a checkbox or somthing where I should click to get the Breadcrumbs...somehow I am not it getting it all.
Thank you
I know this sounds elementary , but I am not sure how I should enable the Breadcrumbs.Is there a checkbox or somthing where I should click to get the Breadcrumbs...somehow I am not it getting it all.
Thank you
Comments
bump--guys I am sure this is something simple
What do I do
Someone should have answered
Someone should have answered it a long time ago.
Recently, I also got stuck in the same problem and it took me some time before I found out that Breadcrumbs are enabled from Theme option pages of individual themes.
<?php print $breadcrumb; ?>
This option is not always provided in the theme option page AFAIK.
If this is the case, simply put the following line of code somewhere in the page.tpl.php of your theme-folder:
<?php print $breadcrumb; ?>Now flush the cache.
If that leads to no result or just a "Home"-link while you want a more extensive breadcrumb, put this code in the template.php file of your theme-folder:
Once this has been done, flush your cache once again and you should be ready to go.
There are modules out there which do the same job and offer extra options for breadcrumbs (e.g. Custom Breadcrumbs, Menu Breadcrumb and even Menu Trails provides a useful breadcrumb system).
How to enable Breadcrumbs
In your root folder : includes/theme.inc
change the function:
function theme_breadcrumb($breadcrumb) {
if (!empty($breadcrumb)) {
$title = drupal_get_title();
if (!empty($title)) {
$breadcrumb[] = ''. $title .'';
}
return '
';
}
}
This will help every body to display breadcrumb.
Secondary Menu
I was having the same problem, but when I went to the Theme settings page, the option for a Breadcrumb Menu wasn't there. After some experimentation, I found that the breadcrumb menu is called "Secondary Menu" in some themes, but its wrapper div is "breadcrumb" and it renders as a breadcrumb trail.