diff --git a/Documentation/PageTsconfig/TceMain.rst b/Documentation/PageTsconfig/TceMain.rst index 933f1293..cd0c0331 100644 --- a/Documentation/PageTsconfig/TceMain.rst +++ b/Documentation/PageTsconfig/TceMain.rst @@ -295,14 +295,14 @@ set, the page access permissions are copied from the parent page. Example: Inherit the group id of the parent page """""""""""""""""""""""""""""""""""""""""""""""" -.. code-block:: php - :caption: config/system/settings.php | typo3conf/system/settings.php - - $GLOBALS['TYPO3_CONF_VARS']['BE']['defaultPageTSconfig'] .= ' - TCEMAIN.permissions.groupid = copyFromParent - TCEMAIN.permissions.group = 31 - TCEMAIN.permissions.everybody = 0 - '; +.. code-block:: typoscript + :caption: EXT:my_extension/Configuration/page.tsconfig + + TCEMAIN.permissions { + groupid = copyFromParent + group = 31 + everybody = 0 + } By default all new pages created by users will inherit the group of the parent page. Members of this group get all permissions. Users not in the group get no diff --git a/Documentation/UsingSetting/PageTSconfig.rst b/Documentation/UsingSetting/PageTSconfig.rst index 0ca78166..ecfcc034 100644 --- a/Documentation/UsingSetting/PageTSconfig.rst +++ b/Documentation/UsingSetting/PageTSconfig.rst @@ -62,20 +62,6 @@ can also set the page TSconfig globally. The PSR-14 event :ref:`t3coreapi:BeforeLoadedPageTsConfigEvent` is available to add global static page TSconfig before anything else is loaded. -.. _page-tsconfig-v11-v12: - -Global page TSconfig, compatible with TYPO3 v11 and v12 -------------------------------------------------------- - -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`: - -.. literalinclude:: _PageTSconfig/_ext_localconf_page_tsconfig_v11.php - :language: php - :caption: EXT:my_sitepackage/ext_localconf.php - .. _include-static-page-tsconfig-per-site: Page TSconfig on site level diff --git a/Documentation/UsingSetting/UserTSconfig.rst b/Documentation/UsingSetting/UserTSconfig.rst index a1b60356..e6666daa 100644 --- a/Documentation/UsingSetting/UserTSconfig.rst +++ b/Documentation/UsingSetting/UserTSconfig.rst @@ -81,23 +81,6 @@ this file: The PSR-14 event :ref:`t3coreapi:BeforeLoadedUserTsConfigEvent` is available to add global static user TSconfig before anything else is loaded. -User TSconfig, compatible with TYPO3 v12 and v13 ------------------------------------------------- - -In TYPO3 v12 installations the content of :file:`Configuration/user.tsconfig` is -not loaded automatically. You can achieve compatibility with both TYPO3 v12 and -v13 by importing the content of this file with the API function -:php:`ExtensionManagementUtility::addUserTSConfig`: - -.. literalinclude:: _UserTSconfig/_ext_localconf_v12.php - :language: php - :caption: EXT:my_sitepackage/ext_localconf.php - -.. deprecated:: 13.0 - The method :php:`\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig()` - has been marked as deprecated in TYPO3 v13 and will be removed with TYPO3 - v14. - .. index:: pair: User TSconfig; Verify configuration .. _userverifyingthefinalconfiguration: diff --git a/Documentation/UsingSetting/_PageTSconfig/_ext_localconf_page_tsconfig_v11.php b/Documentation/UsingSetting/_PageTSconfig/_ext_localconf_page_tsconfig_v11.php deleted file mode 100644 index e08bb9ae..00000000 --- a/Documentation/UsingSetting/_PageTSconfig/_ext_localconf_page_tsconfig_v11.php +++ /dev/null @@ -1,17 +0,0 @@ -getMajorVersion() < 12) { - ExtensionManagementUtility::addPageTSConfig( - '@import "EXT:my_sitepackage/Configuration/page.tsconfig"' - ); -} diff --git a/Documentation/UsingSetting/_UserTSconfig/_ext_localconf_v12.php b/Documentation/UsingSetting/_UserTSconfig/_ext_localconf_v12.php deleted file mode 100644 index 35b653d5..00000000 --- a/Documentation/UsingSetting/_UserTSconfig/_ext_localconf_v12.php +++ /dev/null @@ -1,17 +0,0 @@ -getMajorVersion() < 13) { - ExtensionManagementUtility::addUserTSConfig( - '@import "EXT:my_sitepackage/Configuration/user.tsconfig"' - ); -}