Skip to content

dart-creations.com

Advertisement
Home arrow Joomla arrow Joomla Tips and Tricks arrow #19 - changing the offline message
Print E-mail
Wednesday, 22 August 2007

#19 - changing the offline message

When you are performing drastic changes to your website, it is advisable to turn switch your website to Offline mode (Site > Global Configuration > Site Offline > Yes). To change the offline message there are two ways.


  • Change the Offline message in the Global Configuration, and insert your custom message. This is the basic configuration
  • The second option is to change the html code of the page which is shown when the site is offline. This is done by editing, via ftp, or using JoomlaXplorer, the offline.php file found in the root directory. You should change the Joomla logo to the logo of your website. If necessary you can insert AdSense code, Affiliate links, mailto links for people to contact you if site is offline, or any other static html code that you require.

If you also want to use your Joomla template for the offline message, the following is the way to do it. Whilst the site is online, right click on the webpage and click on Vew Page Source. Then copy all the code, and paste it into a test.html file, and save it locally. Tweak the file according to your requirements. You should then copy and paste all the code into the offline.php file, taking care that the original code goes into the body of the new file. 

Comments
Search RSS
sven wittoeck  - owner   |81.245.184.xxx |2008-03-12 13:46:15
offline.php in 1.5 is found under templates > system ...

Use any editor you
change it as you please.
Cobus Taljaard  - Nice tip   |198.54.202.xxx |2008-09-08 18:08:57
Hey thanks,
this is a great tip. I was wondering how to take my wife's wedding
photography site (http://joretha.com) offlline and still give visitors something
to look at. Now I can link directly to her price list and other downloads from
the offline page.

bye
Anonymous   |196.205.225.xxx |2008-09-25 14:13:26
thx
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Wednesday, 01 October 2008 )
 

Sponsors

Login Form






Lost Password?
No account yet? Register

Buy us a beer!

If we've helped you, consider buying a beer €3. It will inspire us to keep on giving! Cheers!


Generated in 0.27483 Seconds