New Year Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

M70-301 Questions and Answers

Question # 6

What does the element do in the following piece of layout XML?

A.

It unsets all elements defined in the layout handle called catalog_seo_sitemap.

B.

It loads the layout handle catalog_seo_sitemap_category into the layout handle ca catalog_seo_sitemap.

C.

It loads the layout handle catalog_seo_sitemap into the layout handle called catalog_seo_sitemap_category.

D.

It updates the name on the layout handle catalog_seo_sitemap_category to catalog_seo_sitemap.

Full Access
Question # 7

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.

B.

template=“template/mytemplates/ custom.phtml”/>

C.

template=“template/mytemplates/ custom.phtml”/>

D.

Full Access
Question # 8

Which XML layout handle is used to assign layout configurations to all pages of a store?

A.

All

B.

Base

C.

Root

D.

Every

E.

Default

Full Access
Question # 9

You want to override the lcolumn.phtml file. Which two of the following methods could you use? (Choose TWO.)

A.

Rename the file in base/default to enable overriding.

B.

Rename the root template configuration in the admin.

C.

Create a file with same file name in the same directory structure as your theme.

D.

Create a file exception in System -> Design, clear cache, and rebuild indexes.

E.

Create a file with different file name and different directory structure; then change the template with the setTemplate method.

Full Access
Question # 10

If you want to provide an existing custom theme for a mobile device browser, you'll only have to _____________.

A.

Create a new store for that theme

B.

Configure the setting in main menu "Mobile"

C.

Create an exception under System->Design for an appropriate UserAgent

D.

Create an exception under the System->Configuration "Design" tab for an appropriate UserAgent

Full Access
Question # 11

Given the information shown below, which answer will correctly assign a customized template file using layout XML?

Block type:

example/controller

Template path:

/a pp/design/frontend/base/exampletheme/examplefolder/example.phtml

A.

<template block type=“example/ controller” name= “example” as=“example1’ file path=“examplefolder/example.phtml”/ >

B.

C.

D.

<reference name=“example/controller” as “example” template=“examplefolder/example.phtml” />

Full Access
Question # 12

Which string will NOT be translated?

A.

“You can save % s %% in the next 15 min.”, “Du kannst % s %% in den nachsten 15min sparen”

B.

“Click here to continue.”,”Klicken Sie hier um welter zu machen .”

C.

“We\’ll send you a new password.” , ”Wir werden dir emneues Password zusenden.”

D.

“The coupon has expired” , ” Der Coupon ist “abgelaufen”

Full Access
Question # 13

When a block of type __________ is rendered, all its child blocks are rendered automatically, without the need to call the getChildHtml () method.

A.

Page/html

B.

Core/template

C.

Core/text_list

D.

Page/html_wrapper

Full Access
Question # 14

In System->Configuration ‘Design’ you can configure individual theme names for ________ . (Choose FIVE)

A.

templates

B.

images only

C.

layout XML

D.

all skin files

E.

translations

F.

default theme

G.

admin panel

Full Access
Question # 15

Using prototype.js, which selector would be used to target a group of list items with the class of item?

A.

$(‘ul’).children(‘li.item’)

B.

$(‘item’)

C.

$$(‘li.item’)

D.

$$(‘ul > li#item’)

Full Access
Question # 16

How can you override a native template file in an activated custom theme, using the design fallback?

A.

Copy the file to the appropriate folder.

B.

Copy the file to the appropriate folder and specify the path to it in the admin panel.

C.

Copy the file to the appropriate folder and specify the path to it in the database.

D.

Copy the file to the appropriate folder and rename it by adding the suffix “as”.

Full Access