Reputation: 8709
Is there any way to check if the YAML configuration I added to my Typo3 configuration is loaded? And even more if it can be parsed correctly?
I've added my custom.yaml like this in /typo3conf/AdditionalConfiguration.php:
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['custom'] = 'fileadmin/templates/ext/CkEditor/Custom.yaml';
I cannot find any information in the Typoscript Object browser. Would an error be reported to the log?
Upvotes: 0
Views: 411
Reputation: 170
You should be able to check whether or not it's loaded correctly into the $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']
within SYSTEM->CONFIGURATION
in the backend.
In case you dont see that navigation entry in the backend and assuming your installation is composer based, you may need to add typo3/cms-lowlevel
to your composer.json
dependencies. Here is the link to the composer package on packagist.
Usually it's a better idea to have a separate extension, which registers the custom preset within its ext_localconf.php
file.
See Exploring Global Variables, Verifying the TCA or this website for further information.
Upvotes: 1