forked from TYPO3-extensions/gridelements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_localconf.php
27 lines (21 loc) · 996 Bytes
/
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
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
$_EXTCONF = unserialize($_EXTCONF);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('
options.saveDocNew.tx_gridelements_backend_layout=1
');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('
mod.wizards.newContentElement.renderMode = tabs
');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'Classes/Plugin/Gridelements.php', '_pi1', 'CType', 1);
// register BE AJAX controller
$TYPO3_CONF_VARS['BE']['AJAX']['tx_gridelements::controller'] =
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/View/AjaxRecordList.php:GridElementsTeam\\Gridelements\\View\\AjaxRecordList->init';
// XCLASS
if ($_EXTCONF['nestingInListModule']) {
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['TYPO3\\CMS\\Recordlist\\RecordList\\DatabaseRecordList'] = array(
'className' => 'GridElementsTeam\\Gridelements\\Xclass\\DatabaseRecordList',
);
}