Changing the Joomla Offline page how to - Joomla & VirtueMart Tips & How To's

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.

Home whois server response

Mon

19

Oct

  • Joomla 1.5

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.



Joomla Offline Page 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!

GJC Web Design Offline Page
Last Updated on Wednesday, 09 January 2013 08:49
 
VirtueMart
Your Cart is currently empty.

Find a Domain Name!

Enter a domain name:

www.

Select an extension:

Select all
.com.net.org.info
.name.us.biz.eu
.co.uk.be.de.nl



Changing the Joomla Offline page how to|Joomla & VirtueMart Tips & How To's



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.


css, page, joomla, offline, site, template, templates, text, change, login, image, look, native, file, folder, type, open, editor, defaulting, php, sheets, bit, styling, end, nicer, form, remove, include, starts, line, general, job, making, steps, going, files, needed, achieve, whats, visitor


guru

We use cookies to improve our website and your experience when using it. Cookies used for the essential operation of the site have already been set.
To find out more about the cookies we use and how to delete them, see our privacy policy.

I accept cookies from this site.