Skip to content

Commit

Permalink
[TASK] Add warning that gobal TypoScript file does not work with Site…
Browse files Browse the repository at this point in the history
… sets

Releases: main, 13.4
  • Loading branch information
linawolf authored Nov 15, 2024
1 parent 88a0b28 commit 963d833
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,13 @@
Preset TypoScript setup. Will be included in the setup section of all
TypoScript templates.

.. 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 <t3coreapi:site-sets>`
This file works for backward compability reasons only in installations that depend
on TypoScript records only.

Provide the TypoScript in your site set. TypoScript that has to be loaded globally
can be loaded via :ref:`ExtensionManagementUtility::addTypoScript <t3tsref:extdev-always-load>`.

0 comments on commit 963d833

Please sign in to comment.