2

I updated to 1.9.2.2. from 1.9.1. Now i do not see the newsletter subscription form in footer anymore. In the block i use this:{{block type="newsletter/subscribe" template="newsletter/subscribe.phtml"}}Has this changed in 1.9.2? The text that i also added in that block does appear in footer, just not the form. I use Magemonkey and that is updated to latest version also, but no difference.

SOLVED: In the Magento backend under "System > Permissions > Variables" and "System > Permissions > Blocks" i added newsletter-en and refreshed cache... after that it was visible again in store.

1
  • 1
    Please accept my answer or post your solution and self-accept it, so this question will be marked as closed. Commented Oct 31, 2015 at 21:58

2 Answers 2

3

I believe the newsletter/subscribe block is not on the default whitelist that was introduced with the latest patch and version 1.9.2.2; this means you can not call it from a cms block if you don't add it to the whitelist manually before.

See here how to add it: APPSEC-1057 How to add variables or blocks to the white list tables

2
  • i can't seem to figure this one out... completely stuck
    – Carlo
    Commented Oct 31, 2015 at 14:26
  • are you still stuck? if so, where? Commented Nov 7, 2015 at 10:48
3

In the Magento backend "System > Permissions > Variables" and "System > Permissions > Blocks"

Add newsletter/subscribe and refreshed cache.

More info:

There is a new check on the template directive, see Mage_Core_Model_Email_Template_Filter::blockDirective() line 176

   if ($this->_permissionBlock->isTypeAllowed($blockParameters['type'])) {
        $type = $blockParameters['type'];
        $block = $layout->createBlock($type, null, $blockParameters);
    }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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