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.

CommentFileSizeAuthor
#7 boxes-delete-893846-7.patch1.25 KBEmanueleQuinto

Comments

jmiccolis’s picture

If 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..

mlncn’s picture

There 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.

jmiccolis’s picture

Category: bug » support

I 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?

mlncn’s picture

Status: Active » Closed (works as designed)

Yes, precisely. Thanks!

dalareo’s picture

In 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.

couloir007’s picture

Any chance the "misfunction" will be remedied?

EmanueleQuinto’s picture

Category: support » feature
Status: Closed (works as designed) » Active
StatusFileSize
new1.25 KB

Indeed 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.