Magento
M70-301 · Question #51
M70-301 Question #51: Real Exam Question with Answer & Explanation
Sign in or unlock M70-301 to reveal the answer and full explanation for question #51. The question stem and answer options stay visible for context.
Question
You want to load my-file.js only on the exam' CMS page. In native Magento, which two of the following statements are true? (Choose TWO.)
Options
- AYou must create exam.xml and put the appropriate XML inside the <cms_page_exam> layout handle,
- BYou must make sure that my-file.js is present in app/design/base/default/cms/exam/.
- CYou must add appropriate XML to the CMS Layout-Update-XML textarea of the exam CMS page.
- DYou must add <?php echo $this->getChildJs (`js/my-file.js'); ?> to head.phtml .
- EYou must make sure you are not using a layout handle in the Layout-Update-XML textarea of the "exam"
Unlock M70-301 to see the answer
You've previewed enough free M70-301 questions. Unlock M70-301 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.