Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
Just wondering, is that page "/node", or is it a taxonomy/category node list?
A breadcrumb trail containing only "Home" can appear on taxonomy/category pages if Drupal cannot figure how to construct the trail. This occurs when you're vocabulary is multi-hierarchal.
I don't see the problem at http://www.mangapunk.com/test/ (though I do in the screenshot), and I'm unable to replicate this problem myself...
The mangapunk.com/test default theme is xtemplate based, so you don't see the problem. The page in the screenshot is the index page of mangapunk.com/test with the USER-APPLIED theme Sands. I.e., you have to get an account and change the default them to see it.
Comments
Comment #1
Samat Jain commentedI'm not sure what you mean: the logic for the display of breadcrumbs is:
which only displays the bread crumb if Drupal tells it to (i.e. it is not theme specific).
Could you describe the problem in more detail? Provide a test site or a screenshot?
Comment #2
CrowChick commentedHere's a shot of the main page (it's in the subdirectory "test" right now):
http://www.mangapunk.com/screenie.gif
Notice the "Home" breadcrumb? What could be causing this? It did not happen with other PHPtemplates.
Comment #3
CrowChick commentedActually, wait, it DOES happen on other PHPtemplates. If no answer is forthcoming here, I shall take it up with PHPtemplate.
Comment #4
Samat Jain commentedJust wondering, is that page "/node", or is it a taxonomy/category node list?
A breadcrumb trail containing only "Home" can appear on taxonomy/category pages if Drupal cannot figure how to construct the trail. This occurs when you're vocabulary is multi-hierarchal.
I don't see the problem at http://www.mangapunk.com/test/ (though I do in the screenshot), and I'm unable to replicate this problem myself...
Comment #5
CrowChick commentedThe mangapunk.com/test default theme is xtemplate based, so you don't see the problem. The page in the screenshot is the index page of mangapunk.com/test with the USER-APPLIED theme Sands. I.e., you have to get an account and change the default them to see it.
Comment #6
CrowChick commentedI edited my page.tpl.php file thusly:
Where it said:
<?php if ($breadcrumb) print $breadcrumb; ?>
I replaced it with:
<?php if ($_GET["q"] == variable_get("site_frontpage",
"node")){}
else if ($breadcrumb) {print $breadcrumb;} ?>
It seems to work.
Comment #7
Samat Jain commentedGlad you got it fixed!
I still can't replicate this problem.. so I'm hesistant to add a fix for it.
Comment #8
milos.kroulik commentedThnaks, it still works for me after all these years.