This repository has been archived by the owner on Nov 19, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
84 lines (67 loc) · 3.36 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
if (!defined ("TYPO3_MODE")) die ("Access denied.");
t3lib_extMgm::allowTableOnStandardPages("tx_metafeedit_actions");
t3lib_extMgm::addToInsertRecords("tx_metafeedit_actions");
$TCA["tx_metafeedit_actions"] = Array (
"ctrl" => Array (
"title" => "LLL:EXT:meta_feedit/locallang_db.xml:tx_metafeedit_actions",
"label" => "title",
"tstamp" => "tstamp",
"crdate" => "crdate",
"cruser_id" => "cruser_id",
'sortby' => 'sorting',
"delete" => "deleted",
"enablecolumns" => Array (
"disabled" => "hidden",
"starttime" => "starttime",
"endtime" => "endtime",
"fe_group" => "fe_group",
),
"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."ext_icon_tx_metafeedit_actions.gif",
),
"feInterface" => Array (
"fe_admin_fieldList" => "hidden, starttime, endtime, fe_group, title, image, url, tooltip, category",
)
);
t3lib_div::loadTCA("tt_content");
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key,pages,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY.'_pi1']='pi_flexform';
t3lib_extMgm::addPiFlexFormValue($_EXTKEY.'_pi1', 'FILE:EXT:meta_feedit/flexform_ds.xml');
t3lib_extMgm::addPlugin(Array("LLL:EXT:meta_feedit/locallang_db.xml:tt_content.list_type_pi1", $_EXTKEY."_pi1"),"list_type");
t3lib_extMgm::addStaticFile($_EXTKEY,'pi1/static/css/','Meta FE Edit CSS Styles');
t3lib_extMgm::addStaticFile($_EXTKEY,"pi1/static/","Meta FE document icons");
if (TYPO3_MODE=="BE") $TBE_MODULES_EXT["xMOD_db_new_content_el"]["addElClasses"]["tx_metafeedit_pi1_wizicon"] = t3lib_extMgm::extPath($_EXTKEY)."pi1/class.tx_metafeedit_pi1_wizicon.php";
require_once(t3lib_extMgm::extPath($_EXTKEY).'class.tx_metafeedit_flexfill.php');
//require_once(t3lib_extMgm::extPath($_EXTKEY).'wizards/class.tx_metafeedit_wizards.php');
t3lib_div::loadTCA('tt_content');
$TCA["tx_metafeedit_comments"] = Array (
"ctrl" => Array (
"title" => "LLL:EXT:meta_feedit/locallang_db.xml:tx_metafeedit_comments",
"label" => "entry",
"tstamp" => "tstamp",
"crdate" => "crdate",
"cruser_id" => "cruser_id",
"default_sortby" => "ORDER BY crdate DESC",
"delete" => "deleted",
"enablecolumns" => Array (
"disabled" => "hidden",
),
"dynamicConfigFile" => t3lib_extMgm::extPath($_EXTKEY)."tca.php",
"iconfile" => t3lib_extMgm::extRelPath($_EXTKEY)."ext_icon.gif",
),
"feInterface" => Array (
"fe_admin_fieldList" => "hidden, sys_language_uid,linked_row, firstname, surname, email, homepage, place, entry, entrycomment, remote_addr",
)
);
$TCA['tt_content']['types']['list']['subtypes_excludelist']['meta_feedit_pi1']='layout,select_key,pages,recursive';
//$TCA['tt_content']['types']['list']['subtypes_addlist']['ve_guestbook_pi1']='pi_flexform';
//t3lib_extMgm::addPlugin(Array('LLL:EXT:ve_guestbook/locallang_tca.php:ve_guestbook', 've_guestbook_pi1'));
//t3lib_extMgm::addPiFlexFormValue('ve_guestbook_pi1', 'FILE:EXT:ve_guestbook/flexform_ds.xml');
t3lib_extMgm::allowTableOnStandardPages("tx_metafeedit_comments");
t3lib_extMgm::addToInsertRecords('tx_metafeedit_comments');
//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'] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_veguestbook_pi1_wizicon.php';
//}
?>