Test
TYPO3 CI 2018 8.4
Preguntas del test (10)
1A condition begins with square brackets. Which expression does it have to end in? (6)
- A[GLOBAL]
- B[global]
- C[Global]
- D[END]
- E[end]
- F[End]
- G[]
2In which areas can you use conditions? (4)
- ATypoScript constants.
- BTypoScript setup.
- CPage TSconfig.
- DUser TSconfig.
- EFluid template.
3Is it possible to deactivate conditions in PageTSconfig and UserTSconfig? (1)
- ANo, conditions are part of the core, so they cannot be deactivated for TSconfig.
- BYes, by using the TypoScript instruction
config.TSconfigConditions = 0 - CYes, by using the PageTSconfig instruction
config.TSconfigConditions = 0 - DYes, by using the following key in the Install Tool:
[BE][TSconfigConditions] = 0 - EYes, by selecting the Use TSconfigConditions checkbox in the user settings
4Is it possible to check the backend_layout field in the backend, and if so, how? (1)
- ANo, that is not possible. Page properties are only relevant in the frontend and are checked there
by TypoScript. - B[globalVar = TSFE:current|backend_layout = 1]
- C[globalVar = TSFE:this|backend_layout = 1]
- D[globalVar = TSFE:page|backend_layout = 1]
- E[TSFE|backend_layout = 1]
- F[this|backend_layout = 1]
- G[page|backend_layout = 1]
- H[current|backend_layout = 1]
- ANo, that is not possible. Page properties are only relevant in the frontend and are checked there
5Which condition can you use to check whether a frontend user is logged in? (2)
- A[login = true]
- B[!login = false]
- C[loginUser = *]
- D[user = login]
- E[loginUser = true]
- F[login = *]
6Which conditions allow you to determine in the frontend, if the current user is also logged-in at the backend at the
same time? (2)- A[globalVar = TSFE : beUserLogin > 0]
- B[BEloginUser = *]
- C[getTSFE()['beUserLogin'] == 1]
- D[getTSFE().beUserLogin == 1]
- E[TSFE:beUser > 0]
7Which condition can you use to check if the current time is 2pm or later? (1)
- A[time >= 18]
- B[time() > 18]
- C[time("18")]
- D[date("G") >= 18]
- E[hour >= 18]
- F[hour = > 18]
- G[hour() > 18]
8Which conditions can you use to check if the user’s IP address is not 217.112.17.89? (3)
- A[IP != 217.112.17.89]
- B[not (getenv("REMOTE_ADDR") matches "/217\.112\.17\.89/")]
- C[is("REMOTE_ADDR") != "217.112.17.89"]
- D[getenv("REMOTE_ADDR") != "217.112.17.89"]
- E[IP NOT 217.112.17.89]
- F[IP = 217.112.17.89]
[else] - G[IP == 217.112.17.89]
[else]
9Which of the following conditions have the correct syntax? (6)
- A[language = *de][language = *en]
- B[language = *de]or[language = *en]
- C[language = *de]OR[language = *en]
- D[language = *de]NOT[language = *en]
- E[language = *de]||[language = *en]
- F[language = *de]AnD[language = *en]
- G[language = *de]&[language = *en]
- H[language = *de]&&[language = *en]
10Which condition would you use to check whether the current day is Christmas Eve? (1)
- AThis is not possible; Christmas Eve falls on a different day of the week every year.
- BThis can only be achieved by implementing a custom condition.
- C[dayofmonth = 24]AND[dayofweek = 12]
- D[dayofmonth = 24]AND[month = 12]
- E[day = 24]AND[month = 12]
Información
- Descripción
- El usuario ha eliminado su información de asignaturas Test sobre TYPO3 CI 2018 8.4, creado por Usuario eliminado el 06/05/2022.
- Autor
- Usuario eliminado
- Idioma
- English
- Visitas
- 15
- Historial
- Creado el 6 may 2022 · actualizado el 6 may 2022
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test