Pascal Bartl
Quiz by , created more than 1 year ago

TYPO3 CD 2020 (zweite Auflage) Quiz on 2.1 TYPO3 Fundamentals and Basic Concepts, created by Pascal Bartl on 25/03/2021.

3
0
0
Pascal Bartl
Created by Pascal Bartl over 3 years ago
Close

2.1 TYPO3 Fundamentals and Basic Concepts

Question 1 of 10

1

Which of the following rules applies to the extension key? (1)

Select one or more of the following:

  • The company name must not be part of the extension key

  • The extension key must start with either tt_ or tx_

  • The minimum length of an extension key is 3 characters

  • The extension key must be registered at typo3.org

  • The extension key must not start or end with a number or underscore

Explanation

Question 2 of 10

1

What is the purpose of ext_localconf.php file? (2)

Select one or more of the following:

  • This file is loaded after the file LocalConfiguration.php and can therefore extend the global configuration

  • This file contains configuration which are predominantly used in the backend

  • This file contains configuration which are predominantly used in the frontend

  • According to TYPO3/Extbase conventions, this file contains TCA settings

  • TypoScript can be copied from the file setup.typoscript to ext_localconf.php to exclude it from caching

Explanation

Question 3 of 10

1

Which extension states are officially supported and can be defined in file ext_emconf.php? (2)

Select one or more of the following:

  • alpha

  • excludeFromUpdates

  • warning

  • patched

  • hidden

Explanation

Question 4 of 10

1

What is the application context in TYPO3? (2)

Select one or more of the following:

  • The application contexts allows developers to switch between PHP versions

  • Certain TYPO3 settings can be configured in specific application contexts

  • TYPO3 supports the contexts authored, proofread, translated, reviewed and published by default

  • TYPO3 extensions can react differently, depending on the configured application context

Explanation

Question 5 of 10

1

Where can you set the application context? (1)

Select one or more of the following:

  • In the Install Tool

  • In the file ext_tables.php

  • In the file ext_localconf.php

  • As an environment variable

  • In TypoScript

Explanation

Question 6 of 10

1

How can a “live” system and a “staging” system be differentiated, if both have the application context
Production? (1)

Select one or more of the following:

  • This is (currently) technically not possible

  • By using “sub-contexts”, e.g. Production/Live and Production/Staging

  • By using the environment variable TYPO3_SUBCONTEXT

  • By using numbering such as TYPO3_CONTEXT_01

Explanation

Question 7 of 10

1

What should be considered when adding multiple instances of an extension plugin to a page? (1)

Select one or more of the following:

  • A plugin can only be used once on a page

  • Each plugin can be configured individually by using TypoScript

  • Each plugin can be configured individually by using its own FlexForm

  • A unique number must be configured in the content element’s properties to distinguish between each instance

Explanation

Question 8 of 10

1

How can a field in the backend be hidden from an editor? (2)

Select one or more of the following:

  • To be able to hide a field, its name has to end in _exclude

  • The property exclude in the model should be set to 1

  • The exclude property for this field in the TCA must be set to true

  • The field can be hidden in settings of the backend user group

  • The field can be hidden in settings of the backend user

Explanation

Question 9 of 10

1

What is required to extend the page properties with a custom field? (2)

Select one or more of the following:

  • A file pages.php in directory Configuration/TCA/Overrides/

  • An entry in file ext_localconf.php

  • An entry in file ext_tables.sql

  • An entry in file Configuration/TypoScript/setup.typoscript

  • An entry in file ext_emconf.php

Explanation

Question 10 of 10

1

Which statements about extension icons are correct? (2)

Select one or more of the following:

  • To display an extension icon in the Extension Manager, the extension needs to be uploaded to the TER first

  • An SVG image file stored as Resources/Public/Icons/Extension.svg is shown in the Extension Manager automatically

  • Extension icons need to be registered using the ExtensionIconRegistry class

  • Extension icons should be stored in Resources/Private/Assets/ per convention

  • Officially supported image types for extension icons are GIF, PNG and SVG

Explanation