Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2006 at 06:47 UTC
Updated:
25 Jan 2007 at 03:46 UTC
I recently wrote the analogy for theme_maintenance_page for the securesite.module for Drupal 4.65, not realizing that it was already in 4.7x core. One of the features I included was a themable maintenance page, which I find particularly useful in multisite installations. If the file maintenance.tpl.php exists in the default theme directory, that will be used instead. Otherwise, the existing code is unchanged (e.g. using the misc/maintenance.css). Also, there are two minor fixes, pulling in the favicon setting and making the page title the site title (personal preference on the latter I guess).
| Comment | File | Size | Author |
|---|---|---|---|
| themeable_maintenance_page_patch10.tar.gz | 8.88 KB | john.money |
Comments
Comment #1
john.money commentedChanged version to cvs, specifically:
// $Id: theme.inc,v 1.283 2006/02/05 19:08:11 unconed Exp $
Comment #2
Jaza commentedAs far as needed .tpl.php files go, I would think that a maintenance.tpl.php is not particularly needed by most users. -1 to this specific patch going in. Users who need a maintenance.tpl.php file can define a template call manually in template.php.
However, +1 to phpTemplate being improved for all templates, so that things like this happen automatically :P (but that's being covered in other issues).