MaintenanceMode by Peter Burlingham

Allows you to put your site into maintenance mode so that users who are not logged in are taken to the login screen and a message is displayed accordingly.

Allows you to put your site into maintenance mode so that users who are not logged in are taken to the login screen and a message is displayed accordingly.

This is a little module that allows you to put your site into maintenance mode should you ever wish to.

The module checks to see if you're a superuser and if you're not then every page on the site which you try and load will send you to the login page with an appropriate maintenance message.

The styles are hardcoded into the module at present, so changing the default style of the front-end EDIT button could well have a knock-on effect.

Thanks to adamkiss whose ListAfterSave module this was written over the top of ;)
Thanks to ryan for solving the last piece of the puzzle and helping me display the message in the top-left of every page.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #540
    In the 540th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a new third party module called Page List Custom Sort, and more. Read on!
    Weekly.pw / 14 September 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“Yesterday I sent the client a short documentation for their ProcessWire-powered website. Today all features already used with no questions. #cmsdoneright—Marc Hinse, Web designer/developer