Styling the site maintenance page
Drupal offers a site maintenance mode where the site is inaccessible to end users unless expressly specified. During this period, visitors to the site are presented with a maintenance page. In this recipe, we will be looking at an approach that will allow us to style this page from our theme.
Getting ready
We will be using the Zen-based myzen theme which we created in the last chapter. It is recommended that for the purpose of the recipe, the site is loaded on two separate browser applications—the first for the admin account and the other for an anonymous user account. This will make it easier to make changes and verify their effect.
The site can be placed in maintenance mode by navigating to admin/settings/site-maintenance
(Home | Administer | Site configuration | Site maintenance) and setting the Site status to Off-line.
How to do it...
The default maintenance theme is the Garland sub-theme named Minnelli. We will first need to change it to our myzen theme...