No theme settings form for sub-themes
cdesautels - March 19, 2009 - 15:46
| Project: | Zen |
| Version: | 6.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I having a bit of a problem with this new feature. It's a great idea, but it's not working. The setting in the Zen theme page has no effect. It's on all the time. I can turn it off by commenting out the lines in template.them-registry.inc. But that's pretty kludgy. It's doing the same thing in my subtheme as well.
Wireframe mode doesn't work at all.
The subtheme in question is a straight copy of the STARTERKIT. I haven't done anything to it except I moved the CSS files into a subdirectory and altered the subtheme.info file accordingly (just a little bit of housekeeping).

#1
I have what I think is a similar issue. I have been using beta 3 and just switched to the 6.x-1.0, and keep getting the "theme registry is being rebuilt on every page request" warning. When I click the link to the theme config page, I don't see the option. In fact, the entire "Theme-specific settings" block is missing.
However, I do see the block when I use the default Zen theme. I did a diff on the zen.info file with my .info file and didn't see anything significantly different. I edited my .info file and set
settings[zen_rebuild_registry] = 0
and am still getting the warning.
I am using a subtheme based on STARTERKIT. I built my subtheme from scratch on a fresh install today.
#2
I'm getting exactly the same symptoms as above, on the same settings (latest Zen, clean install with STARTERKIT). There's no option in the subtheme settings to turn off theme registry rebuilding. Is it a bug in the latest Zen release?
#3
pglatz, did you ever manage to fix this? It's driving me nuts - short of hiding the warnings in CSS, I don't know how to disable this on my production site.
any ideas?
#4
Which means you didn't follow the installation instructions. http://drupal.org/node/226507 :-(
#5
Automatically closed -- issue fixed for 2 weeks with no activity.
#6
Hi John/others
I believe I've followed the instructions for setting up a subtheme to a tee,
but I can't see what I might have omitted that would be causing this error.
Could anybody enlighten me?
Regards
Alan
#7
My guess is that it has to do with the addition of template.php.
I copied the template.php from the zen theme to the the new subtheme.
I think this is when the messages started to appear.
I used the Admin Menu module, and the ' flush all caches' link didn't seem to work, nor did 'flush all caches' >> 'theme registry' link.
But the 'flush all caches' >> 'menu' link did seem to do the trick.
Alan
#8
Similar problem: I believe I followed all instructions in the readme but wireframes are not showing although the wireframe.css line in .info is uncommented.
#9
I'm also having the same problem:
I've created one using zenophile and another one following online docs (http://drupal.org/node/226507) and none of the themes have the special options like rebuild theme registry, wireframes or custom sign for breadcrumbs. What am I doing wrong?
Edit: I know what did I do wrong: I forgot to edit theme-settings.php
#10
I've found that this also happens if you copy the Zen theme straight instead of using the STARTERKIT.
If you have to fix an existing site, there are two lines you need to change in theme-settings.php
function zen_settings($saved_settings, $subtheme_defaults = array()) {
becomes
function mythemename_settings($saved_settings, $subtheme_defaults = array()) {
zen_theme_get_default_settings('zen');
becomes
zen_theme_get_default_settings('mythemename');