Warn site users in advance that your site will be going down for maintenance at a specified time so that they can complete checkout, edits, or anything else they are doing before the data is lost. The default configuration displays a fixed position red overlay message at the bottom of the browser window with text in the format ' is going offline for maintenance: Tue Feb 21 14:41:08 2012 -0800'. Configuration settings are added to the Site Maintenance administration page (admin/settings/site-maintenance).

Settings allow for the configuration of:

  • Show warning - Yes/No
  • Off-line date and time
  • Warning message text
  • Off-line automated action
  • CSS code to format the warning message

Off-line action options include automatically putting the site into "Maintenance mode" at the specified time.

This module functions by checking off-line date and time on every page request using minimal code. The warning message is displayed on all pages and works with page caching. Once the warning date time has elapsed the next page request or next CRON run (whichever comes first) will trigger the specified off-line action.

JavaScript Countdown

If the users browser supports JavaScript then the warning message will display a changing countdown timer showing how much time is left before the site goes down. This makes it easier for users to know how much time they have as it takes time zones out of the equation.

Project information

Releases