Hi,

I just found out about this project.

A few months ago I tried to solve this issue of drag-and-drop views as well by creating a module based on draggable views. What it can do is sort views with drag-and-drop, but it's very limited. I can't make it to work with pagers for example. It's based on views 6.x-2.x. I never used it on a production site because I feel it's pretty experimental. I did include some css that mimicked the style of the drag and drop functionality of the homebox and context modules. There is still much to improve to the module, but I don't have much time atm.

The code is here: https://github.com/DannyJoris/sortableviews Feel free to fork it and improve/modify it or use the code for this project.

On a sidenote: I very quickly tried your module and it didn't seem to work with pagers either? And re-ordering the grid sometimes let me put the blocks kind of all over the place, instead of nicely in the grid.

Comments

Countzero’s picture

Assigned: Unassigned » Countzero
Category: bug » task

Hello and thanks for your proposal.

Sortable Grid was initially a D7 project, so I don't know how much of your ideas I could use for it. I'll have a deeper look when I'll have some time, which I don't know when it will be.

I didn't aim at a general purpose sortable views plugin, because Draggable Views is already there and is very mature and widely used.

Sgrid wanted to just fill a gap about ergonomy : proposing a sortable grid, which is best suited for some kinds of content, mainly photo galleries. I had use cases for that functionality on several projects and read a few forum posts about it, so I jumped onboard and saw what I could do, enhancing my understanding of tha Views API in the process, which is a good thing anyway.

As for pager support, I took the simplest approach : I dropped it. First because it would have rendered the problem much more complicated and I hadn't the time to work on it ; second because I couldn't see which use cases it would have addressed.

I admit that the animation during the d&d could be better, but as current users don't seem to be bothered about it, I didn't try to enhance the module on this particular issue as of now.

I mark this issue as a task for now, as you don't really describe a bug, and will see later if I can put your work to use. Maybe the Views 2 stuff could help me.

Thanks again for your interest in this project.

Countzero’s picture

Status: Active » Closed (fixed)

There will probably won't be any work on the D6/Views2 version. Closing.