Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Zen seems to have problems theming Drupal's standard site maintenance page (aka site offline page). The page is enabled/disabled at Administer > Site configuration > Site maintenance.
When I tell Drupal to use Zen as the theme for the site maintenance page, (as described at http://drupal.org/node/195435), that page does get the Zen theme, but the layout isn't right. The page title and content is displayed at the top of the screen, adjacent to the right side of the site logo, and the text doesn't wrap normally, so it produces a horizontal scroll bar.
Comments
Comment #1
JohnAlbinSee #275832: hook_theme implementation breaks maintenance page when database is down
Comment #2
JohnAlbinOh! After some more testing, I see what you mean. Drupal core's maintenance-page.tpl.php is so different from Zen's page.tpl.php that Zen's layout.css is being applied in a weird way to the “unexpected” maintenance-page markup.
Re-opening… Thanks for the bug report!
Comment #3
JohnAlbinAdded a maintenance-page.tpl.php to Zen and Zen Classic so that the themes' styles are able too hook into the HTML markup they were expecting.
Comment #4
bsimon CreditAttribution: bsimon commentedWorks for me (just copied across the new maintenance-page.tpl.php to my subtheme). Thanks.