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 #554
    In the 554th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a couple of new third party modules, and more. Read on!
    Weekly.pw / 21 December 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

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani