Ma Hi
Quiz by , created more than 1 year ago

TYPO3 Quiz on Chapter 8 II, created by Ma Hi on 02/07/2015.

14
1
0
Ma Hi
Created by Ma Hi over 9 years ago
Close

Chapter 8 II

Question 1 of 19

1

Which of the following are not menu states? (2)

Select one or more of the following:

  • IFSUBRO

  • CUR

  • USR

  • NOIFSUB

  • ACTSUB

  • SPC

Explanation

Question 2 of 19

1

You need a format for the display of the menu item for the current page if it contains at least one subpage. Which menu state do you use? (1)

Select one or more of the following:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 3 of 19

1

You want to format the display of the menu item for the current page and the parent pages, regardless of whether subpages exist. Which menu state do you use? (1)

Select one or more of the following:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 4 of 19

1

Which menu state can you use to indicate pages if access to them is restricted to user groups where the group name begins with the letters A-K? (2)

Select one or more of the following:

  • NO

  • USERDEF1

  • USERDEF2

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 5 of 19

1

A menu does not need to contain a link to the current page; in fact, this is often confusing or wrong. How can you prevent this? (1)

Select one or more of the following:

  • By using the NOLINK menu state.

  • By using the doNotLinkIt TypoScript option.

  • By using an appropriate condition.

  • You set the NeverLinkCurrentPage property in the Install Tool.

  • You have to use a custom PHP function.

Explanation

Question 6 of 19

1

We have pages A (ID = 179) and B (ID = 178). What is the output of the following menu? (1)

page = PAGE
page.10 = HMENU
page.10.special = list
page.10.special.value = 178,179
page.10.1 = TMENU
page.10.1.NO.after = |*||*|-

Select one or more of the following:

  • A-B

  • B-A

  • -A-B

  • -B-A

  • AB

  • BA

  • A-B-

  • B-A-

Explanation

Question 7 of 19

1

What do you need to add to the following TypoScript code to obtain a JavaScript pull-down menu of all pages that were changed in the last three days? (1)

page = PAGE
page.10 = HMENU
page.10 {
???
special.value = 1
special.mode = tstamp
special.maxAge = 3600*24*3
limit=10
1 = JSMENU
1.target=_top
1.firstLabelGeneral = Select your page
}

Select one or more of the following:

  • menu = javascript

  • special = jsmenu

  • special = updated

  • special.menu = last

  • menu = last

  • menu = updated

Explanation

Question 8 of 19

1

You use the following page structure and TypoScript code to display a navigation menu. Which value do you have to assign to the entryLevel option if you want to display only the subpages in the menu and not the current page? (1)

|--Home
|--A
| |--AA
| |--AB
| 1 {
|--B
| |--BA
| |--BB
| |--BC
| }
|--C

page.10 = HMENU
page.10 {
entryLevel = ???
1 = TMENU
expAll = 1
NO = 1
}
2 < .1

Select one or more of the following:

  • 2

  • 1

  • 0

  • -1

  • -2

Explanation

Question 9 of 19

1

How can you prevent a page from being displayed in a menu in TYPO3 Version 6.2? (2)

Select one or more of the following:

  • You use the Not in menu page type

  • You use the Hide in menu page property

  • You use the TypoScript property excludeUidList

  • You use the TypoScript property hideInMenu

  • You use the TypoScript property includeNotInMenu

Explanation

Question 10 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1 |*| 2 |*| 3
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A1 1B1 1C1 2D2 3E3

  • 1A1 2B2 2C2 2D2 3E3

  • 1A 1B 1C 2D 3E

  • 1A 2B 3C 3D 3E

  • 1A 2B 2C 2D 3E

Explanation

Question 11 of 19

1

Your website has only one page, A. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1 |*| 2 |*| 3
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A

  • 2A

  • 3A

  • 1A 2A 3A

  • 3A 1A 2A

Explanation

Question 12 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1 |*||*| 2
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A 2B 1C 2D 1E

  • 1A 1B 1C 1D 2E

  • 1A 2B 2C 2D 2E

  • 1A 1B 1C 2D 1E

Explanation

Question 13 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1 |*| 2||3 |*| 4
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A 2B 3C 2D 4E

  • 4A 2B 2C 3D 1E

  • 1A 2B 2C 3D 4E

  • 1A 2B 3C 3D 4E

Explanation

Question 14 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1||2 |*| 3 |*| 4
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A 2B 1C 3D 4E

  • 1A 2B 3C 3D 4E

  • 1A 2B 1C 2D 3E

  • 1A 2B 2C 3D 4E

Explanation

Question 15 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = 1||2 |*||*| 3
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A 2B 1C 1D 3E

  • 1A 2B 3C 1D 2E

  • 1A 2B 2C 2D 3E

  • 1A 2B 3C 3D 3E

  • 2A 2B 2C 2D 3E

Explanation

Question 16 of 19

1

Your website has five pages A, B, C, D and E. What is the output of the following TypoScript code? (1)

page = PAGE
page.10 = HMENU
page.10.1 = TMENU
page.10.1.NO.linkWrap = |*||*| 1||2||3
page.10.1.NO.allWrap = |&nbsp;

Select one or more of the following:

  • 1A 2B 3C 1D 2E

  • 1A 2B 3C 3D 3E

  • 1A 1B 1C 2D 3E

  • 1A 2B 1C 2D 3E

Explanation

Question 17 of 19

1

You change a setting in the TypoScript object browser. Where is this change entered? (2)

Select one or more of the following:

  • At the beginning of the TypoScript setup template

  • At the end of the TypoScript setup template

  • At the beginning of the TypoScript constant template

  • At the end of the TypoScript constant template

  • In the LocalConfiguration.php file

  • None of the answers is correct.

Explanation

Question 18 of 19

1

Your TypoScript code obviously contains a syntax error; how can you find it? (2)

Select one or more of the following:

  • The error is displayed in the TypoScript object browser (TSOB).

  • The error is displayed in the Admin Panel.

  • The error is displayed in the Template Analyzer.

  • The error is displayed in the frontend.

Explanation

Question 19 of 19

1

What is the precise effect of the following two lines of TypoScript code in the constants area? (2)

# cat=mytext/ctext/a; type=color; label= text color
mytextcolor = red

Select one or more of the following:

  • The first line is ignored because it is introduced with a comment character.

  • The mytextcolor constant is set to red.

  • A selection field for colors is created in the Constant Editor.

  • An error message is created.

  • There is no effect.

Explanation