Skip to content

6. Maintenance mode

Object edited this page Jun 22, 2024 · 1 revision

As expected Atom CMS comes with a maintenance mode, you can quickly toggle this mode on and off directly through the website_settings table in your database. Simply locate maintenance_enabled and set it to 1 to turn it on and 0 to turn it off.

Staff login

It's also possible to allow certain ranks to login during maintenance, simply adjust the min_maintenance_login_rank within the website_settings table and any rank equal or above the specified rank, will then be permitted to login during maintenance.

Setting up maintenance tasks

It's possible to share what is being worked on while maintenance is enabled, simply head to the website_maintenance_tasks table and create t he tasks you want to share.

The user_id column is the ID of the user that are supposed to work on the task, the task is the name/description of the task and lastly completed determines whether the task has been completed or not, showing an icon on the task accordingly.

image

Customizing the maintenance message

IF you wish to change the message being displayed during maintenance, you can do that by heading into your website_settings table and change the maintenance_message entry to your liking.