Closed (fixed)
Project:
DraggableViews
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 00:39 UTC
Updated:
19 Mar 2012 at 21:40 UTC
If I have my draggable view as a block display, not a page display I can't save the order.
When you click save you get redirected to the home page and nothing saves. It needs to submit to the same page the form is on to save properly.
If it turns out for whatever reason it isn't possible to have it work in a block then there should be a known issues section of the readme to notify people of this.
Comments
Comment #1
medden commentedduplicate issue here.
It did used to work, and hopefully someone can find a fix.
Temporary solution is to get the older version from the repository.
Comment #2
rooby commentedIf you look closely you will see that I created both this issue and the one you referenced as a duplicate.
This is a different issue with a different title and a differnet description.
They are most definitely unrelated.
Even if both features used to work and broke at the same time, they are different and need different issues so it is easy to keep track of things.
Comment #3
Nolza commentedI can confirm similar problems on my end as well. I am using an entity content configuration to attach the views to node. I am able to drag, but not able to submit the save. I am also taken back to the front page with no change save to the views.
Comment #4
rooby commentedI imagine it is just that $form_state['redirect'] needs setting for block views in draggableviews_views_form_submit().
I will take a look sometime soon if it doesn't get solved before.
Comment #5
jasonawantHi,
I'm experiencing a similar issue, but it maybe different. Let me know if I should create a new issue if this is different.
I'm using Content: Draggable views in a view block display, but there is no Save button. When inspecting the containing div is empty.
<div class="form-actions form-wrapper" id="edit-actions"></div>Whereas on a view page display, the div contains the submit element.
<div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-submit" name="op" value="Save Order" class="form-submit"></div>Without a save button in the view block display, I can not save the order.
Any help would be greatly appreciated.
Thanks, Jason.
Comment #6
ygerasimov commentedI believe problem was in #action element of the draggableviews form if it is in block. Now it is fixed. Commit http://drupalcode.org/project/draggableviews.git/commit/a488170
@c4jwant I have a feeling that your problem is not really related to this issue. Could you please open new ticket if your problem still remains?