Magento Front End Developer - Test Questions

The Magento Fallback System

1. Use the Magento Design Fallback System (7%)

Key Areas of Study

  • Understand the priority order of fallbacks (all the way from custom themes to the default) as well as what the fallback means for files and folders of the same name in each fallback.
  • Understand how the admin configuration can be used to change the fallback process and the difference between System > Design and System > Config > Design.

Questions

1.1 In a Magento instance configured to use the package name "creare" and the theme name "blue", which file would override the default catalog category view template?
A. app/frontend/base/creare/blue/template/catalog/category/view.phtml
B. app/design/frontend/creare/blue/template/catalog/category/view.phtml
C. app/design/frontend/creare/default/template/catalog/view.phtml
D. app/design/frontend/blue/creare/template/catalog/category.phtml
E. app/frontend/default/blue/customcategory/view.phtml
1.2 You have a “custom/default” design package. You need to edit this file: /app/design/frontend/base/default/template/page/html/header.phtml. Which method is bad practice?
A. Create a new module in “base/default” called “custom” and copy the file there for editing.
B. Create a new package called “custom/custom” and copy the file there for editing.
C. Copy the file to “custom/default” for editing.
D. Edit the “base/default” file directly.
1.3 Given a configured package “mypackage” and a configured theme “mytheme”, which THREE of the following templates would be part of the design fallback? (Choose THREE.)
A. mypackage/default/template/my/template.phtml
B. base/mytheme/template/my/template.phtml
C. default/default/template/my/template.phtml
D. base/default/template/my/template.phtml
E. default/mytheme/template/my/template.phtml
F. mypackage/mytheme/template/my/template.phtml
1.4 What is System > Design used for?
A. Configuring the fallback system of a store view
B. Overriding the fallback system of a store view for a limited period of time
C. Activating the fallback system of a store view
D. Overriding the fallback system of a subpart (Layout, Templates, ...) of a store view
E. Configuring basic Package and Theme settings of your Magento instance