Andreas Kirilow
Quiz von , erstellt am more than 1 year ago

Programmierung Quiz am TYPO3 CI 2018 8.9 - 8.11, erstellt von Andreas Kirilow am 21/12/2018.

7
0
0
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
Schließen

TYPO3 CI 2018 8.9 - 8.11

Frage 1 von 17

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 = | 

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 2 von 17

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 = | 

Wähle eine oder mehr der folgenden:

  • 1A

  • 2A

  • 3A

  • 1A 2A 3A

  • 3A 1A 2A

Erklärung

Frage 3 von 17

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 = | 

Wähle eine oder mehr der folgenden:

  • 1A 2B 1C 2D 1E

  • 1A 1B 1C 1D 2E

  • 1A 2B 2C 2D 2E

  • 1A 2B 1C 2D 2E

Erklärung

Frage 4 von 17

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 = | 

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 5 von 17

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 = | 

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 6 von 17

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 = | 

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 7 von 17

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 = | 

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

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 above answers is correct.

Erklärung

Frage 9 von 17

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 10 von 17

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.

  • This code results in an error message.

  • This code has no effect.

Erklärung

Frage 11 von 17

1

You create a page with UID 76, an empty navigation title and the title “Test page”. What is the output created by the following script? (1)

page = PAGE
page.10 = TEXT
page.10.value = Certification
page.10.data = field:nav_title // field:uid // field:title

Wähle eine oder mehr der folgenden:

  • Certification

  • Certification76Test page

  • 76

  • Test page 76Test page

Erklärung

Frage 12 von 17

1

How can you use TypoScript to determine the name of the frontend user who is logged in? (1)

Wähle eine oder mehr der folgenden:

  • {field:name}

  • ${fe_user->name}

  • TSFE:fe_user|user|name

  • $TSFE->fe_user->user->name

  • getIndpEnv:name

  • TSFE[fe_user][user][name]

  • $GLOBALS['TSFE']->fe_user->user['name']

Erklärung

Frage 13 von 17

1

What is the output of the following TypoScript? (1)

page = PAGE
page.10 = TEXT
page.10.value.data = DB:pages:11:title

Wähle eine oder mehr der folgenden:

  • There is no output.

  • The output is DB:pages:11:title.

  • The output is DB pages:11 title.

  • The output consists of the page title of the page with the UID 11.

  • The output consists of the table cell with UID 11 from the pages table.

  • This TypoScript does not create any output, but it saves the data record of the page with UID
    11 in a register for use later on.

Erklärung

Frage 14 von 17

1

You want the page title of the current page to be output. What do you need to add to the script below? (1)

page = PAGE
page {
10 = TEXT
10.value = The page title of the current page is: {page:title}
???
}

Wähle eine oder mehr der folgenden:

  • 10.wrap = $|$

  • You do not need to add anything for the output to be right.

  • 10.dataWrap = {field:title}

  • 10.insertData = 1

  • 10.dataWrap = 1

Erklärung

Frage 15 von 17

1

What do you have to add to the script below so that the complete URL is output? (1)

page = PAGE
page {
10 = TEXT
10.data = ???
}

Wähle eine oder mehr der folgenden:

  • TYPO3_REQUEST_URL

  • getIndpEnv:TYPO3_REQUEST_URL

  • {getIndpEnv:TYPO3_REQUEST_URL}

  • ${TYPO3_REQUEST_URL}

  • TSFE:TYPO3|REQUEST_URL

Erklärung

Frage 16 von 17

1

What code is required in place of the question marks in order to achieve the output of all important properties of the current page and the parent pages (such as UID, PID, title, etc.)? (1)

page = PAGE
page.10 = TEXT
page.10.value = TypoScript
page.10.???

Wähle eine oder mehr der folgenden:

  • data = debug : rootLine

  • data = debug : -1

  • debugData = 1

  • data.debug = rootLine

  • debugData = rootline

  • data.debugData = 1

Erklärung

Frage 17 von 17

1

What do you have to enter in place of the question marks so that the page title of the current page is output? (1)

page = PAGE
page.10 = TEXT
page.10 {
dataWrap = DB:pages:{TSFE:id}:title
??? = <h1>Page title: &nbsp;{|}</h1>
insertData = 1
}

Wähle eine oder mehr der folgenden:

  • data

  • wrap

  • innerWrap

  • wrap3

  • stdWrap

Erklärung