Top Left Text cha

Website Development Services

Joomla v3.3.6
JoomGallery v3.2
JoomGallery Image Module v2.0.

Together they produce a very nice looking blank white page.  The image module breaks the page.  I searched their forums and see that this was an issue 6 years ago!!!

Anyway, there's a simple fix.

In /modules/mod_joomimg/mod_joomimg.php, around line 23 where you see:
// Get the interface
require_once(JPATH_ROOT.DS.'components'.DS.'com_joomgallery'.DS.'interface.php');

You want to add the following before before the require_once:

if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);

So that it looks like:

// Get the interface
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
require_once(JPATH_ROOT.DS.'components'.DS.'com_joomgallery'.DS.'interface.php');

At least that did the trick for me.

Normally I would advise creating a template override so that you don't lose changes if you update the extension.  But there doesn't seem to be a way to do this here.  Fortunately, modules are rarely affected by system updates so I'll keep my fingers crossed.

Add comment


Security code
Refresh

  • No comments found

Leave your comments

Post comment as a guest

0
Your comments are subjected to administrator's moderation.
X