This looks really promising, but I can't get it to work at all - there's nothing visible to drag. The documentation at http://drupal.org/node/283498 ends promisingly with "I want to introduce the module by leading you through two little tutorials:" but the tutorials are missing. Any chance of getting these done? or at least a sample setup?

In addition, I've managed to get it to give an error message:
Fatal error: Call to a member function get_minimum_value() on a non-object in /home/adambro3/public_html/cpag/sites/all/modules/draggableviews/draggableviews.inc on line 698

CommentFileSizeAuthor
#5 draggable_views_step5.png98.73 KBadam_b

Comments

antiorario’s picture

After setting up a bunch of draggable views successfully, one (on the same installation of Drupal) gave me the same message you got. Apparently, I had "Items to display" set to 3 (which was the default for my view). When I set it to 0 (Unlimited) the error went away.

I hope it helps.

sevi’s picture

Status: Active » Closed (duplicate)

Concerning handbook pages:
There's something wrong with the handbook pages at the moment. http://drupal.org/handbook/customization says: "PLEASE NOTE: The structure of this handbook has been lost following changes to the site. The drupal.org site team is aware of the problem and hope to have the handbook restored shortly. Thanks for your patience.".
These two links are missing at the handbook page:
Cofigure a draggable listing of nodes
Congifure a tree-like structure.

Concerning the bug:
I think now I know why this error occurs. I'm currently working on a patch.

Concerning this issue:
I'll call this issue a duplicate as I think this is the same bug as reported here #375950: Can't set "number of items to display" ---> Fatal error:.....

greetings, sevi

sevi’s picture

Oh and I forgot to say: The handbook pages are written for 6.x-3.1 only. The current -dev version (which should be used; will be released soon) offers more features (in large parts for developers) and is easier to use (obligatory use of CCK-fields is obsoleted).
Until now there is a short install-guide in the readme.txt.

sevi’s picture

This looks really promising, but I can't get it to work at all - there's nothing visible to drag.

An idea: The order-field must not be the very first field in the field list (..If you don't click "Show input fields").
Then the drag-handle would be attached to the column that will be hidden by javascipt.

Might that be the case?

greetings, sevi

adam_b’s picture

StatusFileSize
new98.73 KB

Okay... there are signs of progress, thanks, but I'm not there yet.

The handbook now shows the tutorials again, but I ignored them in favour of the readme.txt instructions.
- set the Draggable Views settings number-values to 10
- did steps 1-4 of readme.txt
- did step 5 of readme.txt I think, but it's a very complicated window - I've attached a screen grab

I can now get the view to display with the handles, but:
- although I've set the Value #1 field as "Exclude from display" in the Fields settings, it (or something similar) is still displayed in a pull-down field on the right of the view
- although the node highlights when I click on it, I can't drag the handle to change the order
- when I try to drag the handle and then click the Save button, I get an alert: "The structure was broken. It has been repaired successfully."

Any more suggestions please?

sevi’s picture

Status: Closed (duplicate) » Closed (fixed)