2.3 FlexForms

Descrição

TYPO3 CD 2020 (zweite Auflage) Quiz sobre 2.3 FlexForms, criado por Pascal Bartl em 25-03-2021.
Pascal Bartl
Quiz por Pascal Bartl, atualizado more than 1 year ago
Pascal Bartl
Criado por Pascal Bartl mais de 3 anos atrás
1
0

Resumo de Recurso

Questão 1

Questão
Which statements about FlexForms are correct? (3)
Responda
  • FlexForms are XML files, typically stored under Configuration/FlexForms/
  • FlexForms allow backend users to build flexible forms used in the frontend
  • Only backend users with administrator privileges can access FlexForms of extensions
  • The configuration done with FlexForms is stored in the database
  • If multiple instances of an extension are used on the same page, FlexForms allow individual configurations per extension
  • FlexForms require the system extension “Form” to be installed and enabled

Questão 2

Questão
Which file of an extension needs to be edited to include FlexForms for a plugin? (1)
Responda
  • File ext_localconf.php
  • File ext_tables.php
  • File Configuration/LocalConfiguration.php
  • File Configuration/FlexForms/tt_content.php
  • File Configuration/TCA/Overrides/tt_content.php

Questão 3

Questão
Which steps are required to load a FlexForm for a plugin? (3)
Responda
  • The configuration must be added to the file ext_tables.php
  • The configuration must be added to the file Configuration/TCA/Overrides/tt_content.php
  • The value pi_flexform needs to be added to the following sub-key of the tt_content TCA: ['types']['list']['subtypes_addlist']
  • The function addPiFlexFormValue() must be executed to load the FlexForm XML
  • FlexForms must be enabled in TypoScript before they can be used.
  • The flag enableFlexForms must be enabled in the Install Tool

Questão 4

Questão
How can you access the value foo, which has been set in TypoScript, in an Extbase controller? (1)
Responda
  • $this->key
  • $key
  • $GLOBALS['key']
  • $settings->key
  • $this->settings['key']

Questão 5

Questão
Which method can be used to access FlexForm data in a controller? (1)
Responda
  • $this->flexform
  • $flexform
  • $this->flexsettings
  • $this->settings
  • $settings

Questão 6

Questão
How can a label be localized in a FlexForm? (1)
Responda
  • LLL:EXT:path:key
  • EXT:path:key
  • path:key
  • XLF:EXT:path:key
  • key

Questão 7

Questão
A FlexForm must contain which of the following statements in order to enable Fluid to access {settings.headline}? (1)
Responda
  • <headline>Headline</headline>
  • <field.headline>Headline</field.headline>
  • <settings>Headline</headline>
  • <settings.headline>Headline</settings.headline>
  • <ff.headline>Headline</ff.headline>

Semelhante

Matemática Básica
Alessandra S.
Basic General Quiz
Alessandra S.
Fórmulas de física
Alessandra S.
Introdução a Engenharia
ismael-airoso
Conceitos de Contabilidade
Alessandra S.
Calendário de Estudos ENEM 2014
Alessandra S.
Simulado História
Marina Faria
Decore as Vitaminas
replaybr
Mapa Mental - Algoritmos e Programação
Marcos Santos2025
Escala de Coma de Glasgow
Vanessa Palauro
SIMULADO 3 - CTFL - AT
Tatiana Petra