Andreas Kirilow
Quiz von , erstellt am more than 1 year ago

Programmierung Quiz am TYPO3 CI 2018 8.7 - 8.8, erstellt von Andreas Kirilow am 20/12/2018.

6
0
0
Andreas Kirilow
Erstellt von Andreas Kirilow vor fast 6 Jahre
Schließen

TYPO3 CI 2018 8.7 - 8.8

Frage 1 von 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)

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 2 von 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 {
???
}

Wähle eine oder mehr der folgenden:

  • parseFunc.string1 = string2

  • parseFunc.short.string1 = string2

  • parseFunc.tags.string1 = string2

  • string1 = string2

  • HTMLparser.string1 = string2

  • HTMLparser.replace.string1 = string2

Erklärung

Frage 3 von 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)

Wähle eine oder mehr der folgenden:

  • 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

Erklärung

Frage 4 von 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)

Wähle eine oder mehr der folgenden:

  • config.spam.email = 0

  • config.spamProtectEmailAddresses = 1

  • config.email.usePicture = 1

  • config.protectEmailAdresses = 0

Erklärung

Frage 5 von 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)

Wähle eine oder mehr der folgenden:

  • config.spam.email = 0

  • config.spamProtectEmailAddresses = 1

  • config.email.usePicture = 1

  • config.protectEmailAdresses = 0

Erklärung

Frage 6 von 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)

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 7 von 15

1

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

Wähle eine oder mehr der folgenden:

  • IFSUBRO

  • CUR

  • USR

  • NOIFSUB

  • ACTSUB

  • SPC

Erklärung

Frage 8 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 9 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 10 von 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)

Wähle eine oder mehr der folgenden:

  • NO

  • USERDEF1

  • USERDEF2

  • CUR

  • CURIFSUB

  • ACT

  • ACTIFSUB

Erklärung

Frage 11 von 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)

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung

Frage 12 von 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 = |*||*|-

Wähle eine oder mehr der folgenden:

  • A-B

  • B-A

  • -A-B

  • -B-A

  • AB

  • BA

  • A - B

  • B-A-

Erklärung

Frage 13 von 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
}

Wähle eine oder mehr der folgenden:

  • menu = javascript

  • special = jsmenu

  • special = updated

  • special.menu = last

  • menu = last

  • menu = updated

Erklärung

Frage 14 von 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

Wähle eine oder mehr der folgenden:

  • Value 2

  • Value 1

  • Value 0

  • Value -1

  • Value -2

Erklärung

Frage 15 von 15

1

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

Wähle eine oder mehr der folgenden:

  • 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.

Erklärung