Hi - I'm hoping to get some help here. I have a Zen subtheme "ets", from which I've created several sub-subthemes, one named "classrooms" (so "classrooms" is really a subtheme of "ets", which is a subtheme of "zen"). This is all working very well, except for breadcrumbs. The breadcrumbs show in the "ets" subtheme, but not in any of my sub-subthemes. Can someone tell me how to do this?
Below is the .info file of one of my sub-subthemes, in case that would be helpful:
name = Classrooms
description = Classroooms subtheme
core = 6.x
base theme = ets
stylesheets[all][] = classrooms.css
regions[left] = left sidebar
regions[right] = right sidebar
regions[navbar] = navigation bar
regions[content_top] = content top
regions[content_bottom] = content bottom
regions[header] = header
regions[footer] = footer
regions[closure_region] = closure
Comments
Comment #1
michellezeedru commentedBumping this issue - does anyone have breadcrumbs working on a subtheme of a subtheme?
Comment #2
n8tronAre you seeing "Breadcrumb settings" in admin/build/themes/settings/
for your subthemes?
Comment #3
michellezeedru commentedOn my top level subtheme, I have breadcrumb settings, but on subthemes of that subtheme, there are no breadcrumb settings.
Comment #4
n8trondo you have a theme-settings.php for each subtheme?
Comment #5
michellezeedru commentedNo, I didn't, but adding that helped! Now I have an option in my theme settings (for a 2nd level subtheme) to turn breadcrumbs off or on. But they still don't appear when I turn them on. The same pages dressed in my 1st level subtheme do show breadcrumbs, so I verified the breadcrumbs are set properly to show.
I appreciate your continued help with this!
Comment #6
n8tronI'd add features, and settings, to your sub theme
.info files.
I might even drag a page.tpl.php in the subtheme and make sure you see
<?php print $breadcrumb; ?>. You can prolly copy the working.info file and rename to your subtheme name. Any luck?
Comment #7
michellezeedru commentedN8tron, this was really helpful - you solved the problem! It turned out that just adding the theme-settings.php did work. When I visited the theme settings page, I saw that breadcrumbs were set to "Yes", but they didn't actually appear until I saved the theme settings. Now they are appearing as expected on my sub-subthemes. Thank you!
Comment #9
Skirr commentedI still have this issue. I copied theme-settings.php and page.tpl.php to zen subtheme and sub-subtheme. And i added to .info all the features, settings and regions.
And still there is no breadcrumbs in sub-subthemes. And there is no breadcrumb settings in any theme (except zen), even subtheme /admin/build/themes/settings/
Btw it looks more like a bug, because sub-subthemes should inherit most from the subtheme without copying any files.php :(
Comment #10
Skirr commentedor maybe this is because of Domain Access and that subtheme and sub-subthemes on different subdomains?
Comment #11
xjm#10: I'm using Domain access with a subtheme for my primary domain and a sub-subtheme for the second, and the breadcrumbs seem to display without any problems. I'm using Zen 2.0, though; I can't confirm that it necessarily works in Zen 1.
If there are no breadcrumbs in your subtheme, then there are no breadcrumbs for your sub-subtheme to inherit. Something is missing somewhere in the original subtheme so that is where I would do your troubleshooting. You might wish to check over all the steps on http://drupal.org/node/226507 to make sure nothing has been missed. It sounds like your template.php for the main subtheme might be missing or something, perhaps?
Comment #12
xjmSee also: http://drupal.org/node/868732
Comment #13
silverfly commentedI just wanted to add a quick tip that might help others:
I copied theme-settings.php over from zen_ninesixty, made sure my .info file contained features and settings but still had no luck. To fix this, I changed the function name in theme-settings.php from 'function zen_ninesixty_settings($saved_settings)' to 'function your_theme_here($saved_settings)'.
I then went back to site building > themes > my theme > configure - and the breadcrumb settings were now displaying properly. So I turned on "append the title" and viola!
That might be obvious to most, but as a non-developer I was stumped for a while. Hope it helps!