Active
Project:
Sortable Grid Views Plugin
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
14 Feb 2012 at 11:29 UTC
Updated:
22 Oct 2012 at 14:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
Countzero commentedSorry for the late answer.
I need more information to help you.
Did you clear your caches ? Is JQuery UI installed correctly ? etc.
Comment #2
aiphesit's an old issue for me, and i actually not work on this...i will update this post when i will go back on this
i do all you ask,clear cache, jquery ui ok
thanks
Comment #3
aiphescache clear via drush as usual on my dev install.
jQuery UI 1.7.3
jQuery Update 1.3.2
and in views style plugin :
Row style plugin :
Comment #4
Countzero commentedShould have noticed it form the start : you need Views-3.x.
Comment #5
aiphesi think the issue come from the jquery version , but 1.7 seem to break some important stuff on drupal admin...so how can i do that whithout trouble ?
Comment #6
Countzero commentedNo it doesn't : you really need Views-3.X, as stated in my previous post.
Comment #7
aiphesagree with you, because on D7 install i can choose grid sorting..thanks for tips
Comment #8
Countzero commentedNice. Closing.
Comment #9
aiphesreopen, because i upgrade views 2 to 3...and after looking the screencast and other documentation, i get 2 displays for a grid view like video, but on the sort one ,no ability to make sorting...
i miss something but hard to say what...these are my settings in attached file
thanks
Comment #10
Countzero commentedD6 code hasn't been updated since long ago, and probably won't be anymore.
Any Javascript error on the sort display page ?
Comment #11
aiphesyes these are errors :
Comment #12
Countzero commentedYou have a problem with your JQuery UI installation. I don't think it has anything to do with Sgrid.
Please fix it and come back here if it still doesn't work.
Comment #13
aiphesyess , jquery ui issue...strange but fixed by adding these lines in template.php
?>
will see if it be needed on prod website
Comment #14
Countzero commentedGlad you solved your issue.
When adding js and css files via drupal functions, its always a good idea to work with absolute paths in the form :
drupal_add_js(drupal_get_path('module or theme', 'module or theme name') . '/subpath/yourfile.js');... for example. This way you ensure your path is always valid.
Have a nice day.
Comment #15
aipheshere, which can be the good code ?
Comment #16
Countzero commentedUnless JQuery UI is installed under the 'libraries' module folder, this won't work.
AFAIK, there's not way to specify the libraries path (sites/all/libraries) in a dynamic way in D6.
So your best bet would probably be jquery_ui_get_path() :
drupal_add_js(jquery_ui_get_path() . '/subpath_if_applicable/yourfile.js');There may be special functions in the module to add specific JQuery UI components. Please refer to the doc.
BTW, this is getting really off topic.