nerdexam
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)
  • A
    8% (4)
  • B
    84% (41)
  • C
    4% (2)
  • D
    2% (1)
  • E
    2% (1)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice