Chapter 8 II

Ma Hi
Quiz by Ma Hi, updated more than 1 year ago
Ma Hi
Created by Ma Hi over 6 years ago
9
1

Description

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

Resource summary

Question 1

Question
Which of the following are not menu states? (2)
Answer
  • IFSUBRO
  • CUR
  • USR
  • NOIFSUB
  • ACTSUB
  • SPC

Question 2

Question
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)
Answer
  • NO
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 3

Question
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)
Answer
  • NO
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 4

Question
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)
Answer
  • NO
  • USERDEF1
  • USERDEF2
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 5

Question
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)
Answer
  • 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.

Question 6

Question
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 = |*||*|-
Answer
  • A-B
  • B-A
  • -A-B
  • -B-A
  • AB
  • BA
  • A-B-
  • B-A-

Question 7

Question
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 }
Answer
  • menu = javascript
  • special = jsmenu
  • special = updated
  • special.menu = last
  • menu = last
  • menu = updated

Question 8

Question
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
Answer
  • 2
  • 1
  • 0
  • -1
  • -2

Question 9

Question
How can you prevent a page from being displayed in a menu in TYPO3 Version 6.2? (2)
Answer
  • 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

Question 10

Question
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;
Answer
  • 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

Question 11

Question
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;
Answer
  • 1A
  • 2A
  • 3A
  • 1A 2A 3A
  • 3A 1A 2A

Question 12

Question
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;
Answer
  • 1A 2B 1C 2D 1E
  • 1A 1B 1C 1D 2E
  • 1A 2B 2C 2D 2E
  • 1A 1B 1C 2D 1E

Question 13

Question
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;
Answer
  • 1A 2B 3C 2D 4E
  • 4A 2B 2C 3D 1E
  • 1A 2B 2C 3D 4E
  • 1A 2B 3C 3D 4E

Question 14

Question
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;
Answer
  • 1A 2B 1C 3D 4E
  • 1A 2B 3C 3D 4E
  • 1A 2B 1C 2D 3E
  • 1A 2B 2C 3D 4E

Question 15

Question
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;
Answer
  • 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

Question 16

Question
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;
Answer
  • 1A 2B 3C 1D 2E
  • 1A 2B 3C 3D 3E
  • 1A 1B 1C 2D 3E
  • 1A 2B 1C 2D 3E

Question 17

Question
You change a setting in the TypoScript object browser. Where is this change entered? (2)
Answer
  • 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.

Question 18

Question
Your TypoScript code obviously contains a syntax error; how can you find it? (2)
Answer
  • 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.

Question 19

Question
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
Answer
  • 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.
Show full summary Hide full summary

Similar

Abschluss Test
Ma Hi
Chapter 4
Ma Hi
Chapter 7
Ma Hi
Chapter 6 II (6.5-6.8)
Ma Hi
Chapter 5
Ma Hi
Chapter 6
Ma Hi
Test 7 (Chapter 8 I)
Ma Hi
Chapter 8 III
Ma Hi
Chapter 1
Ma Hi
Chapter 8 I
Ma Hi
Test 5 (Chapter 6)
Ma Hi