Closed (fixed)
Project:
Basic
Version:
7.x-2.0-rc3
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
26 Apr 2011 at 04:28 UTC
Updated:
6 May 2013 at 07:48 UTC
I am stumped as to how to get rid of breadcrumbs using basic in drupal 7. I have done everything - added the 'display:none' to every css file, altered the php in every way I could guess how, including deleting the entire 'breadcrumb' function, and NOTHING. I have no idea how to do this.
I can't find a single 'print breadcrumb' line in the whole theme. Why is this so difficult in drupal 7 compared to drupal 6? In any case, I lack good php understanding, so I think that's the main problem. But I've been searching for days and can find no way to do this. If anyone can drop some knowledge on me, I would be most grateful.
Comments
Comment #1
damiankloip commentedIf you remove the breadcrumb theme function in template.php it will just use drupal's core theme_breadcrumb function instead.
In page.tpl.php on line 53 is:
<?php print $breadcrumb; ?>Maybe you didn't look hard enough! I don't think it is any more difficult in D7, a few things are different. It just means getting used to them! Hope this helps.
I have written a module called disable breadcrumbs that may be of help to you also in this case. http://drupal.org/project/disable_breadcrumbs
Comment #2
damiankloip commentedClosing this as there is definitely a $breadcrumb variable. As described above.
Comment #3
damiankloip commentedComment #5
k8 commentedWhy not just zap via CSS:
#breadcrumb {
display: none;
}
Comment #6
haradhansharma commentedi m using garland in drupal 7.15, want to put superfish menu block in breadcumb area. how?
Comment #7
arsal_u1 commentedIts Very Simple to Hide Breadcrumbs, just write a simple module(you may get the coding of writing your very first module...from google)
now in init hook of that module place this coding:
$breadcrumb = array();
drupal_set_breadcrumb($breadcrumb);
this will set null value for breadcrumbs and you will no longer see any breadcrumb, Simple :)
Cheers!