WordPress.org

Ready to get started?Download WordPress

Forums

Polaroids
coinflict with plugin (6 posts)

  1. cheesburger
    Member
    Posted 2 years ago #

    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

    http://wordpress.org/extend/themes/polaroids/

  2. Mark Jeldi
    Member
    Posted 2 years ago #

    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', 'http://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.

  3. maritimefly
    Member
    Posted 2 years ago #

    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.

  4. Mark Jeldi
    Member
    Posted 2 years ago #

    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...

    http://wordpress.org/extend/plugins/nextgen-gallery-optimizer/

    Cheers,
    Mark.

  5. cheesburger
    Member
    Posted 2 years ago #

    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

  6. Mark Jeldi
    Member
    Posted 2 years ago #

    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.

    http://wordpress.org/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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags