• I like polaroids theme very much.
    I use it for a photography blog.

    I downloaded “NextGEN Gallery” and “NextGEN Gallery Optimizer” plugins to show photos in my articles.

    Now I noticed there’s a conflict between the Polaroids theme and the Optimizer plugin.
    When I flag the option “Use Fancybox lightbox effect” in the Optimizer plugin, the Footer Menu of the template stops working (it is always “expanded”).

    I know the Optimizer plugins makes a wide use of jQuery but I don’t know how to make the theme and the plugin work togheter.

    Any help is appreciated. Thanks

    Alberto

    https://www.ads-software.com/extend/themes/polaroids/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Alberto,

    Thanks for using NextGEN Gallery Optimizer!

    I’ve been doing some testing, and the problem appears to be a conflict between the jQuery and Mootools javascript libraries.

    I’ve come up with an idea for a compatibility fix that I’ll have to integrate in the next version of Optimizer, but in the meantime, the easiest way to get the two working together is to use WordPress’s built-in no-conflict jQuery instead of the faster Google-hosted version.

    To do this, simply edit nextgen-optimizer-scripts-and-styles.php at line 30:

    Replace this:

    function nggo_load_jquery() {
    	wp_deregister_script('jquery');
    	wp_register_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/'.NGGO_JQUERY_VERSION.'/jquery.min.js', false, NGGO_JQUERY_VERSION);
    	wp_enqueue_script('jquery');
    }

    With this:

    function nggo_load_jquery() {
    wp_enqueue_script('jquery');
    }

    Hope this helps!
    Mark.

    I activated the theme and had one block of pics on the front page and no way of exiting the the post once opened. The pictures when clicked to expand went to huge proportions, off the page. Had no way of changing theme or page options. It was an empty theme in the sense as it was incomplete.

    Have no idea how you got more than one post showing on your home page. tried getting rid of archives etc on the bottom where my other widgets were but haven’t a clue how that was achieved.
    love the idea of the theme. I hope it gets developed soon. Cheers.

    Hi again Alberto,

    Just a quick note to say I’ve just updated NextGEN Gallery Optimizer (version 1.0.8) and it is now fully-compatible with the Polaroids theme…

    https://www.ads-software.com/extend/plugins/nextgen-gallery-optimizer/

    Cheers,
    Mark.

    Thread Starter cheesburger

    (@cheesburger)

    Hi Mark.
    I saw your upgrade and I downloaded the new version yesterday…. BUT

    1 – I had to use again the workaround code you suggested me the first time. With the default code of the plugin I again have the problem with the “expanded” menu.

    2- I had to paste again the extra code to have “Image 10 / 30” in the title.

    Thanks for the reply!

    Cheers,
    Alberto

    Hi Alberto,

    I’ve just released v1.1 of Optimizer, and thanks to your feedback I’ve added an option where you can now choose to use either WordPress’s built-in jQuery (like in our earlier fix), or the original Google-hosted version.

    https://www.ads-software.com/extend/plugins/nextgen-gallery-optimizer/

    The fancy image counter is not included as yet, however, so you would still need to add that in manually…but there are a number of other improvements in this release you might like to take advantage of.

    Cheers,
    Mark.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Polaroids] coinflict with plugin’ is closed to new replies.