Deleting the old HTML block with Smarty support block type

So, I created all new HTML block with Smarty support blocks and deleted the old ones as per 4.16.1 specs.
But how do I get the block type off the list of available block types under Design > Layouts > Manage Blocks?
I deleted the template, the block type still exists. I can’t find any of the block types in the database.
Anyone?

Hi!

The old block type is still present in the code for backward compatibility. You can remove it from this list by creating the app/addons/my_changes/schemas/block_manager/blocks.post.php file with the following content:

<?php

unset($schema['smarty_block']);

return $schema;

Install and enable the My changes add-on after making these changes. If add-on was already installed and active, please clear the cache of your installation.

1 Like