WordPress.org

Ready to get started?Download WordPress

Forums

Category Grid View Gallery
CGView conflict with WP jQuery Lightbox (9 posts)

  1. Matthias Pabst
    Member
    Posted 2 years ago #

    I want to use WP jQuery Lightbox for showing photos in my articles. But when activating CGView the jQuery Lightbox plugin stops working. Maybe there's a jQuery conflict?

    http://wordpress.org/extend/plugins/category-grid-view-gallery/

  2. pictureitsolved
    Member
    Posted 2 years ago #

    I noticed the same problem.

    JQuery Colorbox (v 4.2) was working fine to bring up a larger image when a thumbnail was clicked, until I activated Category Grid View Gallery (v 2.2.1). CGVG works great to display a grid of thumbnails and link to their posts (which is what I want, see my test page on http://www.debbievontempsky.com/test-category-grid-view-plugin/), but now I just get a spinning loading animation when thumbnails on other pages are clicked.

    Is there a way to inhibit the CGVG code from being inserted in pages other than ones where I insert the shortcode? I don't expect to need the functionality of both plugins on the same page.

  3. pictureitsolved
    Member
    Posted 2 years ago #

    I found a way to get around the conflict. I changed the name of category-grid-view-gallery/js/jquery.colorbox-min.js

    (I've removed my test page also)

  4. techotronic
    Member
    Posted 2 years ago #

    @Matthias Pabst: are you sure that you are in the right forum? This forum is for the jQuery Colorbox plugin not the WP jQuery Lightbox plugin...

  5. techotronic
    Member
    Posted 2 years ago #

    @pictureitsolved: if you are using another plugin that also brings along the Colorbox library, my plugin won't work.
    By renaming the other library file you disabled it, so my plugin works again.
    Beware of updates of CGVG though, you'll have to rename the file over and over again.
    Cheers,
    Arne

  6. Matthias Pabst
    Member
    Posted 2 years ago #

    @techotronic: This thread is about the "Category Grid View Gallery". Please see the title.

  7. techotronic
    Member
    Posted 2 years ago #

    could you remove the "jquery-colorbox" tag then?
    As long as the tag is linked in this thread, this thread is displayed in the jQuery Colorbox forums.

  8. Matthias Pabst
    Member
    Posted 2 years ago #

    I'm sorry, I can't remove it because I didn't add this tag. I can only remove the first tag. See this screenshot: http://d.pr/A9R5

    Please ask @pictureitsolved.

  9. pictureitsolved
    Member
    Posted 2 years ago #

    @techotronic: Yes, thanks, I realize renaming is only a workaround and not a good fix. And I've removed the jQuery Colorbox tag. (Thanks, @Matthias Pabst!)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic