2.6 TypoScript

Beschreibung

TYPO3 CD 2020 (zweite Auflage) Quiz am 2.6 TypoScript, erstellt von Pascal Bartl am 26/03/2021.
Pascal Bartl
Quiz von Pascal Bartl, aktualisiert more than 1 year ago
Pascal Bartl
Erstellt von Pascal Bartl vor mehr als 3 Jahre
2
0

Zusammenfassung der Ressource

Frage 1

Frage
You want to access the property title of the object blog with the cObject-ViewHelper in Fluid. What needs to be set in TypoScript? (2) Assumptions: The TypoScript library lib.path is a TEXT cObject and the cObject-ViewHelper is implemented as follows. <f:cObject typoscriptObjectPath="lib.path" data="{blog}" />
Antworten
  • import = 1
  • insertData = 1
  • data = field:title
  • field = data:title
  • dataWrap = {title}

Frage 2

Frage
What needs to be done to add TypoScript files for an extension? (1)
Antworten
  • Add the addTypoScript() method call to file ext_localconf.php
  • Add the addTypoScript() method call to file ext_tables.php
  • Add the addStaticFile() method call to file Configuration/TCA/Overrides/sys_template.php
  • Add the addStaticFile() method call to file Configuration/TCA/Overrides/tt_content.php

Frage 3

Frage
Assuming that the extension key reads my_extension and the plugin key is Bloglisting, which TypoScript keys exist? (3)
Antworten
  • config.tx_myextension
  • config.tx_myextension_bloglisting
  • plugin.tx_myextension
  • plugin.tx_myextension_bloglisting
  • module.tx_myextension

Frage 4

Frage
How can a plugin Example of an extension MyExtension be added to all pages with TypoScript? (1)
Antworten
  • page.10 < plugin.tx_myextension_example
  • page.10 < module.tx_myextension_example
  • page.10 < tt_content.list.20.myextension_example
  • page.10 < config.tx_extbase
  • page.10 < plugin.tx_simpleblog

Frage 5

Frage
Which method can be used to make TSconfig settings available in an extension? (1)
Antworten
  • The “Include”-directive in TypoScript
  • The Include field in the page properties
  • The addPageTSConfig() method of class ExtensionManagementUtility
  • The addTSConfig() method of class ExtensionManagement
  • This is not possible by default

Frage 6

Frage
What is the purpose of the TypoScript configuration config.sys_language_mode = strict? (1)
Antworten
  • Only records in the default language are shown
  • Only records in the currently selected language are shown
  • Only records with translations in all available languages are shown
  • Only records which do not have a default language are shown
  • An error is shown if the page does not have a translation in the currently selected language

Frage 7

Frage
What does the TypoScript sub-key features.skipDefaultArguments = 1 define? (1)
Antworten
  • Default arguments are not processed
  • Default arguments are not added to URLs
  • Default arguments are ignored.
  • Default arguments are prevented
  • Default arguments are not executed

Frage 8

Frage
Which statements about TypoScript for backend modules are correct? (2)
Antworten
  • TypoScript works for the frontend only and cannot be used for backend modules
  • TypoScript for backend modules is configured via the key module
  • TypoScript for backend modules can be created by copying the key plugin
  • TypoScript for backend modules is loaded in the ext_tables.php file
  • TypoScript for backend modules and frontend plugins is exactly the same

Frage 9

Frage
How can an array be parsed as a TypoScript object? (1)
Antworten
  • By using method ts()
  • By using method $GLOBALS['TSFE']->cObj->cObjGetSingle()
  • By using method $this->cObj->cObjGetSingle()
  • By using method $GLOBALS['TSFE']->cObj
  • By using method $this->cObjGetSingle()

Frage 10

Frage
Is it possible to develop custom cObjects for use in TypoScript? (1)
Antworten
  • This is not possible – this requires TYPO3 core changes
  • Yes, by adding custom cObjects in the Install Tool
  • Yes, by extending the array $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']
  • Yes, custom cObjects can be used in TypoScript straight away
  • Yes, if they are configured in the Page TSconfig
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Geschichte Deutschlands
max.grassl
Verdauung
Cassibodua
UML - Diagramme
futurebase
Streite/Gesetzliche Schuldverhältnisse
myJurazone
C1 Indirekte Rede
Anna Kania
Wirk Uni Wien Teil 2
Sabrina Lösch
1 Grundlagen der Finanzbuchhaltung
Ella Wandao
Klinische Psychologie Teil 1
Lisa Mariá Hchil
GPSY ALPS
meike höfliger
Vetie Immunologie Übungsfragen
Janneke Bosse
Vetie: Berufrecht Altfragen 2013-2017 Teil 1
Johanna Tr