-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
33 lines (26 loc) · 981 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
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';
t3lib_extMgm::addPlugin(array(
'LLL:EXT:cablan_facebook_register/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1',
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
),'list_type');
$tempColumns = array (
'tx_cablanfacebookregister_facebook_user' => array (
'exclude' => 0,
'label' => 'LLL:EXT:cablan_facebook_register/locallang_db.xml:fe_users.tx_cablanfacebookregister_facebook_user',
'config' => array (
'type' => 'input',
'size' => '30',
)
),
);
t3lib_div::loadTCA('fe_users');
t3lib_extMgm::addTCAcolumns('fe_users',$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes('fe_users','tx_cablanfacebookregister_facebook_user;;;;1-1-1');
t3lib_extMgm::addStaticFile($_EXTKEY, "static/", "Facebook Register");
?>