Quiz
2.6 TypoScript
Questions in this quiz (10)
1You 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}" />- Aimport = 1
- BinsertData = 1
- Cdata = field:title
- Dfield = data:title
- EdataWrap = {title}
2What needs to be done to add TypoScript files for an extension? (1)
- AAdd the addTypoScript() method call to file ext_localconf.php
- BAdd the addTypoScript() method call to file ext_tables.php
- CAdd the addStaticFile() method call to file Configuration/TCA/Overrides/sys_template.php
- DAdd the addStaticFile() method call to file Configuration/TCA/Overrides/tt_content.php
3Assuming that the extension key reads my_extension and the plugin key is Bloglisting, which TypoScript keys exist? (3)
- Aconfig.tx_myextension
- Bconfig.tx_myextension_bloglisting
- Cplugin.tx_myextension
- Dplugin.tx_myextension_bloglisting
- Emodule.tx_myextension
4How can a plugin Example of an extension MyExtension be added to all pages with TypoScript? (1)
- Apage.10 < plugin.tx_myextension_example
- Bpage.10 < module.tx_myextension_example
- Cpage.10 < tt_content.list.20.myextension_example
- Dpage.10 < config.tx_extbase
- Epage.10 < plugin.tx_simpleblog
5Which method can be used to make TSconfig settings available in an extension? (1)
- AThe “Include”-directive in TypoScript
- BThe Include field in the page properties
- CThe addPageTSConfig() method of class ExtensionManagementUtility
- DThe addTSConfig() method of class ExtensionManagement
- EThis is not possible by default
6What is the purpose of the TypoScript configuration config.sys_language_mode = strict? (1)
- AOnly records in the default language are shown
- BOnly records in the currently selected language are shown
- COnly records with translations in all available languages are shown
- DOnly records which do not have a default language are shown
- EAn error is shown if the page does not have a translation in the currently selected language
7What does the TypoScript sub-key features.skipDefaultArguments = 1 define? (1)
- ADefault arguments are not processed
- BDefault arguments are not added to URLs
- CDefault arguments are ignored.
- DDefault arguments are prevented
- EDefault arguments are not executed
8Which statements about TypoScript for backend modules are correct? (2)
- ATypoScript works for the frontend only and cannot be used for backend modules
- BTypoScript for backend modules is configured via the key module
- CTypoScript for backend modules can be created by copying the key plugin
- DTypoScript for backend modules is loaded in the ext_tables.php file
- ETypoScript for backend modules and frontend plugins is exactly the same
9How can an array be parsed as a TypoScript object? (1)
- ABy using method ts()
- BBy using method $GLOBALS['TSFE']->cObj->cObjGetSingle()
- CBy using method $this->cObj->cObjGetSingle()
- DBy using method $GLOBALS['TSFE']->cObj
- EBy using method $this->cObjGetSingle()
10Is it possible to develop custom cObjects for use in TypoScript? (1)
- AThis is not possible – this requires TYPO3 core changes
- BYes, by adding custom cObjects in the Install Tool
- CYes, by extending the array $GLOBALS['TYPO3_CONF_VARS']['FE']['ContentObjects']
- DYes, custom cObjects can be used in TypoScript straight away
- EYes, if they are configured in the Page TSconfig
Information
- Description
- User has deleted their subject information Quiz on 2.6 TypoScript, created by Deleted user on 27/04/2022.
- Author
- Deleted user
- Language
- English
- Views
- 33
- History
- Created on 27 Apr 2022 · updated on 27 Apr 2022
- Tags
- Rating
- No ratings yet Rate this quiz