test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • futureinprogress Friend
    #135261

    Hi,

    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 Friend
    #281189

    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>';

    cgc0202 Friend
    #281293

    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

    <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 Friend
    #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 Friend
    #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 Friend
    #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;

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 3 voices, and was last updated by  donaldwheaton 16 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum