breadcrumbs not working as expected My menu looks like the following:

defs menu is linked to def view, fghs menu is linked to fgh view.

abcs | defs | fghs


Now when I click on defs, a view gets opened.
Now my breadcrumb is the following:  

Home &gt;&gt; defs &gt;&gt; def


def is the view. In this view there is a link to another view. When I click on this view, the breadcrumb is the following:

Home &gt;&gt; fghs &gt;&gt; fgh


But I want the breadcrumb in this format:

Home &gt;&gt; defs &gt;&gt; def &gt;&gt; fgh


How can I achieve this? I am using Bartik theme.

In the page.tpl.php file, I am using the code below:

&lt;?php if ($breadcrumb): ?&gt;
      &lt;?php print $breadcrumb ?&gt;&lt;?php if ($title != ""): ?&gt;&lt;div class="breadcrumb"&gt;&amp;raquo; &lt;?php print $title ?&gt;&lt;/div&gt;&lt;?php endif; ?&gt;
&lt;?php endif; ?&gt;
I suggest you use Custom breadcrumbs module for defining overriding breadcrumbs: it supports Token, which helps defining complex breadcrumbs (e.g. defining breadcrumbs from related taxonomy terms, etc.).

With this module, you can define custom breadcrumbs for the following entities: node, path, term, Views, vocabulary (on admin/structure/custom_breadcrumbs).
On admin/config/user-interface/custom-breadcrumbs, you can also set to append current page title by default too.

Its admin interface is really simple.



In your case, you should go to admin/structure/custom_breadcrumbs/views/add, set things like this (it's just an example):



Save, then go to admin/config/user-interface/custom-breadcrumbs, and check "Append page title", hit "Save configuration", ready.