TYPO3 CI 2018 8.7 - 8.8

Description

Programmierung Quiz on TYPO3 CI 2018 8.7 - 8.8, created by Andreas Kirilow on 20/12/2018.
Andreas Kirilow
Quiz by Andreas Kirilow, updated more than 1 year ago
Andreas Kirilow
Created by Andreas Kirilow almost 6 years ago
6
0

Resource summary

Question 1

Question
You see CType=list and list_type=9 (the tt_news extension). How do you address the body text of the output? (2)
Answer
  • 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

Question 2

Question
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 { ??? }
Answer
  • parseFunc.string1 = string2
  • parseFunc.short.string1 = string2
  • parseFunc.tags.string1 = string2
  • string1 = string2
  • HTMLparser.string1 = string2
  • HTMLparser.replace.string1 = string2

Question 3

Question
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)
Answer
  • 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

Question 4

Question
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)
Answer
  • config.spam.email = 0
  • config.spamProtectEmailAddresses = 1
  • config.email.usePicture = 1
  • config.protectEmailAdresses = 0

Question 5

Question
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)
Answer
  • config.spam.email = 0
  • config.spamProtectEmailAddresses = 1
  • config.email.usePicture = 1
  • config.protectEmailAdresses = 0

Question 6

Question
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)
Answer
  • 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.

Question 7

Question
Which of the following are not menu states? (2)
Answer
  • IFSUBRO
  • CUR
  • USR
  • NOIFSUB
  • ACTSUB
  • SPC

Question 8

Question
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)
Answer
  • NO
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 9

Question
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)
Answer
  • NO
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 10

Question
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)
Answer
  • NO
  • USERDEF1
  • USERDEF2
  • CUR
  • CURIFSUB
  • ACT
  • ACTIFSUB

Question 11

Question
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)
Answer
  • 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.

Question 12

Question
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 = |*||*|-
Answer
  • A-B
  • B-A
  • -A-B
  • -B-A
  • AB
  • BA
  • A - B
  • B-A-

Question 13

Question
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 }
Answer
  • menu = javascript
  • special = jsmenu
  • special = updated
  • special.menu = last
  • menu = last
  • menu = updated

Question 14

Question
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
Answer
  • Value 2
  • Value 1
  • Value 0
  • Value -1
  • Value -2

Question 15

Question
How can you prevent a page from being displayed in a menu? (2)
Answer
  • 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.
Show full summary Hide full summary

Similar

Einführung Programmieren
Aaron Welther
Programmierung
So Li
Die Programmierung
Jam Behn
Geometry Theorems
PatrickNoonan
GCSE ICT Revision
Andrea Leyden
9 History- The Treaty of Versailles
melgallagher
To Kill A Mockingbird GCSE English
naomisargent
Cell Structure
megan.radcliffe16
Rights and Responsibilities Flashcards - Edexcel GCSE Religious Studies Unit 8
nicolalennon12
1PR101 2.test - Část 7.
Nikola Truong