Replace GD Modal with Simple Lightbox

This topic contains 5 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #403004

    Wuuza
    Free User
    Post count: 18

    Hy,
    is there a chance you can help me to replace GD Modal with the simple Lightbox Plugin by Archetype?

    I’ve deactivate GD Modal at gp->design->details but the images now link to their attachment page.

    Here’s their activation Know-How:

    https://github.com/archetyped/simple-lightbox/wiki/Activation
    ‘$content = ‘content with links and stuff to activate’;
    if ( function_exists(‘slb_activate’) ) {
    $content = slb_activate($content);
    }
    echo $content;’

    But i don’t know what i need to insert at ”$content = ‘content with links and stuff to activate’;’ to activate the simplelightbox on every GD Page and where i need to place the snippet.

    Regards 🙂

    #403035

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    I don’t see a way to do this without customisation, usually its just a case of adding a class to the link but i can’t see this info for that lightbox.

    Thanks,

    Stiofan

    #403131

    Wuuza
    Free User
    Post count: 18

    Hy,
    don’t really know what you need to do this :/
    But with GD Modal it’s in english and there’s no translating hook for now.

    Only found the shortcode instructions, maybe you can help me to add this at every image 🙂

    https://github.com/archetyped/simple-lightbox/wiki/Shortcodes

    #403205

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It would be difficult to implement this at the moment and we will be changing the lightbox script used in GD over the next few weeks, it might be best to wait.

    Thanks,

    Stiofan

    #403212

    Wuuza
    Free User
    Post count: 18

    Mhmh, sounds like a plan 🙂
    A last question, why it isn’t implemented for now to add the images from the local wordpress medialibary?
    Would fix both of my problems automatically, or something i’ve failed to see?

    Regards 🙂

    #403237

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Adding an image to WP creates many entries in the standard WP DB, a directroy site with say 1 million listings and then with 10 images each the DB would be far bigger than it needs to be and far slower, we store only the first image in the WP way and then store the rest in our own table to avoid this.

    Thanks,

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount