Closed (fixed)
Project:
Menu Breadcrumb
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Nov 2009 at 13:02 UTC
Updated:
25 Feb 2012 at 16:51 UTC
I have links from the homepage to a support and links page. The issue I have is the menu will display the following : Home > Home > Links - instead of Home > Links
I realise that the 2nd home is the category the pages are linked to.
My question is :
How can I make it so the menu will not show the category if the category is the homepage but it will still show the category for the rest of the pages. So that the breadcrumb will only show Home > Links for pages linked to the homepage but will show the 2nd level for other pages like the about page etc.
Comments
Comment #1
xurizaemonI don't think that you really have duplicate links then, do you?
It sounds like one of them is labelled "Home" and points to the root of your Drupal site, the other is labelled "Home" and points to a category page. Is that right?
You could try handling this by implementing a custom function to override theme_breadcrumb() perhaps?
A Google search for this function returns a page from Pro Drupal Development on using the Drupal theme layer to do just this - how convenient for you :D
Comment #3
mesr01 commentedI'm aware that I'm reviving an old thread, but this may be useful information for the community.
I'm having the same issue with version 7.x-1.3. Some sites have a link in the main menu pointing to the home page. This link gets annoyingly duplicated by the breadcrumb system.
I came up with a patch that adds a new admin setting to remove the leading "Home" link in that case. It's for D7 however but it could easily be backported to D6.