[TYPO3-english] TSConfig isn't loaded when included in extTables.php

Markus Klein markus.klein at typo3.org
Thu Aug 27 16:49:01 CEST 2015


Hi!

Without taking a look into the code I can only suggest to put those calls into ext_localconf.php of your sitesetup extension. (assuming you have such an ext which holds your templates and stuff)

Kind regards
Markus

------------------------------------------------------------
Markus Klein
TYPO3 CMS Active Contributors Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org

> -----Original Message-----
> From: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-
> bounces at lists.typo3.org] On Behalf Of Jan Kornblum
> Sent: Thursday, August 27, 2015 4:32 PM
> To: typo3-english at lists.typo3.org
> Subject: [TYPO3-english] TSConfig isn't loaded when included in
> extTables.php
> 
> 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
> 
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list