If you want to provide an existing custom theme for a mobile device browser, you'll only have to_____________.
A. Create an exception under the System->Configuration "Design" tab for an appropriate UserAgent
B. Create a new store for that theme
C. Configure the setting in main menu "Mobile"
D. Create an exception under System->Design for an appropriate UserAgent
正解:A
質問 2:
Which four of the following page elements can be updated from the Magento Admin in System-> Configuration-> Design? (Choose FOUR.)
A. Breadcrumb Separator
B. Page Title
C. Navigation
D. Logo
E. Top Links
F. Favicon
G. Copyright
正解:B,D,F,G
質問 3:
If a layout handle exists in the"base/default"package, your custom design package, and the custom package's"local.xml", which handles can be merged?
A. All of the handles can be merged.
B. Only the handles in your design package can be merged.
C. Only the handles in your design package and "local.xml" can be merged.
D. Only the handles in "local.xml" can be merged.
E. Only the handles in "base/default" and "local.xml" can be merged.
F. Only the handles in "base/default" can be merged.
正解:A
質問 4:
When a block of type __________ is rendered, all its child blocks are rendered automatically, without the need to call the getChildHtml () method.
A. Core/text_list
B. Core/template
C. Page/html_wrapper
D. Page/html
正解:A
質問 5:
You want to add a block to the content of the product detail page, without having to modify a template.
Which three container blocks are rendered regardless of product type and configuration? (ChooseTHREE.)
A. alert.urls
B. product.info.container2
C. product.info.additional
D. product.info.container1
E. product.info.extrahint
F. product.info.attributes
G. product.info.options.wrapper
H. product.info.options .wrapper.bottom
正解:A,C,E
質問 6:
You have added some HTML to a custom template located
at"template/mytemplates/custom.phtml". Which code snippet is the correct way to create a block for custom.phtml in the layout XML?
A. <block type="core/template" name="custom" template="mytemplates/custom.phtml"/>
B. <block type="core/template" name="custom" template="template/mytemplates/ custom.phtml"/>
C. <block type="custom" name="custom" template="mytemplates/custom.phtml"/>
D. <block type="custom1' name="custom" template="template/mytemplates/ custom.phtml"/>
正解:A
質問 7:
You want to add the file"somescript.js"in a template. The JS-file is in the folder"root: js/lib". Which piece of code should you use?
A. $this->getskinurl('lib/somescript.js')
B. $this->getJsUrl('lib/somescript.js')
C. $this->getLibUrl('lib/somescript.js')
D. $this->getItemurl('lib/somescript.js')
E. $this->getFileurl('lib/somescript.js')
正解:B
質問 8:
You want to add additional XML ("Additional XML Declaration") to an existing layout block. Which is the proper tag for adding it?
A. <reference name="block.name">Additional XML Declaration</reference>
B. <reference type="block">Additional XML Declaration</ reference>
C. <action method="addNewBlock"><block name>Additional XML Declaration <I block name></ action>
D. <method action= "setBlockContent"><xml>Additional XML Declaration</xml></method>
正解:A
質問 9:
Which layout handle can be used to assign a customized template file to the filter navigation block in the left column?
A. catalog_category_layered
B. catalog_category_view
C. default
D. page_two_columns_left
正解:A
Kajiwara -
M70-301参考書のすごさがわかりました。問題はほとんどそのまま出ました。
模擬試験やってる感覚でテスト受けてきました。あとちょっとで満点でした。楽勝でした。
ありがとうございました。