How to Add Drag and Drop Blocks to any Node on your Drupal Website

Screen shot 2010 10 01 at 11.23.13 AM

How to Add Drag and Drop Blocks to any Node on your Drupal Website

Every now and then, LevelTen is approached by a client with a specific request that requires more than adding an available module. Such a case led to the design of the Spaces_Node module. The client wanted to be able to create promotional pages and add content, which is easy enough in Drupal. However, the client then wanted to choose which blocks showed up on each page. We found the best solution to allow end users to configure blocks on a page was to create a new module: Spaces_Node. In this demo, I'll go over how you can add drag and drop block functionality to any node on your Drupal website. Spaces_node is a companion module to spaces and context. It allows you to manage your spaces settings on a per node basis, similar to the spaces_taxonomy, spaces_user and spaces_og modules. In this video you can see how to drag and drop blocks onto individual nodes. One of the tricks in getting this all to work is to make sure your theme has the necessary "magic." Either grab one of the Open Atrium themes to start with or follow my quick and dirty instructions. I covered the Spaces_Node module in both Atrium and stock Drupal, but if you have any questions, feel free to comment. I'd also like to hear your thoughts or suggestions to make this module more user friendly or more capable.

Related Posts

Creating Related Content Blocks: Side-by-side comparison of Blocks via Views vs Content Panes via Panels

Kristin Brinner
Read more

Drupal node publishing options

Tom McCracken
Read more

Drupal URL Redirect after Node Creation

Chris Sloan
Read more

Improve Drupal Website Performance on Shared Hosting

Rachel
Read more

Building A Website Made Easy With Drupal Distributions

Felipa Villegas
Read more

Ten Ways to Make Your Drupal Website More Social

Colin
Read more