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

Quiz

Test 7 (Chapter 8 I)

Ma Hi 22 questions

Take the quiz

This quiz has a time limit, so it opens in the usual player.

Questions in this quiz (22)

  1. 1Which of the following objects are not TypoScript top level objects? (2)
    1. Aconfig
    2. BTEXT
    3. Cstyles
    4. DGMENU
    5. EPAGE
    6. FincludeLibs
  2. 2What do you enter in the constants area to makethe following TypoScript setup code functional? (1)

    config.language = {$langKey}
    config.sys_language_uid = 1
    config.htmlTag_langKey = {$langKey}
    1. A$langKey = de
    2. B{$langkey = en}
    3. ClangKey = jp
    4. Dlangkey = cn
    5. ELANGKEY = at
  3. 3You want to execute a replacement in content elements: the system is to replace the ###MAIL### placeholder with the current email address of the web master. How do you proceed? (1)
    1. AYou enter the following line in the TypoScript constant area:
      MAIL = info@mytypo3domain.de
    2. BYou enter the following line in the TypoScript setup area:
      MAIL = info@mytypo3domain.de
    3. CYou enter the following line in the TypoScript setup area:
      <...> = {$MAIL}
    4. DYou enter the following line in the TypoScript constant area:
      constant.MAIL = info@mytypo3domain.de
    5. EYou enter the following line in the TypoScript setup area:
      constants.MAIL = info@mytypo3domain.de
  4. 4What is the output produced by this TypoScript
    code? (1)

    page = PAGE
    page.10 = COA
    page.10 {
    30 = TEXT
    30.value = A
    30.wrap = B|C
    40 = HTML
    40.value = D
    40.wrap = E|F
    10 = TEXT
    10.value < .40.value
    20 < .30
    40.value = G
    }
    1. ADBACBAC
    2. BDBACD
    3. CGBACBAC
    4. DEDFBACEGF
    5. EDBACEGF
    6. FDBACEDF
    7. GBACBAC
  5. 5What is the output produced by this TypoScript code? (1)

    page = PAGE
    page.10 = COA
    page.10 {
    30 = TEXT
    30.value = A
    40 = TEXT
    40.value = C
    20 = TEXT
    20.value = B
    20.stdWrap.append < .30
    10 = TEXT
    10.prepend < .40
    10.value = D
    }
    1. AABCD
    2. BCDBAAC
    3. CBDCAAB
    4. DABCADB
    5. EBDCAB
    6. FDBCAB
  6. 6What is the output produced by this TypoScript code? (1)

    object1 = TEXT
    object1.value = value1
    page = PAGE
    page {
    10 <= object1
    15 < object1
    15.value = -
    20 < object1
    }
    object1.value = value3
    1. Avalue1
    2. B-value1
    3. Cvalue1-value1
    4. Dvalue1-value3
    5. Evalue3-value1
  7. 7What code do you enter in place of the question marks so that the output of the script is AB? (1)

    lib.obj = COA
    lib.obj {
    10 = COA
    10.10 = TEXT
    10.10.value = A
    10.20 < .10
    }
    page = PAGE
    page.10 = COA
    page.10 {
    10 =< lib.obj
    ???
    }
    1. A10.value = B
    2. B10.10.value = B
    3. C10.20.value = B
    4. D10.10.20.value = B
    5. E10.10.20.10.value = B
    6. F10.10.10.20.value = B
  8. 8Is it possible to check the backend_layout field in the backend, and if so, how? (1)
    1. ANo, that is not possible. Page properties are only relevant in the
      frontend and are checked there by TypoScript.
    2. B[globalVar = TSFE:current|backend_layout = 1]
    3. C[globalVar = TSFE:this|backend_layout = 1]
    4. D[globalVar = TSFE:page|backend_layout = 1]
    5. E[TSFE|backend_layout = 1]
    6. F[this|backend_layout = 1]
    7. G[page|backend_layout = 1]
    8. H[current|backend_layout = 1]
  9. 9Which condition allows you to determine in the frontend whether a user is logged into the backend at the same time? (1)
    1. A[belogin = true]
    2. B[BEloginUser = *]
    3. C[globalVar = TSFE : beUserLogin > 0]
    4. D[globalVar = TSFE : beLogin > 0]
    5. E[TSFE:beUser > 0]
  10. 10What do you need to observe when creating your own condition? (5)
    1. AYou have to create a PHP file.
    2. BYou can only address a function, and not a class.
    3. CYou address a function within a class.
    4. DThe function can have any name.
    5. EThe function has to start with user_.
    6. FIt is possible to transfer parameters.
    7. GIt is not possible to transfer parameters.
    8. HThe function can return any value.
    9. IThe function can only return true or false.

Information

Description
Quiz on Test 7 (Chapter 8 I), created by Ma Hi on 19/06/2015.
Author
Ma Hi
Language
Deutsch
Views
19
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?