OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
OS Responsive Image Gallery module Support
Go to bottom Favoured: 0
TOPIC: Lightbox not working in Joomla 3.3
Mykee (Visitor)
Posts: 0
graphgraph
User Offline
Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 0  
Dear developer,

I installed your module, and worked on Joomla 3.2, but after 3.3 update Lightbox not working anymore.
I checked problem:
- J! 3.3 include Jquery 1.11.0 version
- Lightbox script loaded BEFORE any javascript, and before any jquery
- I used under 3.2 version with jQuery turned off.
- I tried load jquery, but I get this message in Javascript console: "undefined is not a function" in jquery.fancybox-init.js file second line (where call fancybox)

I think problem with script load: I don't know why loaded at first lines. Maybe better go to before close body tag.

Here is my site, select "Képek a programból" tab:
www.revol.hu/revolexpress.hu/gratisz
Logged Logged
Last Edit: 2014/05/13 08:46 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7803
graph
User Offline Click here to see the profile of this user
Re:Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 94  
hello,

for your site problem not in Jquery version - now we see problems with jQuery include

Now our module try use jquery before jquery included

There are some error at jQuery initialize, please tr y play with jQuery setting in our module and in other Joomla modules what it use.

Please use not conflict option

If that not help - please send to as admin and FTP access and we will check where error. Your account details you may send with help OrdaSoft contact form

Thanks,
ordasoft team
Logged Logged
The administrator has disabled public write access.
Mykee (Visitor)
Posts: 0
graphgraph
User Offline
Re:Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 0  
Thanks for help, but tried all versions:
- if load jQuery this problem, because older version what include Joomla, and have problem in page load to other plugins.
- if not load jQuery, I get error (because jQuery not loaded)
- noConflict not helped, this script goes to scriptblock, after jQuery
- jQuery default in Joomla 3.x, and cannot move to other place.
- if comment your script block, and put manually to debug position (or other place to footer), then working, but this will problem, if you have any upgrade.

I thing a solution will better, if will have an option to put code to header or footer (before closed body tag).
Logged Logged
Last Edit: 2014/05/20 08:51 By .
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7803
graph
User Offline Click here to see the profile of this user
Re:Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 94  
Hello,

You may add that manual at template, but YES - may some problems with upgrade.

Joomla self include that plugin.

Now look like error in some module/plugin what also use jQuery, - you or need searech that problem, or manual fix.

also any upgrade - that problems - every time do full site backup first

Thanks,
ordasoft team
Logged Logged
The administrator has disabled public write access.
Mykee (Visitor)
Posts: 0
graphgraph
User Offline
Re:Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 0  
Ok, I found a solution what your plugin need:

Find this line in mod_OS_ImageGallery_Free.php file:
Code:

require_once dirname(__FILE__).'/helpers/images.php';


and insert this line after:
Code:

JHtml::_('bootstrap.framework');


and work your plugin correctly.

Tip for fox and source from this links to Joomla 3.x:
stackoverflow.com/questions/13078383/loa...vascript-in-joomla-3
forum.joomla.org/viewtopic.php?f=715&t=766395
forum.joomla.org/viewtopic.php?f=727&t=772052
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 7803
graph
User Offline Click here to see the profile of this user
Re:Lightbox not working in Joomla 3.3 8 Years, 4 Months ago
Karma: 94  
hello

Thanks, you.

But for me that good work and without that adding

Thanks,
Ordasoft team
Logged Logged
The administrator has disabled public write access.
Go to top