Guidance Solution for Magento, Php developers
Pages
Home
Magento
Magento 2
Magento interview Q&A
Laravel
Php
MySql
JQuery
Showing posts with label
call a CMS block in phtml file
.
Show all posts
Showing posts with label
call a CMS block in phtml file
.
Show all posts
Friday, 18 November 2016
Magento how will you call a CMS block in your module’s PHTML file?
$this->getLayout()->createBlock(‘cms/block’)->setBlockId(‘blockidentifier’)->toHtml();
Older Posts
Home
Subscribe to:
Posts (Atom)