Mon 19 Oct |
|
When you take your Joomla site "Offline" it is nice to have a page that fits in with your site design and explains to the visitor whats going on. Here are the steps and files needed to achieve this. The standard page, apart from not having any "corporate" or site image can also be confusing for non-technical visitors, what is Joomla, why is there a login box? The first step in making a much more attractive Joomla "offline" page is to copy the native Joomla "Offline" page to the root of your own template folder. You find the native page at /templates/system/offline.php. Joomla will look there for the file first before defaulting to the system folder. Open this file in a text editor and the first job is to include the site css sheets so the "Offline" page starts to look as though it has something to do with our site. Change line 23 as below: <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />to <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css" type="text/css" /> We can now change the image, remove the login form and with a bit more styling we end up with something much nicer! |
Last Updated on Wednesday, 09 January 2013 08:49 |