-
Notifications
You must be signed in to change notification settings - Fork 22
/
ext_tables.php
34 lines (29 loc) · 976 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
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
$tempColumns = array(
'tx_directmailsubscription_localgender' => array(
'exclude' => 1,
'label' => 'LLL:EXT:direct_mail_subscription/locallang_db.xlf:tt_address.tx_directmailsubscription_localgender',
'config' => array(
'type' => 'input',
'size' => '30',
'eval' => 'trim',
)
),
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_address', $tempColumns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'tt_address',
'tx_directmailsubscription_localgender',
'',
'after:gender'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'static/', 'Direct Mail subscription');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPlugin(
array(
'LLL:EXT:direct_mail_subscription/locallang_db.xlf:pi_dmail_subscr',
'21'
)
);