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.
Could you add a setting to disable breadcrumbs? With a back button and home button in the header, i dont see the need for breadcrumbs on a mobile site but if there was a setting to turn on or off... that would be a simple yet helpful feature.
Comment | File | Size | Author |
---|---|---|---|
#2 | mobile_jquery-breadcrumbs-1306534-2.patch | 3.24 KB | jeffschuler |
Comments
Comment #1
jasonsavino CreditAttribution: jasonsavino commentedgood suggestion.
If you would like to patch it please feel free otherwise, I will work on it as soon as I can.
Comment #2
jeffschulerHere's a patch that makes a theme setting for enabling/disabling breadcrumbs.
Comment #3
jeffschulerPatch against 7.x-1.x-dev.
Comment #4
jeffschulerMore specific title.
Comment #5
jeffschuler[edit] removed, sorry.
Comment #6
jasonsavino CreditAttribution: jasonsavino commentedAfter much consideration I feel that, as with the back button issue, this is best kept out of the theme settings. It is recommended that you simply remove the breadcrumb code from the tpl.
Comment #7
quiptime CreditAttribution: quiptime commentedJason, if won't fix the last word?
If it is so, I must say it's a stupid decision.
Excuse me for my words. But, many themes use this UI feature (see patch #2). I can not see a rational reason, it makes Mobile jQuery Theme not the same.
Comment #8
jasonsavino CreditAttribution: jasonsavino commentedquiptime, you are entitled to your opinion. Though I must point out that many theme creators have, in fact, decided NOT to put that feature. As a matter of fact, the CORE themes do not use this feature. Instead, they default to letting the themer remove the breadcrumb variable from their code if desired. I am simply choosing to follow that pattern for the time being.
Comment #9
IrishGringo CreditAttribution: IrishGringo commentedActually... I just removed the Breadcrumbs, and I think the results are awsome. I vote for an admin setting to remove breeadcrumb
Comment #10
jhr CreditAttribution: jhr commentedSo just to recap why...
You are using Bartik and/or Seven as your peers for your MOBILE theme?
AND
a presumption that theme makers actually made a decision to NOT give this option (vs not thinking of it, or just getting their theme finished)
AND
that the best option (when you have a patch sitting right there) is for people to edit a .tpl.php file and remove a variable, that will continue to be calculated, and rendered, only to be null'd/removed later.
Comment #11
jamesJonas CreditAttribution: jamesJonas commentedHere is a module: Disable breadcrumbs. Seems to work great.
Disable Breadcrumbs
http://drupal.org/project/disable_breadcrumbs