Deleting Block
Permalink 1 user found helpful
Is it possible to completely delete a specific block from the dashboard? I keep having the edit bar disappear after putting in Javascript. How can I do this? Thanks!
What do you mean by "putting in Javascript"?
I added some Java to a block and it made the Edit bar disappear, so if I can delete just that block I can then recreate it without starting over on the entire site!
You could just get rid of the javascript in your block code and upload to the site, or uninstall the block.
What I did was put some JavaScript into the HTML block. I don't want to get rid of the option of putting in a HTML block, I just want to get rid of that specific block that has that particular JavaScript in it.
You can go to the dashboard sitemap, find the page you added the problem html block to, then select versions, approve a previous version and delete the faulty version.
For some reason, the versions thing doesn't always seem to work for me. I tell it to go back to a time when the script wasn't there, and it is like it doesn't roll the page back, even though it says it is displaying the version I want it to. Confusing.
If you are logged in as the SuperAdmin, you will always see the most recent version even if you have 'approved' and earlier version. You need to delete versions until you get to the one that works. You can click the blue 'Version XX' link to see if that version works. Then approve that version and delete all the newer versions.
Ah ok. Thanks!
If you can get to your dashboard, go under "blocks and stacks" and select "block types". You can find the block you want to delete there, click it, and select "remove".
This will delete all block of that type. I believe that is what you are trying to accomplish.