Closed (fixed)
Project:
Node Gallery
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2011 at 04:01 UTC
Updated:
4 Aug 2011 at 05:11 UTC
The "Use jQuery to sort" option for image sorting will let me drag the images to a new sort order but when I hit save it says nothing was changed. I have determined that it is not related to the cache, clean URLs option, or site maintenance. I have 6.x-2.0-alpha1 which is used by Colorbox. It is jQuery 1.3.2. The same issue effects 6.x-3.0-beta1 as tried switching versions to see if it changed anything.
Comments
Comment #1
justintime commentedDoes the non-jquery sort work? http://example.com/node/[NID]/sort/no_jquery will give it to you even if you have the jquery one turned on. You refer to a version of 6.x-2.0-alpha1 - what module is at that version?
Bumping this down to a support request until we determine there's a problem with the code itself for sure.
Comment #2
alricsca commentedYes it does work with it turned off. The module is http://drupal.org/project/jquery_update which is used by Colorbox.
Comment #3
justintime commentedMeh, the nightmare that is jquery interdependencies and Drupal strikes again.
So, colorbox requires jquery_update. Great. Installing jquery_update will install jquery version 1.3.2. Also great.
What's not great, is that if you use jquery_ui, jquery_ui recommends that you download an install jquery.ui (libraries) version 1.6. Version 1.6 of jquery_ui is not compatible with jquery version 1.3.2.
To add to the confusion, the jquery site recommends using jquery_ui version 1.8 with jquery 1.3.2+. However, jquery.ui version 1.8 is incompatible with all versions of jquery_ui.module (even dev as of today - see http://drupal.org/node/749126).
So, I was able to reproduce your problem by installing jquery_update, and I was finally able to fix it by:
1) install latest recommended version of jquery_update
2) install latest recommended version of jquery_ui
3) install jquery_ui libraries version *1.7* into the jquery.ui folder as indicated in the readme.
Clear all Drupal caches, empty all browser caches, and hit the sort page.
Comment #4
scroogie commentedThis is already in the documentation, right? So we can probably close this.
Comment #5
justintime commentedmarking fixed