-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
29 lines (22 loc) · 1.3 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'C1.' . $_EXTKEY,
'Node',
'List/Edit nodes'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'C1.' . $_EXTKEY,
'Ip4',
'List/Edit IPv4 addresses'
);
// hooks for the backend
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['extkey'] = 'C1\\Nodedb\\Hooks\\TCEMainHook';
//$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['extkey'] = 'C1\\Nodedb\\Hooks\\TCEMainHook';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'nodedb');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nodedb_domain_model_node', 'EXT:nodedb/Resources/Private/Language/locallang_csh_tx_nodedb_domain_model_node.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nodedb_domain_model_node');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_nodedb_domain_model_ip4', 'EXT:nodedb/Resources/Private/Language/locallang_csh_tx_nodedb_domain_model_ip4.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_nodedb_domain_model_ip4');