2.6 TypoScript

Descripción

TYPO3 CD 2020 (zweite Auflage) Test sobre 2.6 TypoScript, creado por Pascal Bartl el 26/03/2021.
Pascal Bartl
Test por Pascal Bartl, actualizado hace más de 1 año
Pascal Bartl
Creado por Pascal Bartl hace más de 3 años
1
0

Resumen del Recurso

Pregunta 1

Pregunta
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}" />
Respuesta
  • import = 1
  • insertData = 1
  • data = field:title
  • field = data:title
  • dataWrap = {title}

Pregunta 2

Pregunta
What needs to be done to add TypoScript files for an extension? (1)
Respuesta
  • 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

Pregunta 3

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

Pregunta 4

Pregunta
How can a plugin Example of an extension MyExtension be added to all pages with TypoScript? (1)
Respuesta
  • 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

Pregunta 5

Pregunta
Which method can be used to make TSconfig settings available in an extension? (1)
Respuesta
  • 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

Pregunta 6

Pregunta
What is the purpose of the TypoScript configuration config.sys_language_mode = strict? (1)
Respuesta
  • 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

Pregunta 7

Pregunta
What does the TypoScript sub-key features.skipDefaultArguments = 1 define? (1)
Respuesta
  • 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

Pregunta 8

Pregunta
Which statements about TypoScript for backend modules are correct? (2)
Respuesta
  • 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

Pregunta 9

Pregunta
How can an array be parsed as a TypoScript object? (1)
Respuesta
  • 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()

Pregunta 10

Pregunta
Is it possible to develop custom cObjects for use in TypoScript? (1)
Respuesta
  • 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
Mostrar resumen completo Ocultar resumen completo

Similar

Segunda Guerra Mundial 1939-1945
maya velasquez
Cantares Gallegos
anxosriv
RAMAS DE LA MEDICINA
angelik.laverde9
5 Pasos para el Éxito en el Aprendizaje_2
Diego Santos
Rol del profesor y del estudiante dentro del aprendizaje
Rita Serrano
Lenguas que influyen en el español
dorydan01
LAS TIC APLICADAS A LA INVESTIGACIÓN
tereacevedobtr
Antibióticos
Romina Andrea C Pino
LITERATOS...
JL Cadenas
INTERPRETACIÓN GEOMÉTRICA DE LA DERIVADA
Laura Erives Calzadillas
MAPA DE NAVEGACIÓN UNIMINUTO
Maria Alejandra Osorio Jimenez