[1.5.4] Site Maintenance

I tested the “Site Maintenance” to see how it looks.

I discovered, that the Maintenance Page will display exactly the content of the Offine Message. Meaning really 1:1. HTML and Body-Tags needs to entered manually.
Is this a “bug” or by design?

Cheers

I’m guessing it’s just a basic feature that needs enhancing.

I suggest we enter a ticket (and possibly submit a pull request :slight_smile: to enhance it to the the following:

  • Create a basic site maintenance .cfm page that can be overridden by the layout.
  • This page will not be a view but instead just be cfincluded outside of the framework. (that way you can reinit, whatever-- and not affect the maint. page)
  • It will look for a #request.maintenanceMessage# variable which it will display.
  • The text box in the admin will be changed to simply control the contents of that request-scoped message.
    That way, site owners can easily maintain a full page with markup and such in a cfm file that is customizable by the theme, but can also add custom text based on the specific outage.

Thoughts?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

  • Create a basic site maintenance .cfm page that can be overridden by the layout.
  • This page will not be a view but instead just be cfincluded outside of the framework. (that way you can reinit, whatever-- and not affect the maint. page)
  • It will look for a #request.maintenanceMessage# variable which it will display.
  • The text box in the admin will be changed to simply control the contents of that request-scoped message.

Looks good to me.

If the maintenance page would be treated like the “Oopsy”-pages notfound.cfm and error.cfm would be perfect. Using #request.maintenanceMessage# in this page would give flexibility.

Do you want to put in the ticket for that?

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Ticket created