CMS

Joomla_ Create a Custom Site Offline Page

To take your site offline using the Administrative Interface of Joomla, you go into the Site tab of the Global Configuration Menu.

There may be times when you wish to bring your site down for maintenance, troubleshooting or other reasons.

Click on Yes next to Site Offline. Then hit the green Save & Close button at the top of the page.

When you take this step, the default occurrence is that Joomla will put up a small login form with your chosen message. This is what visitors will see if they go to visit any page on your site.

In order to see your actual site for review during maintenance, you must have a login and password. You must be a registered user of the site through the Joomla User interface.

Create a Custom Site Offline Page

Edit the default Joomla Offline Page using Template Overrides
You need to copy the offline files from the templates/system directory and copy them to your own template. In this example, I will use the NawrasTech template.
copy these files:
/templates/system/offline.php
/templates/system/css/offline.css
/templates/system/css/offline_rtl.css
Into:
/templates/NawrasTech/offline.php
/templates/NawrasTech/css/offline.css
/templates/NawrasTech/css/offline_rtl.css

You can then edit the offline.php and corresponding CSS file as you wish. the _rtl.css file is for languages that are read from right to left.

Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *

ALl Rights Reserved @Nawras Tech2017
All Rights Reserved 2017 NawrasTech