¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

6. TypoScript IV (ab 6.10)

Ma Hi 26 preguntas

Hacer el test

Preguntas del test (26)

  1. 1A condition in TypoScript starts with square brackets. Which of the following items end a condition block? (5)
    1. A[GLOBAL]
    2. B[global]
    3. C{global}
    4. D[END]
    5. E[end]
    6. F[End]
    7. G[]
  2. 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]
    1. A[{$princess} > 10]
    2. B[TSFE:princess > 10]
    3. C[intval("{princess}") > 10]
    4. D[globalVar = LIT:10=princess]
    5. E[if(princess > 10) then monster = unicorn]
  3. 3How can you check if the backend_layout field is set to home in User and Page TSconfig? (1)
    1. A[globalVar = TSFE:current|backend_layout = "home"]
    2. B[globalVar = TSFE:page|backend_layout = "home"]
    3. C[current|backend_layout = "home"]
    4. D[page|backend_layout = "home"]
    5. E[page["backend_layout"] == "home"]
  4. 4Which TypoScript condition can you use to check if a frontend user is currently logged in? (1)
    1. A[login = true]
    2. B[loginUser('*')]
    3. C[loginUser = *]
    4. D[user = login]
    5. E[loginUser = true]
    6. F[login = *]
  5. 5Which TypoScript conditions can you use at the frontend to check if the current website visitor is logged in as a backend user? (2)
    1. A[globalVar = TSFE:beUserLogin = 1]
    2. B[globalVar = backend.user.login.true]
    3. C[backend.user.isLoggedIn]
    4. D[frontend.user.isLoggedIn]
    5. E[backend.user.userId > 0]
  6. 6Which TypoScript condition can you use to check if the current time is 6pm or later? (1)
    1. A[time >= 18]
    2. B[time() > 18]
    3. C[time("18")]
    4. D[date("G") >= 18]
    5. E[hour >= 18]
  7. 7Which TypoScript conditions can you use to check if the user’s IP address is not 123.44.55.66? (2)
    1. A[IP = 123.44.55.66]
    2. B[ip("123.44.55.66")]
    3. C[getenv("REMOTE_ADDR") != "123.44.55.66"]
    4. D[not (getenv("REMOTE_ADDR") matches "/123\.44\.55\.66/")]
    5. E[getTSFE().remote["address"] != "123.44.55.66"]
    6. F[is("REMOTE_ADDR") != "123.44.55.66"]
  8. 8Which functions can you use in a TypoScript condition to access the host name requested by the client? (2)
    1. AgetFrontend().getHostname()
    2. BgetRequest().getParams().getHostname()
    3. Crequest.getRemoteAddress()
    4. Drequest.getNormalizedParams().getHttpHost()
    5. Egetenv('HTTP_HOST')
    6. Fgetenv('REMOTE_ADDR')
  9. 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]
    1. A[typo3.version == "13.4.23"] AND [ip("123.45.67.89")]
    2. B[typo3.version == "13.4.23" and ip("123.45.67.89")]
    3. C[typo3.version == "13.4.23" OR ip("123.45.67.89")]
    4. D[typo3.branch == "13.4.23" && ip("123.45.67.89")]
    5. E[typo3.branch == "13.4.23"] && [ip("123.45.67.89")]
  10. 10Which image formats does the GIFBUILDER object support? (3)
    1. ATIFF (Tag Image File Format)
    2. BPNG (Portable Network Graphic).
    3. CExif (Exchangeable Image File Format).
    4. DGIF (Graphics Interchange Format).
    5. EAVIF (AV1 Image File Format).
    6. FMP4 (Moving Picture Experts Group v4).

Información

Descripción
TYPO3 TYPO3 CI v13 Test sobre 6. TypoScript IV (ab 6.10), creado por Ma Hi el 10/10/2025.
Autor
Ma Hi
Idioma
Deutsch
Visitas
1
Etiquetas
typo3 ci v13typo3
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?