Extension folder Configuration/Sets
New in version 13.1
Site sets have been introduced.
This directory contains an extension's Site sets.
Each set must be in its own directory and consist of at least a
config. file.
config.yaml
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/config.yaml
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/config.yaml
Contains the definition of the site set and any dependencies.
Example:
name: t3docs/site-package
label: 'Site Package'
dependencies:
- typo3/fluid-styled-content
- typo3/fluid-styled-content-css
settings.yaml
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/settings.yaml
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/settings.yaml
In this file an extension can override settings defined by other sets, for example, settings defined in the "Fluid Styled Content" site set:
config/sites/<my_site>/settings.yaml | typo3conf/sites/<my_site>/settings.yamlstyles.templates.layoutRootPath: EXT:my_site_package/Resources/Private/ContentElements/Layouts styles.templates.partialRootPath: EXT:my_site_package/Resources/Private/ContentElements/Partials styles.templates.templateRootPath: EXT:my_site_package/Resources/Private/ContentElements/Templates styles.content.textmedia.maxW: 1200 styles.content.textmedia.maxWInText: 600 styles.content.textmedia.linkWraplightboxEnabled: true styles.content.textmedia.lightboxCssClass: lightbox
settings.definitions.yaml
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/settings.definitions.yaml
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/settings.definitions.yaml
In this file an extension can define its own settings: Site settings definitions.
setup.typoscript
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/setup.typoscript
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/setup.typoscript
This file contains a set's Frontend TypoScript. If the extension keeps its TypoScript in folder TypoScript for backward compatibility reasons, this file should import the
Configuration/file in the main extension set:Typo Script/ setup. typoscript
# For backward compatibility reasons setup.typoscript was not moved
@import 'EXT:my_extension/Configuration/TypoScript/setup.typoscript'
constants.typoscript
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/constants.typoscript
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/constants.typoscript
This file contains the Frontend TypoScript Constants in the set. This file should be used if the extension depends on other extensions that still rely on TypoScript constants.
page.tsconfig
-
- Scope
- set
- Path (Composer)
- packages/my_extension/Configuration/Sets/MySet/page.tsconfig
- Path (Classic)
- typo3conf/ext/my_extension/Configuration/Sets/MySet/page.tsconfig
This file contains the Page TSconfig (backend TypoScript).