TYPO3 CI 2018 8.4

Beschreibung

Programmierung Quiz am TYPO3 CI 2018 8.4, erstellt von Andreas Kirilow am 20/12/2018.
Andreas Kirilow
Quiz von Andreas Kirilow, aktualisiert more than 1 year ago
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
4
0

Zusammenfassung der Ressource

Frage 1

Frage
A condition begins with square brackets. Which expression does it have to end in? (6)
Antworten
  • [GLOBAL]
  • [global]
  • [Global]
  • [END]
  • [end]
  • [End]
  • []

Frage 2

Frage
In which areas can you use conditions? (4)
Antworten
  • TypoScript constants.
  • TypoScript setup.
  • Page TSconfig.
  • User TSconfig.
  • Fluid template.

Frage 3

Frage
Is it possible to deactivate conditions in PageTSconfig and UserTSconfig? (1)
Antworten
  • No, conditions are part of the core, so they cannot be deactivated for TSconfig.
  • Yes, by using the TypoScript instruction config.TSconfigConditions = 0
  • Yes, by using the PageTSconfig instruction config.TSconfigConditions = 0
  • Yes, by using the following key in the Install Tool: [BE][TSconfigConditions] = 0
  • Yes, by selecting the Use TSconfigConditions checkbox in the user settings

Frage 4

Frage
Is it possible to check the backend_layout field in the backend, and if so, how? (1)
Antworten
  • No, that is not possible. Page properties are only relevant in the frontend and are checked there by TypoScript.
  • [globalVar = TSFE:current|backend_layout = 1]
  • [globalVar = TSFE:this|backend_layout = 1]
  • [globalVar = TSFE:page|backend_layout = 1]
  • [TSFE|backend_layout = 1]
  • [this|backend_layout = 1]
  • [page|backend_layout = 1]
  • [current|backend_layout = 1]

Frage 5

Frage
Which condition can you use to check whether a frontend user is logged in? (2)
Antworten
  • [login = true]
  • [!login = false]
  • [loginUser = *]
  • [user = login]
  • [loginUser = true]
  • [login = *]

Frage 6

Frage
Which conditions allow you to determine in the frontend, if the current user is also logged-in at the backend at the same time? (2)
Antworten
  • [globalVar = TSFE : beUserLogin > 0]
  • [BEloginUser = *]
  • [getTSFE()['beUserLogin'] == 1]
  • [getTSFE().beUserLogin == 1]
  • [TSFE:beUser > 0]

Frage 7

Frage
Which condition can you use to check if the current time is 2pm or later? (1)
Antworten
  • [time >= 18]
  • [time() > 18]
  • [time("18")]
  • [date("G") >= 18]
  • [hour >= 18]
  • [hour = > 18]
  • [hour() > 18]

Frage 8

Frage
Which conditions can you use to check if the user’s IP address is not 217.112.17.89? (3)
Antworten
  • [IP != 217.112.17.89]
  • [not (getenv("REMOTE_ADDR") matches "/217\.112\.17\.89/")]
  • [is("REMOTE_ADDR") != "217.112.17.89"]
  • [getenv("REMOTE_ADDR") != "217.112.17.89"]
  • [IP NOT 217.112.17.89]
  • [IP = 217.112.17.89] [else]
  • [IP == 217.112.17.89] [else]

Frage 9

Frage
Which of the following conditions have the correct syntax? (6)
Antworten
  • [language = *de][language = *en]
  • [language = *de]or[language = *en]
  • [language = *de]OR[language = *en]
  • [language = *de]NOT[language = *en]
  • [language = *de]||[language = *en]
  • [language = *de]AnD[language = *en]
  • [language = *de]&[language = *en]
  • [language = *de]&&[language = *en]

Frage 10

Frage
Which condition would you use to check whether the current day is Christmas Eve? (1)
Antworten
  • This is not possible; Christmas Eve falls on a different day of the week every year.
  • This can only be achieved by implementing a custom condition.
  • [dayofmonth = 24]AND[dayofweek = 12]
  • [dayofmonth = 24]AND[month = 12]
  • [day = 24]AND[month = 12]
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Einführung Programmieren
Aaron Welther
Programmierung
So Li
Die Programmierung
Jam Behn
Allgemeine Pathologie / Einführung
Nicole Nafzger
BWL-Theorie: Bücher der Buchhaltung
Julian 1108
Sachversicherungen
Christine Zehnder
Wirk Uni Wien Teil 2
lazer der boss
Vetie - Tierzucht & Genetik - S II
Fioras Hu
Vetie - Tierzucht & Genetik - 2016
Fioras Hu
Vetie - Innere Medizin 2013
Fioras Hu