-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ext_tables.php
20 lines (16 loc) · 1.08 KB
/
ext_tables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
defined('TYPO3_MODE') or die();
$TCA['tt_content']['types']['list']['subtypes_excludelist']['ve_guestbook_pi1'] = 'layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist']['ve_guestbook_pi1'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin([
'LLL:EXT:ve_guestbook/Resources/Private/Language/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1'
]);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue('ve_guestbook_pi1', 'FILE:EXT:ve_guestbook/Configuration/FlexForms/flexform_ds.xml');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_veguestbook_entries');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToInsertRecords('tx_veguestbook_entries');
if (TYPO3_MODE == 'BE') {
// Adds wizard icon to the content element wizard.
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_veguestbook_pi1_wizicon'] =
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'pi1/class.tx_veguestbook_pi1_wizicon.php';
}