Customise Gantry based template's CSS

To customise Gantry based Joomla template's CSS (Cascading Style Sheets):

  • Go to templates/template_name/css folder and create a file with name template_name-custom.css
  • Place your CSS customisation in this file
  • Refresh the webpage, if necessary clear browser's cache

For example, let's say we want to change article text colour to green in Joomla's rt_afterburner2 template:

  • Go to templates/rt_afterburner2/css folder and create a file rt_afterburner2-custom.css with following code:
    html body p
    {color: green;}

Warning after PHP upgrade "Deprecated: Methods with the same name as their class..."


After upgrading PHP from 5.4 to 7.0 following warning is displayed: 

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Pages has a deprecated constructor in /home4/webmaster/public_html/website/classes/pages.class.php on line 16


The warning can be hidden by setting display_errors to Off in php.ini. Obviously this just hides the issue so a proper fix here is to fix the class in question.

Open the file mentioned in the warring message and find the constructor method. It should look something like this:

function Pages($id) {

Kunena forum breaks after update


Joomla's Kunena forum breaks after attempting upgrading to version 5.0.6 (using Joomla auto-updater). Upgrade fails, in the front-end the forum displays "Offline" message. Trying to get into Kunena back-end admin panel triggers an attempt to resume the upgrade which immediately fails again...

Trying to install Kunena manually (uploading pkg_kunena_v5.0.5 package via Joomla's installer) seems to succeed at first, but forum is still broken. Trying to remove the forum and then re-install uploading the same package also seems to succeed, but this breaks Kunena completely. Any attempt to get into Kunena front-end or back-end throws HTTP 500 error page...

Hostgator shared hosting - emails sent via PHP mail not delivered

Emails sent using PHP mail() function are not reaching recipients. Sender's domain is a domain that has a website hosted on the same Hostgator server (which I believe is a requirement).

After a bit of troubleshooting I found that the issue occurs if recipient's domain has a website hosted on the same Hostgator server as well (but email on a different system).


Subscribe to receive occasional updates on new posts.
Your email will not be used for any other purpose and you can unsubscribe at any time.
Please wait