Closed (outdated)
Project:
Jquery Drag Drop Blocks
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2009 at 18:30 UTC
Updated:
27 Jun 2018 at 12:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
k3vin commented+1
Comment #2
vlooivlerke commentedCool to play with, but serves no function.
This module needs a save position button and a permissions settings page.
Thanks for starting this module.
Comment #3
Anonymous (not verified) commentedHaha indeed, its just a useless thing right now.
Comment #4
nimrod98 commentedYeah its just to play around. jQuery doesn't save when u refresh the page
Comment #5
kenorb commented+1
Comment #6
iam_himanshu commentedIv just tried to make the save settings thing to work..
Just place the following code after line number 79 in jquery_drag_drop.module
After this make a php file in the root directory with name blocksave.php and put the following code in it..
Create a new table { drop_block_info } in the database with Following fields:
1 dragid (Primary Auto Increment)
2 bid
3 module (varchar)
4 region (varchar)
5 delta (integer)
6 weight (tiny int)
7 uid (int)
This should work fine now...
P:S :- Its just a temporary implementation for my use..
You'll have to customize it to suit you.
Himanshu
Ebizontek.
Comment #7
Saboteur commentedThanks a lot!
But when I paste your code --- module refuses to work :(((
I've created table in my DB and after several tests it was empty...
What this may be?
I think PHP-file works fine, but pathch in MODULE-file fails.
I don't know AJAX well, so i can't solve it. May be you can publish your new MODULE-file???
Comment #8
hefox commentedNot sure if I should make my own topic, but here works I guess.
is the module still working on this?
If so, I sorta made a module similar to this, want to try and combine?
It also drags, drops, saves the settings per users / anonymous user session id (doesn't effect drupal block configuration) with per region / block/ theme ID/selector configuration. Major difference is it's not using slider or anything and just at top of region atm. Needs some cleaning up, but here's a demo : http://demo.intheclosets.com/node/1 .
Additional extras include collapsible body that saves like the drag does and removing block if block can be removed by user (uses drupal core block remove per user. )
Comment #9
vlooivlerke commentedThis is a great demo.
If it is possible to combine your module with the region_manager module. In this way you can use the drag and drop feature as a design instrument in drupal block configuration.
Because drupal blocks are region specific and you cant duplicate blocks, dragging blocks to different regions will cause a night mare.
But if you use the region manager to disable the block the minute it is dragged to a new region, and then enabled in the new region on the drop action. This in turn will (with the help of region manager) move the block visibility settings (as specified in the previous region) to the new region.
Moving blocks up and down in the same region will also improve the design experience with drupal blocks.
I have this module installed but your module is much better
Great work, you should start your own project
Comment #10
cels commentedDrag and drop would be a cool feature to easily manage the blocks instead of using the current admin block interface.
It is unfortunate that only a demonstration of drag and drop.
Comment #11
leovarg commentedCould you share your Module? looks great!
Comment #12
hefox commentedIt's here, but I haven't touched it in months so no idea how well it works anymore XD
http://foxis.intheclosets.com/user-block-move
Comment #13
kenorb commented#12
Uploaded, in case when server goes down.
Comment #14
kenorb commentedMarked as duplicated of this: #388550: Javascript error on drop.
Comment #15
kenorb commentedDrupal 5 and Drupal 6 is no longer officially supported. If you think this issue is still relevant for 8.x, feel free to re-open.