So forgetting to re-build the theme registry is the #1 issue for new theme developers (and for experience theme developers sometimes, too!)

It would be nice if Zen, by default, always rebuilt the theme registry on every page load. Or had a link on every page to allow the developer to rebuild the theme registry (new themers are unlikely to have devel.module installed.)

And, when theme development was over, the themer could turn off that feature.

Thoughts? Opinons?

Comments

johnalbin’s picture

Status: Active » Fixed

Commited.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

asb’s picture

Status: Fixed » Active

Hi,

sorry to re-open this issue, but maybe this is the best place for this.

My customized Zen-based sub-theme, based on 6.x-2.x-dev, says on almost every page:

For easier theme development, the theme registry is being rebuilt on every page request. It is extremely important to turn off this feature on production websites.

However, I can't find a place to disable rebuilding the theme registry. In the message above, "turn off this feature" is linked to ./admin/build/themes/settings/toxim; there I have no option to relating to the theme registry (there I have three fieldsets: "Toggle display", "Logo image settings", and "Shortcut icon settings"),

In my theme's info file I've set settings[zen_rebuild_registry] = 0; however, I can also set this to "1", I'm still getting the message above.

Is there any (other) way to disable rebuilding the theme registry, or what is happening here?

Thanks & greetings, -asb

kdebaas’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev
Component: Code » Documentation
Category: feature » bug
Status: Closed (fixed) » Fixed

Please check if you have correctly replaced all occurances of STARTERKIT in your theme-settings.php file with the name of your subtheme. And if this doesn't work, open a new issue, since this one is about a feature that has already been committed.
Cheers.

Status: Active » Closed (fixed)

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

asb’s picture