Ma Hi
Quiz von , erstellt am more than 1 year ago

TYPO3 Quiz am Chapter 8 II, erstellt von Ma Hi am 02/07/2015.

14
1
0
Ma Hi
Erstellt von Ma Hi vor etwa 9 Jahre
Schließen

Chapter 8 II

Frage 1 von 19

1

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

Wähle eine oder mehr der folgenden:

  • IFSUBRO

  • CUR

  • USR

  • NOIFSUB

  • ACTSUB

  • SPC

Erklärung

Frage 2 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 3 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 4 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • USERDEF1

  • USERDEF2

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 5 von 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)

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 6 von 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 = |*||*|-

Wähle eine oder mehr der folgenden:

  • A-B

  • B-A

  • -A-B

  • -B-A

  • AB

  • BA

  • A-B-

  • B-A-

Erklärung

Frage 7 von 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
}

Wähle eine oder mehr der folgenden:

  • menu = javascript

  • special = jsmenu

  • special = updated

  • special.menu = last

  • menu = last

  • menu = updated

Erklärung

Frage 8 von 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

Wähle eine oder mehr der folgenden:

  • 2

  • 1

  • 0

  • -1

  • -2

Erklärung

Frage 9 von 19

1

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

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 10 von 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;

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 11 von 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;

Wähle eine oder mehr der folgenden:

  • 1A

  • 2A

  • 3A

  • 1A 2A 3A

  • 3A 1A 2A

Erklärung

Frage 12 von 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;

Wähle eine oder mehr der folgenden:

  • 1A 2B 1C 2D 1E

  • 1A 1B 1C 1D 2E

  • 1A 2B 2C 2D 2E

  • 1A 1B 1C 2D 1E

Erklärung

Frage 13 von 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;

Wähle eine oder mehr der folgenden:

  • 1A 2B 3C 2D 4E

  • 4A 2B 2C 3D 1E

  • 1A 2B 2C 3D 4E

  • 1A 2B 3C 3D 4E

Erklärung

Frage 14 von 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;

Wähle eine oder mehr der folgenden:

  • 1A 2B 1C 3D 4E

  • 1A 2B 3C 3D 4E

  • 1A 2B 1C 2D 3E

  • 1A 2B 2C 3D 4E

Erklärung

Frage 15 von 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;

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 16 von 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;

Wähle eine oder mehr der folgenden:

  • 1A 2B 3C 1D 2E

  • 1A 2B 3C 3D 3E

  • 1A 1B 1C 2D 3E

  • 1A 2B 1C 2D 3E

Erklärung

Frage 17 von 19

1

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

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 18 von 19

1

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

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 19 von 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

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung