Quiz
6. TypoScript IV (ab 6.10)
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (26)
1A condition in TypoScript starts with square brackets. Which of the following items end a condition block? (5)
- A[GLOBAL]
- B[global]
- C{global}
- D[END]
- E[end]
- F[End]
- G[]
2Replace “???” in the TypoScript code below to turn the word “monster” into “unicorn” in the frontend, if the constant princess is set to a value greater than 10. (1)
page = PAGE
page.10 = TEXT
page.10.value = monster
???
page.10.value = unicorn
[end]- A[{$princess} > 10]
- B[TSFE:princess > 10]
- C[intval("{princess}") > 10]
- D[globalVar = LIT:10=princess]
- E[if(princess > 10) then monster = unicorn]
3How can you check if the backend_layout field is set to home in User and Page TSconfig? (1)
- A[globalVar = TSFE:current|backend_layout = "home"]
- B[globalVar = TSFE:page|backend_layout = "home"]
- C[current|backend_layout = "home"]
- D[page|backend_layout = "home"]
- E[page["backend_layout"] == "home"]
4Which TypoScript condition can you use to check if a frontend user is currently logged in? (1)
- A[login = true]
- B[loginUser('*')]
- C[loginUser = *]
- D[user = login]
- E[loginUser = true]
- F[login = *]
5Which TypoScript conditions can you use at the frontend to check if the current website visitor is logged in as a backend user? (2)
- A[globalVar = TSFE:beUserLogin = 1]
- B[globalVar = backend.user.login.true]
- C[backend.user.isLoggedIn]
- D[frontend.user.isLoggedIn]
- E[backend.user.userId > 0]
6Which TypoScript condition can you use to check if the current time is 6pm or later? (1)
- A[time >= 18]
- B[time() > 18]
- C[time("18")]
- D[date("G") >= 18]
- E[hour >= 18]
7Which TypoScript conditions can you use to check if the user’s IP address is not 123.44.55.66? (2)
- A[IP = 123.44.55.66]
- B[ip("123.44.55.66")]
- C[getenv("REMOTE_ADDR") != "123.44.55.66"]
- D[not (getenv("REMOTE_ADDR") matches "/123\.44\.55\.66/")]
- E[getTSFE().remote["address"] != "123.44.55.66"]
- F[is("REMOTE_ADDR") != "123.44.55.66"]
8Which functions can you use in a TypoScript condition to access the host name requested by the client? (2)
- AgetFrontend().getHostname()
- BgetRequest().getParams().getHostname()
- Crequest.getRemoteAddress()
- Drequest.getNormalizedParams().getHttpHost()
- Egetenv('HTTP_HOST')
- Fgetenv('REMOTE_ADDR')
9Replace “???” in the TypoScript code below to output the text “foobar” in the frontend only if the TYPO3 version 13.4.23 is used and the request originates from the IP address 123.45.67.89. (1)
page = PAGE
page.10 = TEXT
page.10.value = HELLO WORLD!
???
page.10.value = foobar
[end]- A[typo3.version == "13.4.23"] AND [ip("123.45.67.89")]
- B[typo3.version == "13.4.23" and ip("123.45.67.89")]
- C[typo3.version == "13.4.23" OR ip("123.45.67.89")]
- D[typo3.branch == "13.4.23" && ip("123.45.67.89")]
- E[typo3.branch == "13.4.23"] && [ip("123.45.67.89")]
10Which image formats does the GIFBUILDER object support? (3)
- ATIFF (Tag Image File Format)
- BPNG (Portable Network Graphic).
- CExif (Exchangeable Image File Format).
- DGIF (Graphics Interchange Format).
- EAVIF (AV1 Image File Format).
- FMP4 (Moving Picture Experts Group v4).
11Which statements about the usage of fonts are correct if you use TYPO3’s GIFBUILDER object? (2)
- AYou can select one of the 20 available fonts provided by the TYPO3 Core.
- BYou can use a font from any font file using the TTF format (TrueType fonts).
- CYou can use a font from any font file using the OTF format (OpenType fonts).
- DYou can use a font from any font file using the CTF format (ClearType fonts).
- EYou can use a font from any font file using the PFM/PFB format (Type 1 fonts).
- FDue to TYPO3’s open-source license, the font processed through the GIFBUILDER object must also have a free and open-source license.
12What does the character c in the width and height specification stand for in the following TypoScript code? (1)
page = PAGE
page.10 = IMAGE
page.10.file = testimage.jpg
page.10.file.width = 100c+100
page.10.file.height = 100c- ACalculated
- BCrop
- CConstant
- DClear
- EContinuous
13What does [20.h] stand for in the following TypoScript code? (1)
lib.getPageTitle = IMAGE
lib.getPageTitle.altText.field = title
lib.getPageTitle.file = GIFBUILDER
lib.getPageTitle.file {
XY = 400,[10.h]+[20.h]+20
10 = TEXT
10.text.field = title
10.text.listNum.splitChar = |
10.text.listNum = 0
10.fontSize = 20
10.fontColor = #cc0000
10.offset = 0,24
10.niceText = 1
20 < .10
20.text.listNum = 1
20.offset = 0,24+[10.h]+6
}- AA width of 20 pixels.
- BA height of 20 pixels.
- CThe value of the constant called h.
- DThe height of the text field, which is defined at the index 20.
- EAn offset of 20 pixels in height.
- FA font height of 20 pixels.
14Which statements about TypoScript menus are correct? (3)
- AHMENU is a content object (cObject).
- BAccess-restricted pages can’t be listed in a TMENU.
- CCURRENT and CURIF are properties of common menu item states.
- DNO, ACT, and SPC are properties of common menu item states.
- ETYPO3 only supports hierarchical menus up to 16 levels depth.
- FThe MenuProcessor utilizes HMENU to generate a menu that can be used in Fluid.
15Which menu state can you use to format the menu item of the current page if this page contains at least one subpage? (1)
- ANO
- BCUR
- CCURIFSUB
- DACT
- EACTIFSUB
16Which menu state can you use to format all menu items including the current page and its parent pages regardless of whether they have subpages or not? (1)
- ANO
- BCUR
- CCURIFSUB
- DACT
- EACTIFSUB
17Which menu state can you use to format menu links to pages if they are access-restricted to user groups where the group name starts with the letters A-K? (1)
- ANO
- BUSERDEF1
- CCUR
- DCURIFSUB
- EACT
- FACTIFSUB
18Your TypoScript menu should include the current page as a menu item but should not generate a link to it. How can you achieve this? (1)
- ABy using the NOLINK menu state.
- BBy using the doNotLinkIt property of the TMENUITEM object type.
- CBy implementing a TypoScript condition.
- DBy activating the NoLinkToCurrentPage option in the Install Tool.
- EBy modifying the TYPO3 Core file:
Configuration/TypoScript/Pages/current/links.php
19Replace “???” in the TypoScript code below to make the variable mainnavigation available in the Fluid template to output the menu. (1)
page = PAGE
page {
__typeNum = 0
__10 = FLUIDTEMPLATE
__10 {
____...
____dataProcessing {
______10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
______10 {
________levels = 1
________includeSpacer = 1
________???
______}
____}
__}
}- Aobject = mainnavigation
- BobjName = mainnavigation
- Cvalue = mainnavigation
- Das = mainnavigation
20The following page tree and TypoScript code is given. Replace “???” in the TypoScript code below to only include the subpages in the menu without the current page. (1)

- A2
- B1
- C0
- D-1
- E-2
21How can you prevent a page from being displayed in a menu? (2)
- AYou set the page type to Not in menu.
- BYou use the Page enabled in menus option in the page properties.
- CYou use the TypoScript property excludeUidList.
- DYou use the TypoScript property hideInMenu.
- EYou use the TypoScript property includeNotInMenu.
22Which values does the property special of the HMENU content object support in TypoScript menus? (3)
- Aspecial = files
- Bspecial = list
- Cspecial = pages
- Dspecial = updated
- Especial = users
- Fspecial = categories
- Gspecial = versions
23Replace “???” in the TypoScript code below to output a breadcrumb menuthat shows the page path without the root page (page ID: 1) and without the current page. (1)
page = PAGE
page.10 = HMENU
page.10 {
wrap = <p>|</p>
special = rootline
???
1 = TMENU
1.NO.allWrap = |*|/
}- Aspecial.range = -1|0
- Bspecial.range = 0|-1
- Cspecial.range = 1|-2
- Dspecial.range = 1|0
- Especial.range = 2|-1
24Which data processors exist in TYPO3 by default? (2)
- ASessionDataProcessor
- BMenuProcessor
- CSecurePasswordProcessor
- DBackendUserProcessor
- ESiteProcessor
25Replace “???” in the TypoScript code below to generate a menu of the subpages of the current page and pass it as an array to a Fluid template. (1)
page = PAGE
page {
10 = PAGEVIEW
10 {
paths.10 = EXT:sitepackage/Resources/Private/Templates/
???
}
}- AmenuProcessor = TYPO3\CMS\Frontend\DataProcessing\DatabaseQueryProcessor
- BdataProcessing.10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
- CdataProcessing.10 = page-content
- DdataProcessing = menu
26Which statements about data processors are correct? (2)
- ATYPO3 developers can create custom data processors.
- BThe dataProcessing property can be used on all cObjects, including CONTENT and TEXT.
- CData processors can’t be nested inside one another.
- DYou can override the default Content Security Policy (CSP) on the frontend with the ContentSecurityPolicyProcessor data processor.
- EExtra parameters can be passed to data processors to adjust their behavior.
Information
- Description
- TYPO3 TYPO3 CI v13 Quiz on 6. TypoScript IV (ab 6.10), created by Ma Hi on 10/10/2025.
- Author
- Ma Hi
- Language
- Deutsch
- Views
- 1
- Tags
- Rating
- No ratings yet Rate this quiz