• Hi.

    I want to use js-only carousel gallery in my blog and the best one I found is this: https://nextgen-gallery.com/templates/galleryview/. I downloaded and activated both NextGEN Gallery 1.4.3 and NextGEN Galleryview 1.0.1 plugins (my blog runs on WordPress 2.9, webserver is nginx 0.6.32, PHP version is 5.2.6-1). But nothing has changed after I activated Galleryview plugin, NextGEN gallery seems to ignore the “template” tag. So if I use example code ([ nggallery id=1 template=galleryview images=0 ]) I’ll just see it as plain text in new post without any gallery. Other Nextgen features work (like image list or image browser) fine, I created 1 album and 1 gallery. So how can I fix the problem and use galleryview plugin?

    Thanks,
    Aleksey.

Viewing 3 replies - 16 through 18 (of 18 total)
  • Will

    (@wceolin)

    I solved it.
    It was a conflict with another plugin. I’ve just disable him.
    All is OK now.

    I had the blank white screen problem, now solved. It was a script conflict issue which, in my case, was nothing more (or less) than the order in which various javascripts were loading. I had five total scripts to line up, not to mention the document.ready stuff. There were jQuery, the three jQuery GalleryView-related scripts (easing, galleryview, timers), plus some other jQuery UI tools I was using.

    This order did NOT work:

    1. jQuery 1.4.2
    2. jQuery easing 1.2
    3. jQuery GalleryView 1.1-pack
    4. jQuery timers 1.1.2
    5. some jQuery Tools (various bits from a UI library)

    This order worked:

    1. jQuery 1.4.2
    2. some jQuery Tools (various bits from a UI library)
    3. jQuery easing 1.2
    4. jQuery GalleryView 1.1-pack
    5. jQuery timers 1.1.2

    The trick was getting my UI Tools stuff below the jQuery call and above the easing/galleryview/timers scripts.

    Troubleshooting Guesswork:
    I viewed the HTML source of my page to see the script ordering in the head section of the HTML. I made a local copy of this code, loaded it up in my browser, then shuffled the script order to see if things might change. Soon I found an order that worked for my combination of scripts.

    The Fix:
    To make my random UI tools script load where I needed it and not break the nggGalleryView Plugin, I hacked the plugin file nggGalleryview.php. I imagine there’s a more elegant solution, right? Anyway, the hack was to add a wp_enqueue_script call to the load_scripts() function at line 38 of nggGalleryview.php. I used that to load my other script in the working order, rather than where it was before.

    The Lesson Learned:
    Obviously this was a particular case, but I now understand that the order that scripts are loaded can affect whether or not they work together. Sometimes it’s a simple fix (or hack, ahem).

    Hope this helps somebody else in your own troubleshooting hours-on-end. Good luck!

    artur

    (@fotoarturcom)

    figcar,

    did u get this working on WP3.0 + NextGen beta 1.6?

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘NextGEN Gallery templates problem’ is closed to new replies.