I see there on a node / child page twice the link to "home"

I tried to deactivate menus but they did not disappear

CommentFileSizeAuthor
doublebread.jpg10.77 KBblackened2012
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Cellar Door’s picture

Category: bug » support

In your subtheme settings you can disable the primary menu and/or breadcrumb from the layout. It looks like you are showing the breadcrumb and the menu which both have the link "home" in it. You can disable one or the other to get the duplicate to go away.

blackened2012’s picture

I think I already disabled the primary menu and the Home link there.

Also the both have the id "breadcrumb"

Upper one:
<div class="clearfix" id="breadcrumb"><ul class="breadcrumb"><li class="depth-1 odd first"><a href="/">Home</a></li><li class="depth-2 even last"><a class="active" href="/node/1">Coming soon</a></li></ul></div>

Lower one:
<div class="grid-12" id="breadcrumb"><h2 class="element-invisible">You are here</h2><div class="breadcrumb"><a href="/">Home</a></div></div>

blackened2012’s picture

bump need help with this

blackened2012’s picture

bump

does no one know a solution?

marcoka’s picture

do you use delta?

Cellar Door’s picture

Are you using Delta blocks? or any other block that would be placing the breadcrumb there? If you have a link to the site I'm sure we can find the reason in the source but I would suggest looking at your blocks etc. A delta block is different from the subtheme setting breadcrumb so using both would give you duplicates

blackened2012’s picture

Well I have delta installed but there are no blocks activated.

Right before the content there is always (omega?):

<div class="grid-12" id="breadcrumb"><h2 class="element-invisible">You are here</h2><div class="breadcrumb"><a href="/">Home</a></div></div>

Cellar Door’s picture

is that part of a block? or is that just wrapped in divs? It seems like you have a block and the templated breadcrumbs running. If you disable the breadcrumb in your settings does it change? If you want to hop in IRC or provide a link looking at the source I'd be able to tell you within minutes what's going on.

blackened2012’s picture

The integrated breadcrumb by omega (you are here) has some issues

The delta version is much better: home - node title

Had to comment out the breadcrumb from omega. So i fixed it.

alliax’s picture

I disabled the breadcrumb in the subtheme settings, and also have removed the breadcrumb block.
But still I have "Home" at the top of my site. And also this is not translated (it is a french site) although I have translated Home into its french equivalent, but it seems this Home link is hardcoded somewhere in the subtheme.

I'd like to remove it without touching the files of the subtheme because I'd like to keep everything untouched and simply manage my subtheme from the drupal interface.

Do you think it is possible to remove this Home link, I'd prefer to remove it rather than translate it, but if it isn't possible to remove it, do you think it is possible to translate it without touching the subtheme files?

alliax’s picture

I reply to myself because nobody told me the simple answer.. The HOME link was simply in the MENU / Primary.
I didn't know about that, not sure if it's Drupal 7 who does it, probably, but it was my first time installing a D7 site.

So all I had to do was to delete this menu's entry.