RSGallery2 Support Forums
Welcome, Guest. Please login or register.

Login with username, password and session length
  Home    Forum    Help    Search    Login    Register  
*
News : October 05 04:05:55 AM
+  RSGallery2 Support Forums
|-+  Developers corner
| |-+  Nightly Builds for RSGallery2 in Joomla 1.5 (Moderators: Jonah, Daniel Tulp, Ronald Smit)
| | |-+  No Lightbox in IE6/7 [SVN-617]
Advanced search
  « previous next »
Pages 1
Author
Topic: No Lightbox in IE6/7 [SVN-617]  (Read 7632 times)
« on: January 28 02:33:26 PM »
aznoohwee Offline
Newbie
*
Posts: 2

View Profile

The lightbox popup feature does not work correctly in IE6/7, when loading the page there is a script error which points to a specific line in the generated source code.
Logged
 
Reply #1
« on: January 29 04:59:46 AM »
aznoohwee Offline
Newbie
*
Posts: 2

View Profile

I did a quick hack to get lightbox to work in IE6/IE7.

It turns out that the version of lightbox that the developers are using is not compatible with mootools in joomla 1.5.

What I did was downloaded slimbox, a lightbox variant based on mootools, and did a quick hack to integrate it into rsgallery2.

I renamed all the original .js files in the lightbox++ directory and replaced their original files with blanks. I copied over the slimbox.js file and renamed it as lightbox++.js (i know its not very pretty), and also copied the slimbox.css to the lightbox++ css folder, along with its images.

My aim is to replace the php code generators to point to another path so I can have it as a more permanent replacement.
Logged
 
Reply #2
« on: February 27 01:18:51 AM »
Neil Simpson Offline
Newbie
*
Posts: 11

View Profile Email

I ran into this problem too and, following your lead, jumped ship to slimbox.

I added 'slimbox' folder to components/com_rsgallery2/lib and extracted the css and js folder to here.
I then modified the basic template from:
Code:
$js1 = "<script src=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/lightbox++/js/prototype.js\" type=\"text/javascript\"></script>";
$mainframe->addCustomHeadTag($js1);
$js2 = "<script src=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/lightbox++/js/scriptaculous.js?load=effects\" type=\"text/javascript\"></script>";
$mainframe->addCustomHeadTag($js2);
$js3 = "<script src=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/lightbox++/js/lightbox++.js\" type=\"text/javascript\"></script>";
$mainframe->addCustomHeadTag($js3);
$css = "<link rel=\"stylesheet\" href=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/lightbox++/css/lightbox.css\" media=\"screen\" type=\"text/css\" />";
$mainframe->addCustomHeadTag($css);
To:
Code:
$js1 = "<script src=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/slimbox/js/slimbox.js\" type=\"text/javascript\"></script>";
$mainframe->addCustomHeadTag($js1);
$css = "<link rel=\"stylesheet\" href=\"".$mosConfig_live_site."/components/com_rsgallery2/lib/slimbox/css/slimbox.css\" media=\"screen\" type=\"text/css\" />";
$mainframe->addCustomHeadTag($css);

Voila. Lovely lightbox++ style popups in IE and Firefox.
Logged
 
Reply #3
« on: February 27 06:23:19 PM »
Robbie van Riet Offline
Newbie
*
Posts: 8
msn@textbased.net
View Profile WWW Email

That was the one who made the trick Cheesy. I have this bug also in my installation of RSGallery2 1.14.3 SVN 649

For the people who don't know where to look Wink:

Download Slimbox: http://www.digitalia.be/software/slimbox#download
The file to be altered is: joomlaroot/components/com_rsgallery2/templates/semantic/display.class.php
From line: 262
« Last Edit: February 27 06:24:57 PM by Robbie van Riet » Logged

Dance with the stars
 
Reply #4
« on: March 09 06:24:47 PM »
Denis O'Regan Offline
Newbie
*
Posts: 4

View Profile Email

I've tried this and still cannot get the lightbox to work with Semantic template

See http://www.thepelhams.net/component/option,com_rsgallery2/Itemid,171/
Logged
 
Reply #5
« on: June 26 10:12:16 PM »
wsfarm Offline
Newbie
*
Posts: 2

View Profile

I am having the same problem and I have applied the slimbox solution with no luck.  The lightbox works fine in Firefox.  Any help would be appreciated as this looks like a problem a lot of people are having.

http://www.woodsmithfarm.com/index.php?option=com_rsgallery2&Itemid=92

It's a different topic, but I am also having problems with not being able to set the width of the pics so my page is getting stretch/distorted.  I have tried different widths in Config/Images with no apparent changes.

Thanks
Logged
 
Reply #6
« on: September 11 02:17:08 PM »
Billy Offline
Newbie
*
Posts: 11

View Profile Email

I am having issues with the Lightbox as well in IE6/IE7. I tried switching to Slimbox as mentioned and that didnt work either. Has anyone here been able to successfully fix this issue?
Logged
 
Print  Pages 1
« previous next »
Jump to: