GO BACK

Contact Us

5-E / 22 BP , 2nd Floor
Near BK Chowk
121001
Faridabad (Haryana), INDIA

Home Forums Magento Magento CMS Block categorie infos Reply To: Magento CMS Block categorie infos

#2045 Reply

admin
Keymaster

Hi Nelly,

If you want to call a CMS static block in a phtml file you can simply use following :

< ?php echo $this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘block_identifier’)->toHtml(); ?>

If it doesn’t fix your issue please explain more. As you have stated :

“I have different categories for example ID1=Name1, ID2=Name2”

This is confusing.

img