I fully do not grasp the full function of this module. There is no documentation stating what it really does.
What I think it does or would like it to do.
Provide page #1 that I can sort and then save. (where does the save go?)
Then create a new page display and sort that page #2 based on the saved data I just made in page #1.
Is this what this module accomplishes?
Comments
Comment #1
elliotw commentedProvide page #1 that I can sort and then save.You can create a draggableview with a views page display. The nodes that are listed will be able to be reordered by dragging. The order can be saved with a save button that appears at the bottom of the views.
(where does the save go?)Its the weight variable that gets saved. To re-establish the order you made, simply sort by the weight that you used.
Then create a new page display and sort that page #2 based on the saved data I just made in page #1.Are you asking to just make a normal view display (possibly with the same nodes as page #1) and have the order be the same as you left them on page #1? If so, then yes, you can. Whatever weight you used to order page #1, just use the same weight to order page #2.
Comment #2
sevi commentedHey,
I'm sorry for the late answer. I was very busy last week.
What the module does?
Have a look at the Demo page at http://83.64.250.36/drupal/draggable where the new dev-version is online. This is the first time paging is fully supported.
The functionality is similar to http://yoursite?q=admin/build/menu-customize/navigation. Actually the hierarchy with draggableviews level it not limited. (navigation is limited to 9 levels).
Where does the save go?This depends on the implementation.
By default the "native-handler" which comes with the package saves data to a new db table (the user has no bearing on this).
Other than "CCK-handler" which saves the data to the CCK-fields of the nodes. These CCK-fields must be created and specified by the user.
A detailed documentation will follow as soon as the code of this module stops changing so much.
Please be patient.
Comment #3
sevi commentedUpdated Documentation for the time being.
Comment #4
mitchell commentedThis is also a good handbook page: 1 - Configure a draggable listing of nodes
Comment #6
ressaI think the documentation included in the module is almost there, I added a few lines to include steps that were not included. What do you think?
Draggableviews
---------------
This module provides a style plugin for views. This plugin allows dragging nodes and saving the new structure.
Quick install:
1) Activate Draggableviews module at yoursite?q=admin/build/modules.
2) Navigate to views edit-page and Click the "+" at the "Fields" section and choose "Draggableviews: Order" -> Click Add button.
3) Click the currently enabled style plugin ("Basic settings" section). Choose Draggable Table and click Update button.
4) Enter style plugin settings by clicking the little cogwheel next to "Draggable Table" style plugin
5) Scroll down to the "Draggable Table settings" and choose the "Order Field" you added just before, probably called "Order". Choose "Native" handler and click Update button.
6) Click the "+" at the "Sort criteria" section and choose "DraggableViews: Order". For sorting order, choose "Ascending" and place it as the first Sort criteria.
7) Save the view and you're done.
Comment #7
ressaForgot to update Version and Status.
Comment #8
sevi commented..not sure.
I think I can presume that the user knows how to navigate at the Views UI.
If the user doesn't know Views he wouldn't be able to follow this documentation anyway - even with your adaptation.
Nonetheless, I added the "Activate the module" keyword and "place it as the first Sort criteria".
Thanks,
sevi
Comment #9
ressaI agree, but my additions are based on the writing style in the current README.txt in the module, version = "6.x-3.4":
Draggableviews
---------------
This module provides a style plugin for views. This plugin allows dragging nodes and saving the new structure.
Quick install:
1) Activate Draggableviews module at yoursite?q=admin/build/modules.
2) Navigate to views edit-page and Click the "+" at the "Fields" section and choose "Draggableviews: Order" -> Click Add button.
3) Click the currently enabled style plugin ("Basic settings" section). Choose Draggable Table and click Update button.
4) Enter style plugin settings by clicking the little cogwheel next to "Draggable Table" style plugin
5) Set the Order Field from 2) and choose "Native" handler. Click Update button.
6) Save the view and you're done.
Comment #10
sevi commentedOh, ok :) That's why the text sounded very familiar for me :)
Comment #11
TelFiRE commentedOnly problem is, following these instructions exactly on 3 separate D7 installs, it does not work. Everything works as expected, but when you hit save, nothing happens. These variables are not saved or stored in any way as far as I can tell.
Comment #12
harry slaughterSpent about 15 minutes following the tutorial at http://thedesignspace.net/MT2archives/000666.html#.T6Bg7qtYua8 (good luck navigating the ads). Ended up with some abomination that appeared to be a draggable view but the dragging didn't work and save button didn't work either.
If anyone has actually gotten this to work, it would be wonderful to see a screencast or maybe even an exported view.
I've never seen anything in Drupal this difficult to configure (although context and spaces can sure lead you down a path of pain).
Comment #13
harry slaughterWith the help of this video, I got it working a bit better: http://www.youtube.com/watch?v=iF23V02Imj8
Comment #14
istryker commentedMarking as close wont fix as 6.x is now unsupported