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
executable file
·137 lines (127 loc) · 5.91 KB
/
ext_tables.php
File metadata and controls
executable file
·137 lines (127 loc) · 5.91 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
135
136
137
<?php
if (!defined ('TYPO3_MODE')) die ('Access denied.');
Tx_Extbase_Utility_Extension::registerPlugin(
$_EXTKEY,
'Pi1',
'Photoblog'
);
t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Photoblog');
/**
* add flexform for plugin config
*/
$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/Flexforms/pluginConfig.xml');
t3lib_extMgm::addLLrefForTCAdescr('tx_tlphotoblog_domain_model_category', 'EXT:tl_photoblog/Resources/Private/Language/locallang_csh_tx_tlphotoblog_domain_model_category.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlphotoblog_domain_model_category');
$TCA['tx_tlphotoblog_domain_model_category'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_photoblog/Resources/Private/Language/locallang_db.xml:tx_tlphotoblog_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_tlphotoblog_domain_model_category.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlphotoblog_domain_model_article', 'EXT:tl_photoblog/Resources/Private/Language/locallang_csh_tx_tlphotoblog_domain_model_article.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlphotoblog_domain_model_article');
$TCA['tx_tlphotoblog_domain_model_article'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_photoblog/Resources/Private/Language/locallang_db.xml:tx_tlphotoblog_domain_model_article',
'label' => 'title',
'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_tlphotoblog_domain_model_article.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlphotoblog_domain_model_comment', 'EXT:tl_photoblog/Resources/Private/Language/locallang_csh_tx_tlphotoblog_domain_model_comment.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlphotoblog_domain_model_comment');
$TCA['tx_tlphotoblog_domain_model_comment'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_photoblog/Resources/Private/Language/locallang_db.xml:tx_tlphotoblog_domain_model_comment',
'label' => 'name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'origUid' => 't3_origuid',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l18n_parent',
'transOrigDiffSourceField' => 'l18n_diffsource',
'default_sortby' => 'ORDER BY crdate DESC',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden'
),
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Comment.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlphotoblog_domain_model_comment.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlphotoblog_domain_model_tag', 'EXT:tl_photoblog/Resources/Private/Language/locallang_csh_tx_tlphotoblog_domain_model_tag.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlphotoblog_domain_model_tag');
$TCA['tx_tlphotoblog_domain_model_tag'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_photoblog/Resources/Private/Language/locallang_db.xml:tx_tlphotoblog_domain_model_tag',
'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/Tag.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlphotoblog_domain_model_tag.gif'
)
);
t3lib_extMgm::addLLrefForTCAdescr('tx_tlphotoblog_domain_model_galleryimage', 'EXT:tl_photoblog/Resources/Private/Language/locallang_csh_tx_tlphotoblog_domain_model_galleryimage.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_tlphotoblog_domain_model_galleryimage');
$TCA['tx_tlphotoblog_domain_model_galleryimage'] = array (
'ctrl' => array (
'title' => 'LLL:EXT:tl_photoblog/Resources/Private/Language/locallang_db.xml:tx_tlphotoblog_domain_model_galleryimage',
'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/Galleryimage.php',
'iconfile' => t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_tlphotoblog_domain_model_galleryimage.gif'
)
);
?>