From 852b47c3b6e02ad2710298c52839d833aea581d9 Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Fri, 15 Nov 2024 08:22:54 +0100 Subject: [PATCH] Update ExtTyposcriptConstantsTyposcript.rst --- .../ExtTyposcriptConstantsTyposcript.rst | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/ExtensionArchitecture/FileStructure/ExtTyposcriptConstantsTyposcript.rst b/Documentation/ExtensionArchitecture/FileStructure/ExtTyposcriptConstantsTyposcript.rst index dd490e0b25..0f912c32da 100644 --- a/Documentation/ExtensionArchitecture/FileStructure/ExtTyposcriptConstantsTyposcript.rst +++ b/Documentation/ExtensionArchitecture/FileStructure/ExtTyposcriptConstantsTyposcript.rst @@ -6,12 +6,17 @@ :file:`ext_typoscript_constants.typoscript` =========================================== -Preset TypoScript constants. Will be included in the setup section of all -TypoScript templates. +reset TypoScript constants. Will be included in the constants section of all +TypoScript **records**. Takes no effect in sites using :ref:`Site sets `. -.. attention:: +.. attention:: - Use such a file if you absolutely need to load some TypoScript (because you - would get serious errors without it). Otherwise static templates or - usage of the *Extension Management API* of class - :php:`TYPO3\CMS\Core\Utility\ExtensionManagementUtility` are preferred. + .. versionchanged:: 13.1 + + This file takes no effect in sites that use :ref:`Site sets ` + This file works for backward compability reasons only in installations that depend + on TypoScript records only. + + Provide settings in your :ref:`Site settings definitions ` + in your site set. TypoScript constants that have to be loaded globally + can be loaded via :ref:`ExtensionManagementUtility::addTypoScript `.