New answers tagged

1

You can call like this one. <?php foreach ($this->getAgreements() as $_a): ?> <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId($_a->getIdentifier())->toHtml(); ?> <?php endforeach ?>


4

Use this code to echo content of cms block <?php foreach ($this->getAgreements() as $_a): ?> <?php echo Mage::helper('cms')->getPageTemplateProcessor()->filter($_a->getContent());?> <?php endforeach ?> This should work


Top 50 recent answers are included