M70-301 practice questions, page 4 of 5, with answer review and explanations.
Question 16
You want to add additional XML (`Additional XML Declaration`) to an existing layout block. Which is the proper tag for adding it?
<reference type=ג€blockג€>Additional XML Declaration</ reference>
<action method= ג€addNewBlockג€><block name>Additional XML Declaration <I block name></ action>
<reference name=ג€block.nameג€>Additional XML Declaration</reference>
<method action= ג€setBlockContentג€><xml>Additional XML Declaration</xml></method>
Question 17
What is the proper layout update handle for adding a CSS file to the product page?
<catalog_product>
<catalog_product_view>
<default>
Question 18
The name of a design package in the Design tab of the System->Configuration window in Admin is also used as ________ and ________ . (Choose TWO.)
a folder name in app/design/frontend
a configuration value taken from index.php
a folder name in skin/frontend
a setting in the menu System -> Design
a folder name in app/design/frontend/base
Question 19
You have a `custom/default` design package. You need to edit this file: /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?
Edit the ג€base/defaultג€ file directly.
Create a new module in ג€base/defaultג€ called ג€customג€ and copy the file there for editing.
Create a new package called ג€custom/customג€ and copy the file there for editing.
Copy the file to ג€custom/defaultג€ for editing.
Question 20
Given a configured package `tmypackage` and a configured theme `mytheme`, which THREE of the following templates would be part of the design fallback? (Choose THREE.)