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
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

pglatz - April 5, 2009 - 04:32

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

wilgrace - April 12, 2009 - 08:56

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

wilgrace - April 16, 2009 - 08:06

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

JohnAlbin - April 16, 2009 - 13:48
Title:Auto-rebuild theme registry» No theme settings form for sub-themes
Component:Miscellaneous» Code
Category:bug report» support request
Status:active» fixed

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).

Which means you didn't follow the installation instructions. http://drupal.org/node/226507 :-(

#5

System Message - April 30, 2009 - 13:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#6

alanburke - May 8, 2009 - 14:56
Component:Code» Documentation
Status:closed» active

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

alanburke - May 12, 2009 - 12:00

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

looseSpark - June 15, 2009 - 19:43

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

c-c-m - August 8, 2009 - 16:18

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

millenniumtree - November 5, 2009 - 14:39

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');

 
 

Drupal is a registered trademark of Dries Buytaert.