206

Product support

Visit this product's website for support.

Categories

VDLP Maintenance Plugin

Handles HTTP requests when October CMS is in maintenance mode.

To bring October CMS down:

php artisan down

To bring October CMS up:

php artisan up

Installation

composer require vdlp/oc-maintenance-plugin

Configuration

To configure this plugin execute the following command:

php artisan vendor:publish --provider="Vdlp\Maintenance\ServiceProviders\MaintenanceServiceProvider" --tag="config"

Customization

This plugin is shipped with a default maintenance page.

If you would like to customize this page you can create a folder called maintenance in the root of your project. Inside this directory you should create a file called 503.htm. This file is rendered using the default view engine of your project and receives two variables: app_name and locale, where app_name is the value of the app.name configuration variable and locale is active locale name.

This plugin is shipped with a default maintenance page.

If you would like to customize this page you can create a folder called maintenance in the root of your project. Inside this directory you should create a file called 503.htm. This file is rendered using the default view engine of your project and receives two variables: app_name and locale, where app_name is the value of the app.name configuration variable and locale is active locale name.

Configuration

To configure this plugin execute the following command:

php artisan vendor:publish --provider="Vdlp\Maintenance\ServiceProviders\MaintenanceServiceProvider" --tag="config"
2.2.1

Maintenance release (see CHANGELOG.md)

Jun 12, 2023

2.2.0

Maintenance release (see CHANGELOG.md)

Feb 17, 2023

2.1.2

Add .gitattributes file to plugin repository

Feb 02, 2022

2.1.1

Add configuration option `use_preferred_locale` (see CHANGELOG.md)

Jan 07, 2022

2.1.0

Minor code improvements (see CHANGELOG.md)

Aug 30, 2021

2.0.0

Add support for PHP 7.4 and higher

Jul 13, 2021

1.2.2

Update plugin dependencies

May 28, 2021

1.2.1

Fix title of the default 503 page

Apr 20, 2020

1.2.0

Optimize layout and translation of the default 503 page

Apr 10, 2020

1.1.0

Change response of AJAX requests to text instead of JSON if X-OCTOBER-REQUEST-HANDLER header is present

Mar 31, 2020

1.0.0

Initial version of the VDLP Maintenance plugin

Feb 21, 2020