test melih
 melih
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • darioloc81 Friend
    #640153

    Hi

    i have an old website and i decided to improve it with one of your cool and modern templates, but my galleries does not work anymore, the are in one column instead of grid and the href of all images are linking to the image instead of modal popup, i’m using art sexy lightbox, i have plenty of galleries and i don’t want to rework them, how can i solve this issue?

    Rian

    Ninja Lead Moderator
    #644965

    I checked directly on your site and see the conflict from Art Sexy Lightbox plugin with our T3 framework and Bootstrap lib. Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher but Art Sexy Lightbox plugin is based on jQuery 1.3.2. That’s why you got this problem on your site.

    Art Sexy Lightbox plugin is paid extension from 3rd party and I do not have its version to test with jQuery 1.9.1 or higher. You can raise this bug to Art Sexy Lightbox plugin maybe you will get best answer from them. In the mean time you can pm me FTP account of your site. I will check and try to find other way to solve this bug.

    Ninja Lead Moderator
    #743593

    I checked directly on your site and see the conflict from Art Sexy Lightbox plugin with our T3 framework and Bootstrap lib. Bootstrap’s JavaScript requires jQuery version 1.9.1 or higher but Art Sexy Lightbox plugin is based on jQuery 1.3.2. That’s why you got this problem on your site.

    Art Sexy Lightbox plugin is paid extension from 3rd party and I do not have its version to test with jQuery 1.9.1 or higher. You can raise this bug to Art Sexy Lightbox plugin maybe you will get best answer from them. In the mean time you can pm me FTP account of your site. I will check and try to find other way to solve this bug.

    darioloc81 Friend
    #645126

    Hi thanks for the reply,

    i solved the problem changing the popup with the bootstrap modal popup

    i added this piece of code to my footer can u check if there’s some errors?

    <script>
    ( function($) {
    $(“.artsexylightboxpreview”).attr(“data-toggle”, “modal”);
    $(“.artsexylightboxpreview”).attr(“data-target”, “modalid”);
    $(document).ready(function(){
    $(“.artsexylightboxpreview”).click(function(){
    $(‘#omg’).attr(‘src’, $(this).attr(‘href’));
    $(“#modalid”).modal(‘show’);
    });
    });
    } ) ( jQuery );
    </script>

    <div id=”modalid” class=”modal fade bs-example-modal-lg” tabindex=”-1″ role=”dialog” aria-labelledby=”myLargeModalLabel”>
    <div class=”modal-dialog modal-lg”>
    <div class=”modal-content”>
    <img id=”omg” src=”” />
    </div>
    </div>
    </div>

    thanks in advance

    best regards

    darioloc81 Friend
    #743751

    Hi thanks for the reply,

    i solved the problem changing the popup with the bootstrap modal popup

    i added this piece of code to my footer can u check if there’s some errors?

    <script>
    ( function($) {
    $(“.artsexylightboxpreview”).attr(“data-toggle”, “modal”);
    $(“.artsexylightboxpreview”).attr(“data-target”, “modalid”);
    $(document).ready(function(){
    $(“.artsexylightboxpreview”).click(function(){
    $(‘#omg’).attr(‘src’, $(this).attr(‘href’));
    $(“#modalid”).modal(‘show’);
    });
    });
    } ) ( jQuery );
    </script>

    <div id=”modalid” class=”modal fade bs-example-modal-lg” tabindex=”-1″ role=”dialog” aria-labelledby=”myLargeModalLabel”>
    <div class=”modal-dialog modal-lg”>
    <div class=”modal-content”>
    <img id=”omg” src=”” />
    </div>
    </div>
    </div>

    thanks in advance

    best regards

    Ninja Lead Moderator
    #645189

    Thank you for your sharing. It’s much appreciated!!!

    darioloc81 Friend
    #645271

    also, in order for the popup to work in the module the include jquery option must be set to no

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

This topic contains 7 replies, has 2 voices, and was last updated by  darioloc81 9 years, 6 months ago.

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