Top Left Text cha

Web & App Development

There seems to be some kind of bug in the 64bit version of Chrome (not a standard Chrome download - yet).  When viewing the photo galleries of any of my websites, the lightbox doesn't work correctly.  This happens with the following platforms/plugins:  Joomla > JoomGallery > Photoswipe Plugin.  When you turn on the photoswipe for mobile, the detail view of the gallery images opens in a full page slideshow instead of the lightbox.  Doesn't matter if you choose slimbox, thickbox, etc.
Comment (0) Hits: 1977

500 - JHtmlBehavior::mootools not found.

Version 2.0 of JoomGallery (and probably later versions until they fix it) for Joomla 3 calls mootools, which is non-existant.  You can correct this, but they will probably update the extension and not fix it (maybe not, but who knows).  So, until they've definitely fixed it, I would download this little plugin that does nothing else other than fix a bug that is common with J3 extensions...


J25 Legacy Plugin
Comment (0) Hits: 2077
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.

Comment (0) Hits: 2936
This feels a lot like the typical trick by free extension developers... add bugs so you'll pay for support or subscriptions.  Anyway, it's easy to fix this.  If, by the way, you want the buttons to look more 'crisp', go to /media/plg_joomgallery_joomphotoswipe and change icons-2x.png to This email address is being protected from spambots. You need JavaScript enabled to view it..

Anyway, just add the following style and the buttons should show up:

.ps-toolbar {
    display:block !important;
    opacity:1 !important;
}

 Then you'll notice there's a bug... when you touch the previous or next button then close it, you get redirected to the home page.  So I just removed the previous and next buttons - also with a simple style:

.ps-toolbar-previous, .ps-toolbar-next {
    display:none !important;
}

 

Comment (0) Hits: 4165
X