-
Notifications
You must be signed in to change notification settings - Fork 11
/
ext_localconf.php
21 lines (16 loc) · 1021 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
<?php
defined('TYPO3_MODE') or die();
//hooks non-admin be_users
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauthgroup.php']['calcPerms'][] =
\Dkd\TcBeuser\Utility\HooksUtility::class . '->fakeAdmin';
//registering hooks for be_groups form mod3
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tc_beuser'] =
\Dkd\TcBeuser\Utility\HooksUtility::class;
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['tc_beuser'] =
\Dkd\TcBeuser\Utility\HooksUtility::class;
// add UserTS to automatically enable the password wizard for be_users
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('tc_beuser.passwordWizard = 1');
//xclass-ing the record/info a.k.a show_item module
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects'][\TYPO3\CMS\Backend\Controller\ContentElement\ElementInformationController::class] = [
'className' => \Dkd\TcBeuser\Xclass\RecordInfoController::class
];