开发者

Drupal: off-line page theme

Why does my offline maintenance page uses the Garland theme if I've set zen and bluemarine themes f开发者_高级运维or front-end / back-end of my Drupal website ?

How can I set my offline page theme ?


You can set it in settings.php. Just set

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

This should do it (in theory).


This is from settings.php (in your sites/default directory)

/** * A custom theme can be set for the off-line page. This applies when the site * is explicitly set to off-line mode through the administration page or when * the database is inactive due to an error. It can be set through the * 'maintenance_theme' key. The template file should also be copied into the * theme. It is located inside 'modules/system/maintenance-page.tpl.php'. * Note: This setting does not apply to installation and update pages. */

'maintenance_theme' => 'minnelli'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜