Quiz
TYPO3 CI 2018 8.9 - 8.11
Questions in this quiz (17)
1Your 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 = | - A1A1 1B1 1C1 2D2 3E3
- B1A1 2B2 2C2 2D2 3E3
- C1A 1B 1C 2D 3E
- D1A 2B 3C 3D 3E
- E1A 2B 2C 2D 3E
2Your 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 = | - A1A
- B2A
- C3A
- D1A 2A 3A
- E3A 1A 2A
3Your 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 = | - A1A 2B 1C 2D 1E
- B1A 1B 1C 1D 2E
- C1A 2B 2C 2D 2E
- D1A 2B 1C 2D 2E
4Your 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 = | - A1A 2B 3C 2D 4E
- B4A 2B 2C 3D 1E
- C1A 2B 2C 3D 4E
- D1A 2B 3C 3D 4E
5Your 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 = | - A1A 2B 1C 3D 4E
- B1A 2B 3C 3D 4E
- C1A 2B 1C 2D 3E
- D1A 2B 2C 3D 4E
6Your 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 = | - A1A 2B 1C 1D 3E
- B1A 2B 3C 1D 2E
- C1A 2B 2C 2D 3E
- D1A 2B 3C 3D 3E
- E2A 2B 2C 2D 3E
7Your 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 = | - A1A 2B 3C 1D 2E
- B1A 2B 3C 3D 3E
- C1A 1B 1C 2D 3E
- D1A 2B 1C 2D 3E
8You change a setting in the TypoScript Object Browser. Where is this change entered? (2)
- AAt the beginning of the TypoScript “setup” template.
- BAt the end of the TypoScript “setup” template.
- CAt the beginning of the TypoScript “constant” template.
- DAt the end of the TypoScript “constant” template.
- EIn the LocalConfiguration.php file.
- FNone of the above answers is correct.
9Your TypoScript code obviously contains a syntax error. How can you find it? (2)
- AThe error is displayed in the TypoScript Object Browser (TSOB).
- BThe error is displayed in the Admin Panel.
- CThe error is displayed in the Template Analyzer.
- DThe error is displayed in the frontend.
10What 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- AThe first line is ignored because it is introduced with a comment character.
- BThe mytextcolor constant is set to red.
- CA selection field for colors is created in the Constant Editor.
- DThis code results in an error message.
- EThis code has no effect.
11You 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- ACertification
- BCertification76Test page
- C76
- DTest page 76Test page
12How can you use TypoScript to determine the name of the frontend user who is logged in? (1)
- A{field:name}
- B${fe_user->name}
- CTSFE:fe_user|user|name
- D$TSFE->fe_user->user->name
- EgetIndpEnv:name
- FTSFE[fe_user][user][name]
- G$GLOBALS['TSFE']->fe_user->user['name']
13What is the output of the following TypoScript? (1)
page = PAGE
page.10 = TEXT
page.10.value.data = DB:pages:11:title- AThere is no output.
- BThe output is DB:pages:11:title.
- CThe output is DB pages:11 title.
- DThe output consists of the page title of the page with the UID 11.
- EThe output consists of the table cell with UID 11 from the pages table.
- FThis 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.
14You 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}
???
}- A10.wrap = $|$
- BYou do not need to add anything for the output to be right.
- C10.dataWrap = {field:title}
- D10.insertData = 1
- E10.dataWrap = 1
15What do you have to add to the script below so that the complete URL is output? (1)
page = PAGE
page {
10 = TEXT
10.data = ???
}- ATYPO3_REQUEST_URL
- BgetIndpEnv:TYPO3_REQUEST_URL
- C{getIndpEnv:TYPO3_REQUEST_URL}
- D${TYPO3_REQUEST_URL}
- ETSFE:TYPO3|REQUEST_URL
16What 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.???- Adata = debug : rootLine
- Bdata = debug : -1
- CdebugData = 1
- Ddata.debug = rootLine
- EdebugData = rootline
- Fdata.debugData = 1
17What 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: {|}</h1>
insertData = 1
}- Adata
- Bwrap
- CinnerWrap
- Dwrap3
- EstdWrap
Information
- Description
- User has deleted their subject information Quiz on TYPO3 CI 2018 8.9 - 8.11, created by Deleted user on 06/05/2022.
- Author
- Deleted user
- Language
- English
- Views
- 13
- History
- Created on 6 May 2022 · updated on 6 May 2022
- Tags
- Rating
- No ratings yet Rate this quiz