I tried use Zen theme like maintenance theme for project of my own, but this theme isn't compatible with the Drupal maintenance mode. I created a two patch which hopefully can be commited to this theme to make it usable even when Drupal is in maintenance mode (no db access by install or update).
This two patches are my first, so i hope they are properly created and usable.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

seanburlington’s picture

Title: Zen theme can't be used as maintenance theme » Zen theme generates errors when used as maintenance theme
Category: feature » bug
Priority: Minor » Normal
Status: Active » Needs review
FileSize
1.71 KB

I think that this is a bug really

setting a custom maintenance theme is core functionality of Drupal and it's pretty important for high profile sites.

The attached patch addresses the problem by checking db_is_active() before making database calls that otherwise fail when the database is offline

I've tested it and with these changes in place I can use my zen sub theme in offline mode with a nice friendly error message.

broncomania’s picture

Category: bug » feature
Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

Yes I am looking for a solution with exactly the same problem discribed above.
This patch is working and absolutly usefull.
Include this please in the next release.
patch is working installed by copy and paste. patch not tested via commandline.
working with zen 2.x for me

thx this safe me a lot if time

ChrisRL’s picture

Status: Reviewed & tested by the community » Closed (duplicate)