nerdexam
Magento

M70-301 · Question #5

You have a "custom/default" design package. You need to edit this file: Magento M70-301 Exam /app/design/frontend/base/defauIt/template/page/html/header.Phtml Which method is a bad practice because…

The correct answer is A. Edit the "base/default" file directly. See the full explanation below for the reasoning.

Question

You have a "custom/default" design package. You need to edit this file:

Magento M70-301 Exam /app/design/frontend/base/defauIt/template/page/html/header.Phtml Which method is a bad practice because the file will be overwritten during Magento upgrades?

Options

  • AEdit the "base/default" file directly.
  • BCreate a new module in "base/default" called "custom" and copy the file there for editing.
  • CCreate a new package called "custom/custom" and copy the file there for editing.
  • DCopy the file to "custom/default" for editing.

How the community answered

(40 responses)
  • A
    78% (31)
  • B
    3% (1)
  • C
    13% (5)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full M70-301 Practice