This repository was archived by the owner on Nov 19, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathext_tables.php
More file actions
35 lines (27 loc) · 1.39 KB
/
ext_tables.php
File metadata and controls
35 lines (27 loc) · 1.39 KB
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
35
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
$TCA["tx_eepcollect_sessions"] = array (
"ctrl" => array (
'title' => 'LLL:EXT:eepcollect/locallang_db.xml:tx_eepcollect_sessions',
'label' => 'uid',
'default_sortby' => "ORDER BY ses_tstamp",
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_eepcollect_sessions.gif',
),
"feInterface" => array (
"fe_admin_fieldList" => "ses_id, feuser_id, ses_tstamp, ses_data",
)
);
t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key,pages';
t3lib_extMgm::addPlugin(array('LLL:EXT:eepcollect/locallang_db.xml:tt_content.list_type_pi1', $_EXTKEY.'_pi1'),'list_type');
t3lib_extMgm::allowTableOnStandardPages('tx_eepcollect_sessions');
t3lib_extMgm::addToInsertRecords('tx_eepcollect_sessions');
t3lib_extMgm::addLLrefForTCAdescr('tx_eepcollect_sessions','EXT:eepcollect/locallang_csh_eepcollect.php');
// add FlexForm field to tt_content
$TCA["tt_content"]["types"]["list"]["subtypes_addlist"][$_EXTKEY."_pi1"]="pi_flexform";
// add tt_news flexform to tt_content
t3lib_extMgm::addPiFlexFormValue($_EXTKEY."_pi1", "FILE:EXT:eepcollect/flexform_ds_pi1.xml");
// Add the static template for the default setup
t3lib_extMgm::addStaticFile($_EXTKEY,'static/','PageCollector Default');
?>