-
Notifications
You must be signed in to change notification settings - Fork 5
/
ext_tables.php
120 lines (88 loc) · 5.17 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
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
<?php
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
use TYPO3\CMS\Extbase\Utility\ExtensionUtility;
defined('TYPO3') or die();
// TYPOSCRIPT
ExtensionManagementUtility::addStaticFile('academy', 'Configuration/TypoScript', 'Academy');
// PLUGIN DEFINITIONS
ExtensionUtility::registerPlugin(
'academy',
'Projects',
'Academy: Projects'
);
ExtensionUtility::registerPlugin(
'academy',
'Units',
'Academy: Units'
);
ExtensionUtility::registerPlugin(
'academy',
'Persons',
'Academy: Persons'
);
ExtensionUtility::registerPlugin(
'academy',
'Media',
'Academy: Media'
);
ExtensionUtility::registerPlugin(
'academy',
'Mediaviewer',
'Academy: Mediaviewer'
);
ExtensionUtility::registerPlugin(
'academy',
'Search',
'Academy: Search'
);
ExtensionUtility::registerPlugin(
'academy',
'Hcards',
'Academy: Hcards'
);
ExtensionUtility::registerPlugin(
'academy',
'Products',
'Academy: Products'
);
ExtensionUtility::registerPlugin(
'academy',
'Services',
'Academy: Services'
);
ExtensionUtility::registerPlugin(
'academy',
'Publications',
'Academy: Publications'
);
// TABLES
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_projects', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_projects.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_projects');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_units', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_units.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_units');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_persons', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_persons.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_persons');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards_adr', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards_adr.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards_adr');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards_adrcomponents', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards_adrcomponents.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards_adrcomponents');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards_tel', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards_tel.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards_tel');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards_email', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards_email.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards_email');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_hcards_url', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_hcards_url.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_hcards_url');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_relations', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_relations.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_relations');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_roles', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_roles.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_roles');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_media', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_media.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_media');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_products', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_products.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_products');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_publications', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_publications.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_publications');
ExtensionManagementUtility::addLLrefForTCAdescr('tx_academy_domain_model_services', 'EXT:academy/Resources/Private/Language/locallang_csh_tx_academy_domain_model_services.xml');
ExtensionManagementUtility::allowTableOnStandardPages('tx_academy_domain_model_services');