-
AuthorPosts
-
futureinprogress Friend
futureinprogress
- Join date:
- April 2006
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 4
November 11, 2008 at 11:10 am #135261Hi,
i’m trying to use simple image gallery pro (SIG) to show pictures in my article but all the popup engine in SIG plugin don’t work.
When I click on any image SIG opens a new window instead of a lightbox effect.
I think it’s due to the libraries (mootool for example) used by template and plugin but i can’t solve the problem.
Is there anyone who can help me?
Thanks
Daria
donaldwheaton Frienddonaldwheaton
- Join date:
- February 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 2 posts
December 3, 2008 at 10:06 pm #281189Simple Image Gallery Pro loads an additional instance of Mootools, so Slimbox will not work. I editted plugins/content/jwsigpro.php to remove the additional Mootools script:
Look for
$sigheader .= '
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/mootools.js"></script>
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.js"></script>
<style type="text/css" media="all">
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.css";
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/sigpro_'.$sig_layout.'.css";
</style>';
and change to
$sigheader .= '
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.js"></script>
<style type="text/css" media="all">
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.css";
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/sigpro_'.$sig_layout.'.css";
</style>';
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
December 4, 2008 at 4:20 pm #281293Hi donaldwheaton,
It is the slide show that is not working for me. Does this solve the problem? I wonder if your solution will work for Teline II also.
Thanks.
Cornelio
<em>@donaldwheaton 93361 wrote:</em><blockquote>Simple Image Gallery Pro loads an additional instance of Mootools, so Slimbox will not work. I editted plugins/content/jwsigpro.php to remove the additional Mootools script:
Look for
$sigheader .= '
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/mootools.js"></script>
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.js"></script>
<style type="text/css" media="all">
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.css";
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/sigpro_'.$sig_layout.'.css";
</style>';
and change to
$sigheader .= '
<script type="text/javascript" src="'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.js"></script>
<style type="text/css" media="all">
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/slimbox/'.$language.'/slimbox.css";
@import "'.$mosConfig_live_site.'/plugins/content/jwsigpro/sigpro_'.$sig_layout.'.css";
</style>';
</blockquote>donaldwheaton Frienddonaldwheaton
- Join date:
- February 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 2 posts
December 7, 2008 at 1:58 am #281603<em>@cgc0202 93483 wrote:</em><blockquote>Hi donaldwheaton,
It is the slide show that is not working for me. Does this solve the problem? I wonder if your solution will work for Teline II also.
Thanks.
Cornelio</blockquote>
If clicking the slideshow opens a single image in a new window, this may fix your problem.
cgc0202 Friendcgc0202
- Join date:
- August 2007
- Posts:
- 2244
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 206
- Thanked:
- 262 times in 1 posts
December 9, 2008 at 5:52 am #281868<em>@donaldwheaton 93892 wrote:</em><blockquote>If clicking the slideshow opens a single image in a new window, this may fix your problem.</blockquote>
Hi Donald,
Indeed. I linked several images, with just one showing as representative image, but when I clicked on the first thumbnail, it does show the large image. However, the other images do not show.
Cornelio
donaldwheaton Frienddonaldwheaton
- Join date:
- February 2006
- Posts:
- 12
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 2 posts
December 9, 2008 at 12:43 pm #281990<em>@cgc0202 94230 wrote:</em><blockquote>Hi Donald,
Indeed. I linked several images, with just one showing as representative image, but when I clicked on the first thumbnail, it does show the large image. However, the other images do not show.
Cornelio</blockquote>
You are seeing the same behavior I was seeing. Simple Image Gallery Pro loads an additional instance of Mootools. I edited Simple Image Gallery Pro to remove the additional Mootools. It’s as simple as deleting the one line that loads Mootools in plugins/content/jwsigpro.php.
Everything works great now. I wasn’t using the Rutile template, but I also had to add the following to #ja-wrapper in template.css to get the Moomenu to appear behind Simple Image Gallery Pro:
/* JoomlaWorks suckerfish fix */
position:relative;
z-index:99; -
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by donaldwheaton 15 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum