Magento Question: Download Magento PDF

How to include CMS block in template file(.phtml)?

Tweet Share WhatsApp

Answer:

Access block's content from .phtml template file by:

echo $this->getLayout()->createBlock('cms/block')->setBlockId('static_block_id')->toHTML();

Download Magento PDF Read All 38 Magento Questions
Previous QuestionNext Question
What are the benefits of namespace (package) in magento?How to add an external javascript/css file to Magento?