-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
32 lines (24 loc) · 1.6 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
defined('TYPO3_MODE') || die();
/***************
* Define TypoScript as content rendering template
*/
$GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'template/Configuration/TypoScript/';
$GLOBALS['TYPO3_CONF_VARS']['FE']['contentRenderingTemplates'][] = 'template/Configuration/TypoScript/ContentElement/';
/***************
* Overwrite default RTE configuration for bootstrap package
*/
if (isset($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['bootstrap'])) {
unset($GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['bootstrap']);
}
$GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['bootstrap'] = 'EXT:template/Configuration/RTE/Default.yaml';
// CONTENT ELEMENTS
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:template/Configuration/TsConfig/Page/ContentElement/All.tsconfig">');
// TCEFORM
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:template/Configuration/TsConfig/Page/TCEFORM.tsconfig">');
// TCEMAIN
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:template/Configuration/TsConfig/Page/TCEMAIN.tsconfig">');
// RTE
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:template/Configuration/TsConfig/Page/RTE.tsconfig">');
// Add BackendLayouts for the BackendLayout DataProvider
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:template/Configuration/TsConfig/Page/Mod/WebLayout/BackendLayouts.tsconfig">');