@bwoff – Please update to the current version of NextGEN Gallery we no longer offer support for the NextGEN Legacy versions (1.19.13 and earlier).
Thanks!
– Cais.
Thread Starter
bwoff
(@bwoff)
im afraid to do that to be quite honest.
@bwoff – It’s a very big jump from NextGEN Legacy to current versions of NextGEN Gallery … all I can suggest to ease your concerns would be to have a complete fully verified back-up of your site (especially with the database) before updating. If you are not happy you can restore the site backup.
I would still recommend updating no matter the case as we have dealt with several security concerns since NextGEN Legacy and those need to be addressed no matter the case since we only support the current release of the plugin.
– Cais.
Thread Starter
bwoff
(@bwoff)
i appreciate the honest advice.
@bwoff – If the problem persists, please let us know.
Thanks!
– Cais.
For those still using version 1.9.13 of NGGallery.
You need to patch the saveImageOrder() function. There are many ways to do this.
Here is how I fixed the sort order problem without modifying the plugin code.
1. I created a file in my theme called admin.js with the following code in it
jQuery(function() {
window.saveImageOrder = function ()
{
var serial = [];
jQuery("div.imageBox, div.imageBoxHighlighted").each(function () {
serial.push("sortArray[]=" + this.id);
});
jQuery('input[name=sortorder]').val(serial.join('&'));
}
});
2. added the following code to my functions.php file
function admin_enqueue_script() {
if(is_admin()){
wp_enqueue_script('admin_script', get_bloginfo('template_url').'/admin.js', array('jquery'));
}
}
add_action('init', 'admin_enqueue_script');
@patforg – Thanks for sharing this!!
– Cais.