MCQs > IT & Programming > Magento > Which code to include CMS block in template file(.phtml)?

Magento MCQs

Which of the following code to include CMS block in template file(.phtml)?

Answer

Correct Answer: echo $this->getLayout()->createBlockHTML(‘cms/block’)->setBlockId(‘static_block_id’)->toHTML();

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Magento Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Magento Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it