0
Welcome Guest! Login
0 items Join Now

Joomla 3.8/Gantry 4 - fix for offline, comingsoon and error pages

    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Joomla 3.8/Gantry 4 - fix for offline, comingsoon and error pages

    Posted 6 years 6 months ago
    • Joomla recently released J3.8. Unfortunately they removed over 300 files in the update (in preparation for the forthcoming Joomla 4.x) that our Gantry 4 templates relied upon. We will be updating all G4 templates as soon as we can to apply the fix but in the mean time you can apply this fix yourself too.

      1. Look in the templates/TEMPLATENAME/ folder

      2. Open three files error.php, offline.php and comingsoon.php

      3. Find this line in each:
      require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');

      and replace with:
      if (!class_exists('JDocumentRendererHead')) {
          require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php');
      }

      Regards, Mark.
    • The following users have thanked you: Kat05, Henning

    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.032 seconds