2

This question already has an answer here:

When CMS blocks get disappear after patch installation we normally do is:

  • System > Permissions > Blocks
  • Add New Block
  • Block Name: cms/block
  • Is Allowed : Yes

I feel it's a tricky quick fix. So, i am wondering if there are any other best practices to solve this issue ?

marked as duplicate by Fabian Schmengler, Murtuza Zabuawala, Siarhey Uchukhlebau, Marius magento-1.9 Dec 19 '16 at 11:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0
$whitelistBlock = Mage::getModel('admin/block')->load('catalog/product_featured',
  'block_name');
              $whitelistBlock->setData('block_name', 'catalog/product_featured');
              $whitelistBlock->setData('is_allowed', 1);
              $whitelistBlock->save();

If you want more details about this issue please refer to the question below.

APPSEC-1057 How to add variables or blocks to the white list tables

0

I don't think this is a trick

For security reasons in security patch magento introduce this feature in security pathch SUPEE-6788.

so after applying this seacurity patch you have to do whiltlist your block types that you gonna use in cms-block or cms-page.

This concept introduce after this security patch so this is not a trick.

this is the proper way to doing this.

Not the answer you're looking for? Browse other questions tagged or ask your own question.