I could find no way to delete a box. Removing them from the UI in features also failed. Removing Boxes as a dependency of my feature, in fact, required editing the feature .info file. It just wouldn't take through the UI.
Falling back on fe_block from http://drupal.org/project/features_extra and http://drupal.org/project/block_edit for now.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | boxes-delete-893846-7.patch | 1.25 KB | EmanueleQuinto |
Comments
Comment #1
jmiccolis commentedIf you look on admin/build/blocks there is a delete link. Does this work for you?
From a UI perspective however I agree that we should provide a way to do this that doesn't make a user go back to that horrid horrid interface..
Comment #2
mlncn commentedThere was not a delete link for me – like other module-provided blocks, there was only a configure link for Boxes provided blocks. Could the lack of a delete link have been due to something else wrong in my setup? Maybe that it was provided by a non-overridden feature component? That is, they were a pushed feature.
Because i just checked, i can delete them in my development environment, but not on the site i had pushed the feature to.
The module's now disabled on the production site but I'll see how awesome it is in Open Atrium, got the latest beta to play with. Thanks.
Comment #3
jmiccolis commentedI think I know what's going on. Boxes that are exported to code cannot be deleted, or rather, to delete them you delete the code. While other exportables offer explicit "disable" commands that's not really relevant with blocks, as they're all disabled (i.e. not visible) by default.
Does that make sense?
Comment #4
mlncn commentedYes, precisely. Thanks!
Comment #5
dalareo commentedIn order to delete previously created boxes (as a result of a misfunction of custom boxes feature) you must delete correspondant entries in table: spaces_overrides.
Comment #6
couloir007 commentedAny chance the "misfunction" will be remedied?
Comment #7
EmanueleQuinto commentedIndeed it was a common request of our users...
We found a solution that seems to work well, allowing user to delete the block. It's not perfect because, if you don't reload the page, deleted boxes still show in the dashboard list even if they are not in the DB anymore.