Closed (fixed)
Project:
Zen
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2009 at 20:59 UTC
Updated:
2 May 2011 at 23:05 UTC
Hello, I've built a sub-theme of Zen for my new website (in Drupal 6.10. At some point during development, the breadcrumbs were disabled and I can't figure out how to re-enable them. I notice that the "theme-specific configuration" box on Administer > Site Building > Themes is also gone, so I'm guessing it's related.
This is a development site and caching is disabled, so the theme registry shouldn't be a problem.
Comments
Comment #1
benjamin_dk commentedI had the same problem - zen subtheme, the breadcrumb + themespecifik settings disappeared. After I upgraded from Drupal 6.6 to 6.12 and upgraded most of my modules, I had the theme-settings back and I could enable the breadcrumb... Hope this can help you as well.
Comment #2
a.bond commentedI still don't know what was going wrong, but after deleting and re-making my custom theme the breadcrumbs came back.
Comment #3
dafederI've had this problem when I forgot to rename functions in template.php that were still called STARTERKIT_whatever(). Rename, save than clear cached data in performance.
Comment #4
Colin_T commentedI've got exactly the same problem (one site has always been on 6.11, one always on 6.12 with the same theme). I'm missing the theme specific configuration, and the breadcrumbs.
Seeing the above, I've tried copying the STARTERKIT theme, to a starter kit test theme by running
Then editing the reference in skt2.info to point to skt2.css.
I still don't see the theme specific settings in skt that I do when I just enable STARTERKIT.
Any help gratefully received.
Comment #5
Colin_T commentedOK - after re-reading my post I've spotted the error in the sed line & fixed it! Strange that I've made a similar mistake each time I tried it.
Comment #7
tronathan commentedSpecifically, the function
in the file
theme-settings.phpinforms Drupal of the settings for the theme. In this function, the following line:
tells drupal to load the default settings from Zen, which contains code that instructs drupal to provide a breadcrumb for this theme.
If you don't rename the THEME_settings() function, drupal won't catch this hook and won't know to load zen's breadcrumb code when it loads the theme. That's why there are no theme-specific settings on admin/build/theme/THEMENAME/settings when you don't have this function in your theme-settings.php file.
Comment #8
picca commentedI had similiar problem and #7 comment solved it. It was because of my incaution. I developed theme "foo" and followed all steps by Zen's readme. But then I wanted to start foo's fork. So I just copied foo (to bar directory) and thought that it is ok. But it wasn't I didn't see breadcrumbs. You have to search & replace all 'foo' strings to 'bar' strings in every file of your new theme.
Comment #9
senortim commentedOne additional note (from someone who just spent quite a bit of time on this): If you're upgrading your themes, beware that some FTP software (in my case Dreamweaver) folds theme files together. I was careful to merge my subtheme files, but the main theme had co-mingled Zen 1.2 and Zen 2.1 leading to confusing HTML.