[TYPO3-english] TSConfig isn't loaded when included in extTables.php
Jan Kornblum
jan.kornblum at gmx.de
Thu Aug 27 16:32:21 CEST 2015
Dear newgroups,
in TYPO3 6.2.14 LTS i've got a strange behaviour: I load some TSConfig
using...
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('');
...and...
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('');
in typo3conf/extTables.php. But this doesnt work reliable. E.g., when a
content element is opened, the RTE configuration (set as above) is
correctly loaded, but after saving the ce once, the configuration isn't
loaded anymore.
It doesn't make any difference if the TSConfig is directly passed to
addPageTSConfig('...some config here...') or if the TSConfig is set as
a file reference like addPageTSConfig('<INCLUDE_TYPOSCRIPT:
source="FILE:some_file.txt">').
The only thing that works is, including the TSConfig directly (or as
file reference) in page properties or usergroup properties.
Is there anything to take special care about when setting TSConfig as
mentioned above directly in extTables.php? On any other installations
this always used to work fine.
Kind regards, Jan
More information about the TYPO3-english
mailing list