PrepAway - Latest Free Exam Questions & Answers

Which code snippet is the correct way to create a block…

You have added some HTML to a custom template located at “template/mytemplates/custom.phtml”. Which
code snippet is the correct way to create a block for custom.phtml in the layout XML?

PrepAway - Latest Free Exam Questions & Answers

A.
<block type=“core/template” name=“custom” template=“mytemplates/custom.phtml”/>

B.
<block type=“core/template” name=“custom”
template=“template/mytemplates/ custom.phtml”/>

C.
<block type=“custom1’ name=“custom”
template=“template/mytemplates/ custom.phtml”/>

D.
<block type=“custom” name=“custom” template=“mytemplates/custom.phtml”/>


Leave a Reply

Your email address will not be published. Required fields are marked *