Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I see there on a node / child page twice the link to "home"
I tried to deactivate menus but they did not disappear
Comment | File | Size | Author |
---|---|---|---|
doublebread.jpg | 10.77 KB | blackened2012 |
Comments
Comment #1
Cellar Door CreditAttribution: Cellar Door commentedIn 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.
Comment #2
blackened2012 CreditAttribution: blackened2012 commentedI 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>
Comment #3
blackened2012 CreditAttribution: blackened2012 commentedbump need help with this
Comment #4
blackened2012 CreditAttribution: blackened2012 commentedbump
does no one know a solution?
Comment #5
marcoka CreditAttribution: marcoka commenteddo you use delta?
Comment #6
Cellar Door CreditAttribution: Cellar Door commentedAre 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
Comment #7
blackened2012 CreditAttribution: blackened2012 commentedWell 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>
Comment #8
Cellar Door CreditAttribution: Cellar Door commentedis 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.
Comment #9
blackened2012 CreditAttribution: blackened2012 commentedThe 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.
Comment #11
alliax CreditAttribution: alliax commentedI 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?
Comment #12
alliax CreditAttribution: alliax commentedI 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.