oddhill / odddrupal

Complete Drupal package that contains our custom installation profiles.
www.oddhill.se
1 stars 1 forks source link

Implement maintenance page. #10

Closed olofbokedal closed 8 years ago

olofbokedal commented 8 years ago

The maintenance pages which we usually use comes from Odd Baby - https://github.com/oddhill/oddbaby/tree/master/templates/defaults/system. But we're never changing these, so it'd be a good idea to provide them via this profile instead.

We'll need to make sure that the page works both for offline (when the DB is unreachable) and online mode, and that there aren't any function calls to stuff in Odd Baby, etc.

Make it work, basically.

olofbokedal commented 8 years ago

Won't implement this. It's possible to change the theme via a variable when the database is offline, but it's not possible if the site simply has been put into maintenance manually.

It's better to keep the template file in the default theme for consistency.