-
Notifications
You must be signed in to change notification settings - Fork 0
/
ext_tables.php
47 lines (40 loc) · 2.21 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
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.userWindowLabelClass.php');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
$_EXTKEY, 'Adventskalender', 'Adventskalender'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'Lebendiger Adventskalender');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('tx_vmfdsadventskalender_domain_model_window', 'EXT:vmfds_adventskalender/Resources/Private/Language/locallang_csh_tx_vmfdsadventskalender_domain_model_window.xlf');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::allowTableOnStandardPages('tx_vmfdsadventskalender_domain_model_window');
$GLOBALS['TCA']['tx_vmfdsadventskalender_domain_model_window'] = array(
'ctrl' => array(
'title' => 'LLL:EXT:vmfds_adventskalender/Resources/Private/Language/locallang_db.xlf:tx_vmfdsadventskalender_domain_model_window',
'default_sortby' => 'ORDER BY day ASC',
'label' => 'day',
'label_alt' => 'event_id,name',
'label_alt_force' => TRUE,
'label_userFunc' => 'user_WindowLabelClass->getWindowLabel',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'type' => 'record_type',
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => array(
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'searchFields' => 'day,record_type,event_id,name,address,phone,email,notes,internal_notes,image,',
'dynamicConfigFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Configuration/TCA/Window.php',
'iconfile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_vmfdsadventskalender_domain_model_window.gif'
),
);