This repository was archived by the owner on May 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext_tables.php
More file actions
134 lines (124 loc) · 5.54 KB
/
Copy pathext_tables.php
File metadata and controls
134 lines (124 loc) · 5.54 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Pi1',
'Three-now Shop'
);
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Three-now Shop');
//$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . '_pi1'] = 'pi_flexform';
//t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_tlshop_domain_model_category', 'EXT:tl_shop/Resources/Private/Language/locallang_csh_tx_tlshop_domain_model_category.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlshop_domain_model_category');
$TCA['tx_tlshop_domain_model_category'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_shop/Resources/Private/Language/locallang_db.xml:tx_tlshop_domain_model_category',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Category.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlshop_domain_model_category.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlshop_domain_model_article', 'EXT:tl_shop/Resources/Private/Language/locallang_csh_tx_tlshop_domain_model_article.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlshop_domain_model_article');
$TCA['tx_tlshop_domain_model_article'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_shop/Resources/Private/Language/locallang_db.xml:tx_tlshop_domain_model_article',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Article.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlshop_domain_model_article.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlshop_domain_model_order', 'EXT:tlshop/Resources/Private/Language/locallang_csh_tx_tlshop_domain_model_order.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlshop_domain_model_order');
$TCA['tx_tlshop_domain_model_order'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:tl_shop/Resources/Private/Language/locallang_db.xml:tx_tlshop_domain_model_order',
'label' => 'order_date',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'dividers2tabs' => true,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Order.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlshop_domain_model_order.gif'
),
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlshop_domain_model_size', 'EXT:tl_shop/Resources/Private/Language/locallang_csh_tx_tlshop_domain_model_size.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlshop_domain_model_size');
$TCA['tx_tlshop_domain_model_size'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_shop/Resources/Private/Language/locallang_db.xml:tx_tlshop_domain_model_size',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Size.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlshop_domain_model_size.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlshop_domain_model_color', 'EXT:tl_shop/Resources/Private/Language/locallang_csh_tx_tlshop_domain_model_color.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlshop_domain_model_color');
$TCA['tx_tlshop_domain_model_color'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_shop/Resources/Private/Language/locallang_db.xml:tx_tlshop_domain_model_color',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Color.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlshop_domain_model_color.gif'
)
);
?>