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

Quiz

6. Typoscript (Part 5)

Angela Dudtkowski 14 questions

Take the quiz

Questions in this quiz (14)

  1. 1Your TypoScript menu should include the current page as a menu
    item but should not generate a link to it. How can you achieve
    this? (1)
    1. ABy using the NOLINK menu item state
    2. BBy using the doNotLinkIt property of the TMENUITEM object type
    3. CBy implementing a TypoScript condition
    4. DBy activating the NoLinkToCurrentPage option in the Install Tool
    5. EBy modifying the TYPO3 Core file typo3/sysext/core/pages/current/links.php
  2. 2Your TYPO3 site contains the pages “A” (page ID: 179) and “B”
    (page ID: 178). What is the output of the following TypoScript
    menu? (1)

    page = PAGE
    page.10 = HMENU
    page.10.special = list
    page.10.special.value = 178,179
    page.10.1 = TMENU
    page.10.1.NO.after = |*||*|-
    1. AA-B
    2. BB-A
    3. C-A-B
    4. D-B-A
    5. EAB
    6. FBA
    7. GB-A-
  3. 3Replace ??? in the TypoScript code below to make the variable
    “mainnavigation” available in the Fluid template to output the
    menu. (1)

    page = PAGE
    page {
    typeNum = 0
    10 = FLUIDTEMPLATE
    10 {
    ...
    dataProcessing {
    10 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
    10 {
    levels = 1
    includeSpacer = 1
    ???
    }
    }
    }
    }
    1. Aobject = mainnavigation
    2. BobjName = mainnavigation
    3. Cvalue = mainnavigation
    4. Das = mainnavigation
  4. 4The following page tree and TypoScript code is given. Replace ???
    in the TypoScript code below to only include the subpages in the
    menu but not the current page? (1)

    Root
    │
    ├─── Home
    │
    ├─┬─ A
    │ ├─── AA
    │ └─── AB
    │
    ├─┬─ B
    │ ├─── BA
    │ ├─── BB
    │ └─── BC
    │
    └─── C


    page = PAGE
    page.10 = HMENU
    page.10 {
    entryLevel = ???
    1 = TMENU
    1 {
    expAll = 1
    NO = 1
    }
    2 < .1
    }
    1. AValue 2
    2. BValue 1
    3. CValue 0
    4. DValue -1
    5. EValue -2
  5. 5How can you prevent a page from being displayed in a menu? (2)
    1. AYou set the page type to “Not in menu”
    2. BYou use the “Page enabled in menus” option in the page properties
    3. CYou use the TypoScript property excludeUidList
    4. DYou use the TypoScript property hideInMenu
    5. EYou use the TypoScript property includeNotInMenu
  6. 6Which values does the property special of the HMENU content
    object support in TypoScript menus? (3)
    1. Aspecial = files
    2. Bspecial = list
    3. Cspecial = pages
    4. Dspecial = updated
    5. Especial = users
    6. Fspecial = categories
    7. Gspecial = versions
  7. 7Replace ??? in the TypoScript code below to output a breadcrumb
    menu that shows the page path without the root page (page ID:
    1) and without the current page. (1)

    page = PAGE
    page.10 = HMENU
    page.10 {
    wrap = <p>|</p>
    special = rootline
    ???
    1 = TMENU
    1.NO.allWrap = |*|/
    }
    1. Aspecial.range = -1|0
    2. Bspecial.range = 0|-1
    3. Cspecial.range = 1|-2
    4. Dspecial.range = 1|0
    5. Especial.range = 2|-1
  8. 8What is the output of the TypoScript code below if your website
    contains five pages “A”, “B”, “C”, “D”, and “E”? (1)

    page = PAGE
    page.10 = HMENU
    page.10.1 = TMENU
    page.10.1.wrap = <p>|</p>
    page.10.1.NO.linkWrap = X |*| Y |*| Z
    page.10.1.NO.allWrap = |&nbsp;
    1. AXAX XBX XCX YDY ZEZ
    2. BXAX YBY YCY YDY ZEZ
    3. CXA XB XC YD ZE
    4. DXA YB ZC ZD ZE
    5. EXA YB YC YD ZE
  9. 9What is the output of the TypoScript code below if your website
    contains only one page “A”? (1)

    page = PAGE
    page.10 = HMENU
    page.10.1 = TMENU
    page.10.1.wrap = <p>|</p>
    page.10.1.NO.linkWrap = 1 |*| 2 |*| 3
    page.10.1.NO.allWrap = |&nbsp;
    1. A1A
    2. B2A
    3. C3A
    4. D1A 2A 3A
    5. E3A 1A 2A
  10. 10What is the output of the TypoScript code below if your website
    contains five pages “A”, “B”, “C”, “D”, and “E”? (1)

    page = PAGE
    page.10 = HMENU
    page.10.1 = TMENU
    page.10.1.wrap = <p>|</p>
    page.10.1.NO.linkWrap = 1 |*| 2 || 3 |*| 4
    page.10.1.NO.allWrap = |&nbsp;
    1. A1A 2B 3C 2D 4E
    2. B4A 2B 2C 3D 1E
    3. C1A 2B 2C 3D 4E
    4. D1A 2B 3C 3D 4E

Information

Description
TYPO3 Zertifikat TYPO3 CI 2022 Quiz on 6. Typoscript (Part 5), created by Angela Dudtkowski on 30/05/2022.
Language
Deutsch
Views
1
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?