Magento
M70-301 · Question #80
Which of the following is the correct code for assigning a custom template file using layout XML?
The correct answer is B. <block type="core/template" name="custom template" template=" folder/custom_template.phtml"/>. See the full explanation below for the reasoning.
Question
Which of the following is the correct code for assigning a custom template file using layout XML?
Options
- A<block type="core/text_list" name="custom.template" template=" folder/custom_template.phtml"/>
- B<block type="core/template" name="custom template" template=" folder/custom_template.phtml"/>
- C<block type="block/template" name="custom template" template=" folder/custom_template.phtml"/>
- D<block type="cms/block" name="custom.template"template=" folder/custom_template.phtml"/>
- E<block type="block/html" name="custom template"template=" folder/custom_template.phtml"/>
How the community answered
(51 responses)- A2% (1)
- B78% (40)
- C2% (1)
- D12% (6)
- E6% (3)
Community Discussion
No community discussion yet for this question.