A nice feature will be to add "Draggable Grid" display style to the existing "Draggable Table". A table works pretty well in many cases but in the case of image galleries nothing beats the grid when it comes to usability. It is not convenient at all to try to grag and scroll at the same time if you have too many image thumbnails on the page.

How difficult can that be?

Comments

sevi’s picture

Status: Active » Closed (won't fix)

Nice feature(/module).
Unfortunately I couldn't reuse any code from DraggableViews to provide "Draggable grid functionality".
Thus this "feature" would mean a brand new module and a lot of time to spend on -> won't fix.

john.kenney’s picture

i realize this idea has been nixed, but i add my vote that this would be fantastic functionality to have. so far i am not able to figure out a way to do drag and drop for image galleries. functionality equivalent to how this module works, but for grid layout would solve a lot of problems for a lot of people, i would think.

danny_joris’s picture

It looks like the media gallery module will have this functionality for D7: http://drupal.org/project/media_gallery

But it would be great to have for D6 indeed. A general one for views.

danny_joris’s picture

Also the homebox module comes close to this functionality: http://drupal.org/project/homebox

knalstaaf’s picture

Both deliver poor solutions. Patience will bring us more possibilities hopefully :)

itangalo’s picture

For anyone else stumbling on this issue: I just found "Sortable Grid Views Plugin" (http://drupal.org/project/sgrid), that looks kind of promising.

danny_joris’s picture

A few months ago I tried to solve this issue 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

The code is here: https://github.com/DannyJoris/sortableviews Feel free to fork it and improve/modify it.

I'll post this link in the sgrid issue queue as well.

ressa’s picture

Version: 6.x-3.x-dev » 7.x-2.0

You can now drag and drop in a grid with DraggableViews, just select "Format: HTML list". The items will float to the left.

kirilius’s picture

Thanks a lot!

ressa’s picture

You're welcome! I was too quick and didn't test it as a normal user, so I assumed the items were also floated and bordered for them.

But you also have too add this to your CSS, to prevent the parent div from collapsing, make the items float left, and set margin and padding. The class view-draggable comes from the name of your View. You might want to set a height also, so that the blocks are all same size, preventing item float chaos.

Tested and working in Firefox 18, Chrome 23 and IE8:

.view-draggable {
  display: inline-block;
  width: 100%;
}

.view-draggable li.views-row {
  border: 1px solid #EEE;
  display: block;
  float: left;  
  margin: 10px;
  padding: 5px;
  width: 180px;
}
Bernsch’s picture

Any News here?
I see in this Video a solution to sort the grid-format in a view:
http://www.youtube.com/watch?v=pxetnlKzZBE

Is this commited in 7.x-2.0 or in 7.x-2.x-dev (2013-Apr-12)?
If so, we can use this amount as as fixed!

Otherwise include draggable grid in the Roadmap to 7.x-2.1 ?!?
Thanks for a Info.

Here is a duplicate of this issues #1843944: Draggable Grid

studio-days’s picture

Issue summary: View changes

THIS FEATURE SHOULD BE IN THE README / FEATURE LIST!!!

I was searching for days for a solution like this and wound up right back where I started ;)

Thanks for building this.

babbage’s picture

Status: Closed (won't fix) » Closed (fixed)

Updating status as this subsequently became possible, but from the status a potential searcher might be put off.