-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_tables.php
34 lines (24 loc) · 963 Bytes
/
ext_tables.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
33
34
<?php
defined('TYPO3_MODE') || die('Access denied.');
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility as EMUtility;
$_EXTKEY = 'mkfalexplorer';
$_EXT_PATH = EMUtility::extPath($_EXTKEY);
$_EXT_RELPATH = EMUtility::extRelPath($_EXTKEY);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['tx_mkfalexplorer'] = 'pi_flexform';
EMUtility::addPiFlexFormValue(
'tx_mkfalexplorer', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/Config.xml'
);
EMUtility::addPlugin(
array(
'LLL:EXT:mkfalexplorer/Resources/Private/Language/Backend.xml:plugin.mkfalexplorer.title',
'tx_mkfalexplorer',
$_EXT_RELPATH . 'ext_icon.png',
)
);
EMUtility::addStaticFile(
$_EXTKEY, 'Configuration/Typoscript/Base/', 'MK Falexplorer Base'
);
if(TYPO3_MODE === 'BE') {
$GLOBALS['TBE_MODULES_EXT']['xMOD_db_new_content_el']['addElClasses']['Tx_Mkfalexplorer_Utility_Wizicon'] =
EMUtility::extPath('mkfalexplorer') . 'Classes/Utility/Wizicon.php';
}