Get Free Audit

Magento Security Patch 6788 and Static Blocks

Jan 11, 2016

946 Andrey Litvin

Magento Security Patch 6788 and Static Blocks

Security patch 6788 can cause problems in the displaying of static blocks. This issue is related to changes that the patch applies to the work of Mage_Core_Model_Email_Template_Filter class that is located in the following file: app/code/core/Mage/Core/Model/Email/Template/Filter.php. This class contains blockDirective method that creates a block and returns html-code for this block. The patch 6788 adds a code to this method and this code checks whether the block is allowed or not.

Before installing the patch the code for creation of blocks looks as following:


After the patch is installed the code gets the following shape:

Andrey_Dubina
Partner With Us Let's discuss how to grow your business. Get a Free Quote.
Talk to Andrey


In order to solve this problem, navigate to System->Permission->Blocks   in admin panel. Then add the necessary block to the list of allowed blocks.

Magento Security Patch 6788 and Static Blocks

Andrey Dubina
Partner With Us Looking for a partner to grow your business? We are the right company to bring your webstore to success. Talk to Andrey

Post a new comment

BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *