We are using Homebox in a few ways that are outside of the current user interface and design patterns. For this reason we had the need to completely disable jQuery UI sortable from executing the way it is currently being done in Homebox. Due to a number of technical issues we needed homebox.js not to call sortable at all.

I have built a patch which addresses this and a few other issues.

This patch does the following:
- Adds an administrative fieldset called "user interaction"
- Adds a config checkbox that allows globally for movable to be disabled (this also disables the checkboxes on the layout config page)
- Adds the $page settings for homebox to Drupal.settings.homebox JS settings array
- Moves the call to jQuery ui sortable to a separate function that is called in the attach method

This patch is meant to be a starting point to other functionality that could potentially be broken out into configurable elements to allow developers to override homebox default behaviour.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arvinsingla’s picture

marco’s picture

Status: Active » Needs review
FileSize
9.59 KB

rerolled, to be tested carefully.

Anybody’s picture

Status: Needs review » Closed (won't fix)

Please create a new Drupal 8+ (3.0.x) issue, referencing this one, if this is still relevant for Drupal 8+ (3.0.x).

As this issue was created for Drupal 7 which is close to EOL and won't receive any new features here anymore (unless someone implements them or sponsors development) I'm closing this issue for cleanup now.

If anyone works on this or has a solution, feel free to reopen! :)
Thank you.