Theme the site maintenance page

gjoellee - September 12, 2009 - 10:04
Project:Acquia Prosper
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:eternalistic
Status:by design
Description

I heard about a theme with a themed offline page. The site maintenance theme is by default Minneli, but maybe it is possible to make Prosper to the maintenance theme without making the user to modify Drupal files.

I think it is confusing for website users when the website user interface suddenly changes to something else when the site is offline.

#1

eternalistic - September 12, 2009 - 15:24
Assigned to:Anonymous» eternalistic
Status:active» by design

Hi gjoellee, what you need to do it edit your settings.php file (/sites/default/settings.php) and at the bottom add this bit of code:

$conf['maintenance_theme'] = 'acquia_prosper';

That will trigger the Acquia Prosper theme to be the default theme seen when a user sees the maintenance page. More information here: http://drupal.org/node/195435

#2

gjoellee - September 14, 2009 - 11:59

Thanks.
I tried it once before but I got error 500. This does not happen now. Thanks you!

#3

fr34ck - December 17, 2009 - 19:55

Hello,
to make a acquia prosper page maintenance you need to make this code at the end of settings.php

$conf = array(
  'maintenance_theme' => 'acquia_prosper',
);

and then duplicate the page.tpl.php in the themes folder and rename it to maintenance-page.tpl.php

Worked for me.

#4

eternalistic - December 17, 2009 - 20:01

Thanks fr34ck, I forgot that last step with creating the custom maintenance-page.tpl.php.

 
 

Drupal is a registered trademark of Dries Buytaert.