undkonsorten / typo3-site-config-modifier
Adds the new TypoScript modifier := getSiteConfig() for TYPO3
Package info
github.com/undkonsorten/typo3-site-config-modifier
Type:typo3-cms-extension
pkg:composer/undkonsorten/typo3-site-config-modifier
Requires
- typo3/cms-core: ^9.5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2025-06-20 14:05:40 UTC
README
Important
This extension is not maintained anymore. Please do not use it unless you know what you‘re doing.
It has been superseded by
- Site sets and the
- Null coalescing operator for TypoScript
Please consider using either of those instead!
This extension provides a new value modifier := getSiteConfig() for
TypoScript syntax that reads configuration values from the site configuration
into TypoScript values.
Installation
Composer
composer require undkonsorten/typo3-site-config-modifier
Git
# cd to typo3conf/ext
git clone https://github.com/undkonsorten/typo3-site-config-modifier.git site_config_modifier
Usage
Can be used in constants, setup and TSConfig (suggested usage in constants):
myConstant = defaultValue
# myConstant will be overridden if env var is defined at all.
# Empty env vars will override, too!
myConstant := getSiteConfig(mykey)