More Constants Editor Types for TYPO3 CMS
Installs: 2 962
Open Issues: 0
- php: ^8.0
- typo3/cms-core: ^11.5 || ^12.0
- typo3-ter/tsparser: v0.11.0
What is does
The current TYPO3 Constant Editor does not support enough types. This extension adds new types in order to have a more sophisticated generation of the template constants.
Just install the extension together with any other extension which supports this patch. This will enable new types for the template constants. This extension is only needed if you use the Constant Editor to edit the template constants. Be aware that this extension is using code which overwrites the TYPO3 Core file 'TYPO3CMSCoreTypoScriptExtendedTemplateService.php'. This could lead to a misbehaviour of the TYPO3 Constant Editor in case of an error.
Constant Editor Types:
See Constant Editor <https://docs.typo3.org/m/typo3/reference-typoscript/main/en-us/UsingSetting/TheConstantEditor.html> chapter 'type' for a complete list of all possible constants types.
eint+ … empty or integer.
If nothing has been entered, then the constants will remain empty. Be aware that an empty constant means that nothing is intended and that this is different to setting it to 0.
Make the category empty. This will not use a default category and it will allow all products of all categories. Configure the behaviour of the Constant Editor in the file 'constants.txt' of the folder 'Configuration/TypoScript/PluginSetup/' or any subfolder of it for your TYPO3 extension.
# cat=plugin.products//; type=eint+; label=default category ID: ID of the default category that will be shown in the list view when no tt_products[cat] parameter is given defaultCategoryID =