Magento
M70-301 · Question #103
How can a template be included in a CMS block?
The correct answer is B. {{block type="core/template" template="path/to/template.phtml"}}. See the full explanation below for the reasoning.
Question
How can a template be included in a CMS block?
Options
- A{{block template=?path/to/template .phtm1'}}
- B{{block type="core/template" template="path/to/template.phtml"}}
- C{{block template="path/to/template.phtml"}}
- D{{block id="path/to/template.phtml"}}
- E{{block type="core/template" method="setTemplate" param="path/to/template.phtml1" } }
How the community answered
(49 responses)- A8% (4)
- B84% (41)
- C4% (2)
- D2% (1)
- E2% (1)
Community Discussion
No community discussion yet for this question.