Temporarely offline, construction message in silverstripe



notes for Temporarely offline, construction message in silverstripe:

install

name module underconstruction and put it in root run a dev/build settings -> access -> check under construction edit assets/error-503.html <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="UTF-8"> <title>Domain.com</title> </head> <body> <h1>Domain.com</h1> <p>Welcome!</p> </body> </html>

update the error page with the current design

delete the error-503.html page in the /assets folder run /dev/build again

src

https://github.com/frankmullenger/silverstripe-underconstruction http://silverstripe-webdevelopment.com/tricks/putting-a-site-temporary-offline/



Tags:
Published: December, 2014