Andreas Kirilow
Quiz by , created more than 1 year ago

Programmierung Quiz on TYPO3 CI 2018 8.7 - 8.8, created by Andreas Kirilow on 20/12/2018.

6
0
0
Andreas Kirilow
Created by Andreas Kirilow almost 6 years ago
Close

TYPO3 CI 2018 8.7 - 8.8

Question 1 of 15

1

You see CType=list and list_type=9 (the tt_news extension). How do you address the body text of the output? (2)

Select one or more of the following:

  • plugin.tt_news

  • plugin.tx_ttnews_pi1

  • plugin.tx_ttnews_pi1.9

  • tt_content.list.9

  • tt_content.plugin.9

  • tt_content.plugin.tt_news

  • tt_content.list.10.9

  • tt_content.list.20.9

Explanation

Question 2 of 15

1

Replace ??? in the code below, so that a specific strings is automatically replaced by another string in the output of
the tt_content text content? (1)

tt_content.text.20 {
???
}

Select one or more of the following:

  • parseFunc.string1 = string2

  • parseFunc.short.string1 = string2

  • parseFunc.tags.string1 = string2

  • string1 = string2

  • HTMLparser.string1 = string2

  • HTMLparser.replace.string1 = string2

Explanation

Question 3 of 15

1

Subtitles in the backend form of a page can only be entered in one line. What do you need to do so that you can enter them in multiple lines? (1)

Select one or more of the following:

  • This is not possible without modifying the TYPO3 core.

  • You overwrite the default TCA by using the following PHP code:
    $GLOBALS['TCA']['pages']['columns']['subtitle']['config']['type'] = 'text';

  • You enter the following code in Page TSconfig:
    TCEFORM.pages.columns.subtitle.config.type = text

  • You enter the following code in User TSconfig:
    TCAdefaults.pages.subtitle.config.type = text

  • You enter the following code in the TypoScript setup:
    pages.columns.subtitle.config.type = text

  • You enter the following code in the TypoScript setup:
    pages.subtitle.config.type = text

Explanation

Question 4 of 15

1

Which TypoScript code element do you use to display email addresses in the frontend in a manner that makes it hard for robots to read for spam purposes? (1)

Select one or more of the following:

  • config.spam.email = 0

  • config.spamProtectEmailAddresses = 1

  • config.email.usePicture = 1

  • config.protectEmailAdresses = 0

Explanation

Question 5 of 15

1

Which TypoScript code element do you use to display email addresses in the frontend in a manner that makes it hard
for robots to read for spam purposes? (1)

Select one or more of the following:

  • config.spam.email = 0

  • config.spamProtectEmailAddresses = 1

  • config.email.usePicture = 1

  • config.protectEmailAdresses = 0

Explanation

Question 6 of 15

1

You have added a content element of type “Bullet List” to a page, but you do not like the way it is displayed. How can you customize it, if the site is configured to use “Fluid Styled Content”? (2)

Select one or more of the following:

  • The content element is a core function, so you have to modify the appropriate core files directly.

  • Bullet point lists can not be customized to preserve a consistent look and feel across all TYPO3
    sites.

  • You can modify the tt_content.bullets TypoScript object, if “Fluid Styled Content” is used.

  • You can modify the tt_content.bulletlist TypoScript object, if “Fluid Styled Content” is
    used.

  • You can use CSS to customize the appearance of the ce-bullets class, if “Fluid Styled Content”
    is used.

Explanation

Question 7 of 15

1

Which of the following are not menu states? (2)

Select one or more of the following:

  • IFSUBRO

  • CUR

  • USR

  • NOIFSUB

  • ACTSUB

  • SPC

Explanation

Question 8 of 15

1

You need a format for the display of the menu item for the current page if it contains at least one subpage. Which menu state do you use? (1)

Select one or more of the following:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 9 of 15

1

You want to format the display of the menu item for the current page and the parent pages, regardless of whether subpages exist. Which menu state do you use? (1)

Select one or more of the following:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 10 of 15

1

Which menu state can you use to indicate pages if access to them is restricted to user groups where the group name begins with the letters A-K? (2)

Select one or more of the following:

  • NO

  • USERDEF1

  • USERDEF2

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Explanation

Question 11 of 15

1

A menu does not need to contain a link to the current page; in fact, this is often confusing or wrong. How can you prevent this? (1)

Select one or more of the following:

  • By using the NOLINK menu state.

  • By using the doNotLinkIt TypoScript option.

  • By using an appropriate condition.

  • You set the NeverLinkCurrentPage property in the Install Tool.

  • You have to write a custom PHP function.

Explanation

Question 12 of 15

1

We have pages “A” (UID = 179) and “B” (UID = 178). What is the output of the following 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 = |*||*|-

Select one or more of the following:

  • A-B

  • B-A

  • -A-B

  • -B-A

  • AB

  • BA

  • A - B

  • B-A-

Explanation

Question 13 of 15

1

What do you need to add to the following TypoScript code to obtain a JavaScript pull-down menu of all pages that were
changed in the last three days? (1)

page = PAGE
page.10 = HMENU
page.10 {
???
special.value = 1
special.mode = tstamp
special.maxAge = 3600*24*3
limit=10
1 = JSMENU
1.target=_top
1.firstLabelGeneral = Select your page
}

Select one or more of the following:

  • menu = javascript

  • special = jsmenu

  • special = updated

  • special.menu = last

  • menu = last

  • menu = updated

Explanation

Question 14 of 15

1

Which value do you have to assign to the entryLevel option if you want to display only the subpages in the menu and not
the current page? (1)

Condition: you use the following page structure and TypoScript code to display a navigation menu.
Root page = PAGE
│ page.10 = HMENU
├─── Home page.10 {
│ entryLevel = ???
├─┬─ A 1 = TMENU
│ ├─── AA 1 {
│ └─── AB expAll = 1
│ NO = 1
├─┬─ B }
│ ├─── BA 2 < .1
│ ├─── BB }
│ └─── BC

└─── C

Select one or more of the following:

  • Value 2

  • Value 1

  • Value 0

  • Value -1

  • Value -2

Explanation

Question 15 of 15

1

How can you prevent a page from being displayed in a menu? (2)

Select one or more of the following:

  • You use the “Not in menu” page type.

  • You use the “Hide in menu” page property.

  • You use the TypoScript property excludeUidList.

  • You use the TypoScript property hideInMenu.

  • You use the TypoScript property includeNotInMenu.

Explanation