Requirements
- Paymenter 1.x.
- The Paymenter cron job, to start and stop scheduled windows.
1. Upload the extension
From the admin panel
- Go to Extensions → Available Extensions and click Upload Extension.
- Choose the zip you downloaded and upload it.
- Open the Ready to Install tab and click Install next to MaintenanceMode.
Over SFTP
-
Extract the zip.
-
Upload the
MaintenanceModefolder to the extensions folder of Paymenter:/var/www/paymenter/extensions/Others/MaintenanceMode -
Give the web server user ownership of the files:
chown -R www-data:www-data /var/www/paymenter/extensions/Others/MaintenanceMode -
Go to Extensions → Available Extensions, open the Ready to Install tab and click Install next to MaintenanceMode.
2. Enable the extension
- Go to Extensions → Extensions and edit MaintenanceMode.
- Turn on Enabled and save.
The extension creates its database tables and a random Secret bypass key when you enable it. Maintenance appears under Configuration in the admin menu.
3. Close the site
- Go to Configuration → Maintenance and click Add maintenance.
- Fill in a Name, for example
Server move, and leave Rule on Close everything. - Leave Starts at empty and save.
- Click Start now next to it in the list.
Visitors now see the maintenance page. As staff you keep full access. Open the site in a private window to see what customers see, or use Preview the page.
Click Stop now to open the site again.