TYPO3 CI 2018 8.9 - 8.11

Description

Programmierung Quiz on TYPO3 CI 2018 8.9 - 8.11, created by Andreas Kirilow on 21/12/2018.
Andreas Kirilow
Quiz by Andreas Kirilow, updated more than 1 year ago
Andreas Kirilow
Created by Andreas Kirilow almost 6 years ago
7
0

Resource summary

Question 1

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

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

Question 3

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

Question 4

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

Question 5

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

Question 6

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

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

Question 8

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

Question 9

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 10

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.
  • This code results in an error message.
  • This code has no effect.

Question 11

Question
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
Answer
  • Certification
  • Certification76Test page
  • 76
  • Test page 76Test page

Question 12

Question
How can you use TypoScript to determine the name of the frontend user who is logged in? (1)
Answer
  • {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']

Question 13

Question
What is the output of the following TypoScript? (1) page = PAGE page.10 = TEXT page.10.value.data = DB:pages:11:title
Answer
  • 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.

Question 14

Question
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} ??? }
Answer
  • 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

Question 15

Question
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 = ??? }
Answer
  • TYPO3_REQUEST_URL
  • getIndpEnv:TYPO3_REQUEST_URL
  • {getIndpEnv:TYPO3_REQUEST_URL}
  • ${TYPO3_REQUEST_URL}
  • TSFE:TYPO3|REQUEST_URL

Question 16

Question
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.???
Answer
  • data = debug : rootLine
  • data = debug : -1
  • debugData = 1
  • data.debug = rootLine
  • debugData = rootline
  • data.debugData = 1

Question 17

Question
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 }
Answer
  • data
  • wrap
  • innerWrap
  • wrap3
  • stdWrap
Show full summary Hide full summary

Similar

Einführung Programmieren
Aaron Welther
Programmierung
So Li
Die Programmierung
Jam Behn
Macbeth Scene Summaries
Ebony1023
Essay Writing: My Essay Plan
Andrea Leyden
AS Unit 1 Physics Flashcard Deck
Callum McClintock
GCSE Physics Revision notes
Megan McDonald
Biology (B2)
anjumn10
Organic Chemistry
Megan Tarbuck
GCSE REVISION TIMETABLE
nimraa422