Dev & Tech Notes
San Diego | Los Angeles | Big Bear | USA
Terms & Conditions ©2005-2024 TJohns.co
Terms & Conditions ©2005-2024 TJohns.co
Top Left Text cha
Web & App Development
- Details
- Written by Timothy Johns
- Category: JoomGallery
- Hits: 1977
Add new comment
Comment (0)
Hits: 1977
- Details
- Written by Timothy Johns
- Category: JoomGallery
- Hits: 2077
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
- Details
- Written by Timothy Johns
- Category: JoomGallery
- Hits: 2936
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
- Details
- Written by Timothy Johns
- Category: JoomGallery
- Hits: 4165
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