Interviewer And Interviewee Guide

Magento Interview Question:

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

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

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

Read Online Magento Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.