Forums / General Questions / Website maintenance period

Website maintenance period

Views: 617

Results 1 to 5 of 5
25 Nov 2019, 11:06 AM
#1
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
415
Plugin Contributions:
0

Website maintenance period

What is the highest number of hours that can be entered in Configuration->Website Maintenance->Website maintenance period?

Can it somehow be set to indefinitely?

25 Nov 2019, 12:15 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: Website maintenance period

DML73:

What is the highest number of hours that can be entered in Configuration->Website Maintenance->Website maintenance period?

Can it somehow be set to indefinitely?
The value entered in that field is used in the display for the default down-for-maintenance page:

Line #28 : <h3 id="maintenanceDefaultPeriod"><?php echo TEXT_MAINTENANCE_PERIOD . TEXT_MAINTENANCE_PERIOD_TIME; ?></h3> 

The TEXT_MAINTENANCE_PERIOD is a language-file constant and the TEXT_MAINTENANCE_PERIOD_TIME is that configuration setting's value.

25 Nov 2019, 3:00 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Website maintenance period

lat9:

The value entered in that field is used in the display for the default down-for-maintenance page:

Line #28 : <h3 id="maintenanceDefaultPeriod"><?php echo TEXT_MAINTENANCE_PERIOD . TEXT_MAINTENANCE_PERIOD_TIME; ?></h3>

> The TEXT_MAINTENANCE_PERIOD is a language-file constant and the TEXT_MAINTENANCE_PERIOD_TIME is that configuration setting's value.
To add some additional description, the value entered is what is displayed to visitors blocked from seeing the associated store content. Further the value does not count down nor change (unless changed in the admin). So when the store is placed and maintenance mode and for however long it is in maintenance mode, the content will be displayed to those visitors.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

25 Nov 2019, 4:21 PM
#4
dml73 avatar

dml73

Zen Follower

Join Date:
Oct 2007
Posts:
415
Plugin Contributions:
0

Re: Website maintenance period

Ohh so 'Website maintenance period' is not actually a count-down to automatically disable maintenance mode. Maintenance mode will stay in effect until I manually disable it in admin regardless what the value in 'Website maintenance period' is. Is that correct?

25 Nov 2019, 4:28 PM
#5
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Website maintenance period

DML73:

Ohh so 'Website maintenance period' is not actually a count-down to automatically disable maintenance mode. Maintenance mode will stay in effect until I manually disable it in admin regardless what the value in 'Website maintenance period' is. Is that correct?

Yes, That is correct.