Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

[Backport 12.4] [TASK] Revise "Setting page TSconfig" chapter #384

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Documentation/UsingSetting/PageTSconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ It is also possible to set
:ref:`set page TSconfig directly in the page properties <pagetsconfig-enter-data>` but
this is not recommended anymore.

.. contents::
:local:

.. index:: pair: Page TSconfig; Default values
.. _pagesettingdefaultpagetsconfig:
Expand All @@ -46,8 +48,8 @@ file:
.. code-block:: typoscript
:caption: EXT:my_sitepackage/Configuration/page.tsconfig

@import 'EXT:myexample/Configuration/TsConfig/Page/Basic.tsconfig'
@import 'EXT:myexample/Configuration/TsConfig/Page/Mod/Wizards/NewContentElement.tsconfig'
@import 'EXT:my_sitepackage/Configuration/TsConfig/Page/Basic.tsconfig'
@import 'EXT:my_sitepackage/Configuration/TsConfig/Page/Mod/Wizards/NewContentElement.tsconfig'


Many page TSconfig settings can be set globally. This is useful for
Expand All @@ -61,7 +63,7 @@ can also set the page TSconfig globally.
Global page TSconfig, compatible with TYPO3 v11 and v12
-------------------------------------------------------

In TYPO3 v11 installations the content of file:`Configuration/page.tsconfig`
In TYPO3 v11 installations the content of :file:`Configuration/page.tsconfig`
is not loaded automatically yet. You can achieve compatibility with both
TYPO3 v11 and v12 by importing the content of this file with the API function
:php:`ExtensionManagementUtility::addPageTSConfig`:
Expand Down
Loading