Dan White
Forum Replies Created
-
OK! That worked. But now I have a new issue. The galleryview plugin itself causes errors in IE8. Because of IE’s problem with jQuery’s .css(). In addition, I have heavily modified the plugin to do exactly what I want it to. I would rather avoid this, because any update would overwrite my changes and break the site.
I have decided that I would like to disable NextGen’s scripts & css totally. Manually include the Cycle plugin and create my own instance of it, where I have full control of the jquery variables and css.
However, I do not know how to go about this. I have searched for easy ways to query the data from NextGen Gallery, but no luck. Could you give me any recommendations?
Thanks a lot!
One more thing. BTW, that worked! Thanks! However, after getting that to work I realized that jquery is actually being loaded the second time by nextgen galleyview inside the nggGalleryView.php file.
if I comment out:
add_action('wp_print_scripts', array(&$this, 'load_scripts') );
Which calls:
function load_scripts() {
wp_enqueue_script('easing', $this->plugin_url . 'jquery.easing.1.2.js', array('jquery'), '1.2');
wp_enqueue_script('galleryview', $this->plugin_url . 'jquery.galleryview-1.1.js', array('jquery'), '1.1');
wp_enqueue_script('timers', $this->plugin_url . 'jquery.timers-1.1.2.js', array('jquery'), '1.1.2');
}
Then jquery is not called again and neither are any of the galleryview scripts. The problem is that I don’t see that load_scripts calls jquery anywhere. So where, how is it being included?
Thanks!
I’m still having issues with this. I define it in wp-config and nothing. My situation is that I am using the NextGen Galleryview addon. I already include jquery on my page and I don’t need half the other scripts that are being loaded. I especially, would like NextGen from loading Jquery a second time.
Any help would be greatly appreciated.