jambagecom/tsparser

More Constants Editor Types for TYPO3 CMS

Installs: 3 793

Dependents: 1

Suggesters: 1

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

v0.12.1 2024-03-19 20:16 UTC

This package is auto-updated.

Last update: 2024-12-19 22:06:52 UTC


README

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.

Installation

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.

Reference

Syntax:

[type=type;]

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.

new:

  • 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.

Examples:

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 =