-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
24 lines (18 loc) · 946 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
<?php
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
t3lib_div::loadTCA('tt_content');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key,pages';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1'] = 'pi_flexform;;;;1-1-1';
t3lib_extMgm::addPlugin(array(
'LLL:EXT:t3s_jslidernews/locallang_db.xml:tt_content.list_type_pi1',
$_EXTKEY . '_pi1',
t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
),'list_type');
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_pi1', 'FILE:EXT:'.$_EXTKEY.'/flexform_ds.xml');
t3lib_extMgm::addLLrefForTCAdescr('tt_content.pi_flexform.t3s_jslidernews_pi1.list', 'EXT:t3s_jslidernews/pi1/locallang_csh.xml');
if (TYPO3_MODE == 'BE') {
$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_t3sjslidernews_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_t3sjslidernews_pi1_wizicon.php';
}
?>