magento fully parse cms block


/ Published in: PHP
Save to your folder(s)

originally from Naryan Varma


Copy this code and paste it in your HTML
  1. <?php
  2. $helper = Mage::helper('cms');
  3. $processor = $helper->getPageTemplateProcessor();
  4. $html = $processor->filter($item->getContent());
  5. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.