O'Reilly logo

Drupal 6 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required