Closed (won't fix)
Project:
Genesis
Version:
6.x-1.2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2008 at 05:36 UTC
Updated:
19 Feb 2010 at 03:24 UTC
Would be great to add a checkbox to toggle the breadcrumb on and off in the theme settings page. I tried just deleting it in the sub-theme page.tpl.php, but its absence broke some pages.
Comments
Comment #1
Jeff Burnz commentedI am very reluctant to add any theme settings at all (it complicates things). I'll think about it a bit more.
If its breaking your theme then you need to look at your own CSS mods, no breadcrumb showing shouldn't make a lot of difference since its a full width DIV, not floated or anything.
A link to your test site would be good.
Comment #2
fred0 commentedDuh. Good point. Easy fix, add display none:
Comment #3
Jeff Burnz commentedGood o.
Comment #4
belong@mywebworkshop.com commentedI see you don't really want to do it, and I can certainly make it invisible using css, but this adds clutter and bandwidth in the file.
I tick box on the theme settings page would be tidier from an end code point of view.
Cheers
Miriam
Comment #5
Jeff Burnz commentedWell in fact its the opposite...
You can do something as simple as this in template.php to toggle the breadcrumb off:
Essentially 2 lines of code. You can go one step further and simply remove the breadcrumb code from page.tpl.php (you should ideally do both).
I'm changing this to wont fix, the idea of Genesis is that its a simple theme and I want to keep it that way, adding theme settings for base theme / sub themes is rather complicated affair (I also built Adaptivetheme which has more than 80 such settings, so I know all about this...).
I say your comments are the opposite because the amount of code required to add a toggle setting is a great deal more than this.
Comment #6
belong@mywebworkshop.com commentedThanks Jeff - I was thinking of the code being delivered in the user's browser.
I deleted from page.tpl.php.
We have a whole bunch of tick boxes for a theme - primary menu, logo, author displays, etc etc, so as a newbie that feels like a very fine (and simple) place to turn things on and off when it is simple on/off choice. I'll get used to dabbling in page.tpl.php eventually I guess.
Cheers
Miraim