Bug #85989
closedLinkhandler configuration not loaded when assigned in TCA/Overrides by addPageTSConfig()
0%
Description
Linkhandler configuration in BE seems not to be loaded when defined in Configuration/TCA/Overrides/pages.php like this:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:myext/Configuration/PageTS/Linkhandler.ts">'
);
Updated by Markus Klein about 6 years ago
If you put other TSconfig in there, do you see the relevant TSconfig in the Info module then?
Updated by Susanne Moog about 6 years ago
- Sprint Focus set to On Location Sprint
Updated by Jan Kornblum about 6 years ago
I've got another strange behaviour: Independent from how the linkhandler configuration is assigned, sometimes the following happens: Editor creates links to some extensions records in backend. Frontend is called and links are correctly rendered. Editor now changes any of the linked extension records (any field), suddenly the frontend links have gone. This can't be reproduced, it just happens sometimes. Very strange...
Updated by Anja Leichsenring almost 6 years ago
- Status changed from New to Rejected
addPageTSConfig manipulates TYPO3_CONF_VARS and not the TCA, so the location is wrong.
Please add your call to ext_localconf.php, if this is really what you wanted to do. And here is some docu for you: https://docs.typo3.org/typo3cms/TSconfigReference/singlehtml/#setting-default-page-tsconfig.