page-maintenance.tpl.php name is wrong
| Project: | Ubiquity |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
The correct name is 'maintenance-page.tpl.php.
anyway, the template needs some styling. It has plain look. It should render head,favicon,logo,content and footer. The best is to take the copy in modules/system and start modify from there. Normal theme should not need to render blocks so it could be simplify from that sample.
Attached is what it looks like now.
To fully test the offline page, you need to test it in two cases:
1) turn off the database (one way is set the database user name wrong in settings.php), then put this in settings.php:
<?php
$conf = array(
'maintenance_theme' => 'ubiquity',
);
?>2) the other case the set the site to off-line via the admin page. This mode is operates differently from case 1. The database alive here. But in the end, they both should render the maintenance-page.tpl.php.
Thanks!
| Attachment | Size |
|---|---|
| ubiquity-offline.png | 13.36 KB |
