-
Notifications
You must be signed in to change notification settings - Fork 3
/
ext_tables.php
executable file
·44 lines (38 loc) · 1.29 KB
/
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
35
36
37
38
39
40
41
42
43
44
<?php
defined('TYPO3_MODE') or die('Access denied.');
$extPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('realty');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'realty_pi1',
'FILE:EXT:realty/Configuration/FlexForms/Plugin.xml'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
[
'LLL:EXT:realty/Resources/Private/Language/locallang_db.xlf:tt_content.list_type_pi1',
'realty_pi1',
'EXT:realty/Resources/Public/Images/ContentElement.gif',
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'realty',
'Configuration/TypoScript/',
'Realty Manager'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'OliverKlee.Realty',
'web',
'openImmo',
'bottom',
[
'OpenImmo' => 'index, import',
],
[
'access' => 'group',
'icon' => 'EXT:realty/Resources/Public/Icons/BackEndModule.gif',
'labels' => 'LLL:EXT:realty/Resources/Private/Language/locallang_mod.xlf',
// hide the page tree
'navigationComponentId' => '',
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
"\n" . '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:realty/Configuration/TSconfig/ContentElementWizard.txt">' . "\n"
);