Issue Bug Closed

#99868INCLUDE_TYPOSCRIPT

Christian Racan 02/07/23, 12:35 updated 07/09/24, 12:46

Description

Hello TYPO3 core team,
when I want to import a .tsconfig with the old method into my sitepackage in the ext_localconf.php file, this is not possible – only the new method works:

\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig(‘@import “EXT:bpsitepackage/Configuration/TsConfig/Page/All.tsconfig”’);

This one doesn’t work:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(’<include_typoscript: source="FILE:EXT:bpsitepackage/Configuration/TsConfig/Page/All.tsconfig">‘);</include_typoscript:>

tested with TYPO3 v12.2

Reviews 2