GoConqr has a new look! Let us know what you think.

Quiz

6. TypoScript III (ab 6.8)

Ma Hi 23 questions

Take the quiz

Questions in this quiz (23)

  1. 1Which statements about stdWrap functions in TypoScript are correct? (3)
    1. AstdWrap functions process values based on properties.
    2. BTYPO3 can execute up to 64 stdWrap functions per request.
    3. CTYPO3 does not cache the result of a stdWrap function by default.
    4. DYou can use stdWrap to manipulate a text string, e.g. convert lower case letters to upper case letters.
    5. EThe system extension EXT:ts_stdwrap is required to execute stdWrap TypoScript functions.
    6. FstdWrap properties can be used as conditions, e.g. ifNull, ifEmpty, and ifBlank.
  2. 2Given the following TypoScript code, what is the output at the frontend? (1)

    page = PAGE
    page.10 = TEXT
    page.10.value = foo
    page.10.if {
    value.field = subtitle
    equals = bar
    }
    1. AThe output is always “foo” on all pages.
    2. BThe output is “foo” on all pages whose subtitle is “bar”.
    3. CThe output is “bar” on all pages whose subtitle is “foo”.
    4. DThe output is “foo” on all subpages of pages whose subtitle is “bar”.
    5. EThe output is “foo” by default and “bar” on all pages whose subtitle is “bar”.
  3. 3Replace “???” in the TypoScript code below to output the author’s name of the current page as a link to the author’s email address in the frontend. (1)

    page = PAGE
    page.10 = TEXT
    page.10 {
    ???
    insertData = 1
    typolink.parameter.field = author_email
    }
    1. Avalue = author
    2. Bvalue = {$page:$author}
    3. Cvalue = {page:author}
    4. Dvalue = {$author}
    5. Evalue = page:author
    6. Fvalue = $author
  4. 4What is the output of the following TypoScript code? (2)

    page = PAGE
    page {
    10 = TEXT
    10.value = foobar
    10.override {
    required = 1
    data = field:subtitle // field:nav_title
    }
    }
    1. AThe output is foobar if both fields subtitle and nav_title are empty.
    2. BThe output is foobar if both fields subtitle and nav_title contain values.
    3. CThe output is foobar if the field subtitle is empty and nav_title contains a value.
    4. DThe output is foobar if the field subtitle contains a value and nav_title is empty.
    5. EThe subtitle is shown if the field subtitle contains a value and nav_title is empty.
    6. FThe navigation title is shown if both fields subtitle and nav_title contain values.
  5. 5Replace “???” in the TypoScript code below to meet the requirements as outlined. (1)

    Your TypoScript code defines a placeholder image using the temp.stdimage object. Backend users can upload a custom image, which is stored in the temp.userimage object. TYPO3 should display the placeholder image by default when no custom image has been uploaded.

    page = PAGE
    page.10 = COA
    page.10 {
    ???
    }
    1. A10 < temp.stdimage
      20 < temp.userimage
    2. B10 < temp.userimage
      20 < temp.stdimage
    3. C10 < temp.userimage
      20.stdWrap.ifEmpty.cObject < temp.stdimage
    4. D10 < temp.userimage
      10.stdWrap.ifEmpty.cObject < temp.stdimage
    5. E10 < temp.stdimage
      10.stdWrap.ifEmpty.cObject < temp.userimage
  6. 6Replace “???” in the TypoScript code below to output the text “foobar” in the frontend whenever the website is accessed with the GET parameter print=1. (1)

    page = PAGE
    page.10 = TEXT
    page.10 {
    value = foobar
    ???
    }
    1. Aif.isTrue.data = GET : print
    2. Bif.isPositive = GP : print
    3. Cif.value.data = GP : print
      if.equals = 1
    4. Dif.value.data = GET : print
      if.equals = 1
  7. 7Replace “???” in the TypoScript code below to output the text “foobar” as a link to example.com in the frontend, styled by a CSS class external. (2)

    page = PAGE
    page.10 = TEXT
    page.10 {
    value = foobar
    ???
    }
    1. Atypolink = https://example.com
      typolink.ATagParams = class='external'
    2. Btypolink.parameter = https://example.com
      typolink.parameter.ATagParams = class='external'
    3. Ctypolink.parameter = https://example.com
      typolink.ATagParams = class='external'
    4. Dtypolink.parameter = https://example.com - external
    5. Etypolink = https://example.com - external
  8. 8Replace “???” in the TypoScript code below to generate a link to the page with ID 42. When clicked, the link should open the target page in a popup window with dimensions 250×250 pixels. (1)

    page = PAGE
    page.10 = TEXT
    page.10 {
    value = new window
    ???
    }
    1. Atypolink.parameter = t3://page?uid=42 250x250
    2. Btypolink.popup = t3://page?uid=42 250x250
    3. Ctypolink.parameter = 250x250 page=42
    4. Dtypolink.parameter = 42
      typolink.popup = width=250,height=250
    5. Etypolink.parameter = t3://page?uid=42
      typolink.onclick = popup:250x250
  9. 9Replace “???” in the TypoScript code below to output the image as a link. (1)

    page = PAGE
    page.10 = IMAGE
    page.10 {
    file = fileadmin/user_upload/example.jpg
    ???
    }
    1. Atypolink.parameter = t3://page?uid=42
    2. BstdWrap.typolink.parameter = t3://page?uid=42
    3. Cwrap.typolink.parameter = t3://page?uid=42
    4. Dfile.typolink.parameter = t3://page?uid=42
  10. 10Replace “???” in the TypoScript code below to output a human-readable format of the given UNIX time stamp. (1)

    page = PAGE
    page.10 = TEXT
    page.10.value = 1226923200
    page.10.??? = %A, %d %B %Y
    1. Astrftime
    2. Bformat
    3. Cmktime
    4. Dtime

Information

Description
TYPO3 TYPO3 CI v13 Quiz on 6. TypoScript III (ab 6.8), created by Ma Hi on 10/10/2025.
Author
Ma Hi
Language
Deutsch
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?