mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 08:56:31 +01:00
Restructure event TCA
This commit is contained in:
parent
201259d674
commit
4c0a0a959b
3 changed files with 146 additions and 50 deletions
|
@ -1,8 +1,15 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
defined('TYPO3_MODE') or die();
|
||||||
|
|
||||||
|
$l10nPathGeneral = 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf';
|
||||||
|
$l10nPathLang = 'LLL:EXT:lang/locallang_core.xlf';
|
||||||
|
$l10nPathFE = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf';
|
||||||
|
$l10nPath = 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf';
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'ctrl' => [
|
'ctrl' => [
|
||||||
'title' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event',
|
'title' => $l10nPath . ':tx_events_domain_model_event',
|
||||||
'label' => 'title',
|
'label' => 'title',
|
||||||
'thumbnail' => 'images',
|
'thumbnail' => 'images',
|
||||||
'tstamp' => 'tstamp',
|
'tstamp' => 'tstamp',
|
||||||
|
@ -18,23 +25,67 @@ return [
|
||||||
'starttime' => 'starttime',
|
'starttime' => 'starttime',
|
||||||
'endtime' => 'endtime',
|
'endtime' => 'endtime',
|
||||||
],
|
],
|
||||||
'searchFields' => 'title,global_id,slug,teaser,details,price_info,street,district,city,zip,country,web,booking,ticket,facebook,youtube,latitude,longitude',
|
'searchFields' => 'title,global_id,teaser',
|
||||||
'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_event.svg'
|
'iconfile' => 'EXT:events/Resources/Public/Icons/tx_events_domain_model_event.svg'
|
||||||
],
|
],
|
||||||
'types' => [
|
'types' => [
|
||||||
'1' => ['showitem' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, global_id, slug, highlight, teaser, details, price_info, name, street, district, city, zip, country, phone, web, ticket, facebook, youtube, instagram, latitude, longitude, images, pages, categories, dates, organizer, region, partner, --div--;LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:tabs.access, starttime, endtime'],
|
'1' => [
|
||||||
|
'showitem' => '--palette--;' . $l10nPathFE . ':palette.general;general,
|
||||||
|
sys_language_uid,
|
||||||
|
l10n_parent,
|
||||||
|
l10n_diffsource,
|
||||||
|
hidden,
|
||||||
|
highlight,
|
||||||
|
title,
|
||||||
|
teaser,
|
||||||
|
slug,
|
||||||
|
ticket,
|
||||||
|
global_id,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.text,
|
||||||
|
details,
|
||||||
|
price_info,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.dates,
|
||||||
|
dates,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.location,
|
||||||
|
name,
|
||||||
|
street,
|
||||||
|
district,
|
||||||
|
city,
|
||||||
|
zip,
|
||||||
|
country,
|
||||||
|
phone,
|
||||||
|
web,
|
||||||
|
latitude,
|
||||||
|
longitude,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.relations,
|
||||||
|
organizer,
|
||||||
|
region,
|
||||||
|
partner,
|
||||||
|
categories,
|
||||||
|
pages,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.media,
|
||||||
|
images,
|
||||||
|
--div--;' . $l10nPath . ':tx_events_domain_model_event.tabs.social,
|
||||||
|
facebook,
|
||||||
|
youtube,
|
||||||
|
instagram,
|
||||||
|
--div--;' . $l10nPathFE . ':tabs.access,
|
||||||
|
starttime,
|
||||||
|
endtime'
|
||||||
],
|
],
|
||||||
|
],
|
||||||
|
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'sys_language_uid' => [
|
'sys_language_uid' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.language',
|
'label' => $l10nPathGeneral . ':LGL.language',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'renderType' => 'selectSingle',
|
'renderType' => 'selectSingle',
|
||||||
'special' => 'languages',
|
'special' => 'languages',
|
||||||
'items' => [
|
'items' => [
|
||||||
[
|
[
|
||||||
'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.allLanguages',
|
$l10nPathGeneral . ':LGL.allLanguages',
|
||||||
-1,
|
-1,
|
||||||
'flags-multiple'
|
'flags-multiple'
|
||||||
]
|
]
|
||||||
|
@ -44,7 +95,7 @@ return [
|
||||||
],
|
],
|
||||||
'l10n_parent' => [
|
'l10n_parent' => [
|
||||||
'displayCond' => 'FIELD:sys_language_uid:>:0',
|
'displayCond' => 'FIELD:sys_language_uid:>:0',
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.l18n_parent',
|
'label' => $l10nPathGeneral . ':LGL.l18n_parent',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'renderType' => 'selectSingle',
|
'renderType' => 'selectSingle',
|
||||||
|
@ -62,7 +113,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
't3ver_label' => [
|
't3ver_label' => [
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.versionLabel',
|
'label' => $l10nPathGeneral . ':LGL.versionLabel',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -71,7 +122,7 @@ return [
|
||||||
],
|
],
|
||||||
'hidden' => [
|
'hidden' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.visible',
|
'label' => $l10nPathGeneral . ':LGL.visible',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'check',
|
'type' => 'check',
|
||||||
'renderType' => 'checkboxToggle',
|
'renderType' => 'checkboxToggle',
|
||||||
|
@ -86,7 +137,7 @@ return [
|
||||||
],
|
],
|
||||||
'starttime' => [
|
'starttime' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.starttime',
|
'label' => $l10nPathGeneral . ':LGL.starttime',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'renderType' => 'inputDateTime',
|
'renderType' => 'inputDateTime',
|
||||||
|
@ -99,7 +150,7 @@ return [
|
||||||
],
|
],
|
||||||
'endtime' => [
|
'endtime' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_general.xlf:LGL.endtime',
|
'label' => $l10nPathGeneral . ':LGL.endtime',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'renderType' => 'inputDateTime',
|
'renderType' => 'inputDateTime',
|
||||||
|
@ -116,7 +167,7 @@ return [
|
||||||
|
|
||||||
'title' => [
|
'title' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.title',
|
'label' => $l10nPath . ':tx_events_domain_model_event.title',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -125,7 +176,7 @@ return [
|
||||||
],
|
],
|
||||||
'global_id' => [
|
'global_id' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.global_id',
|
'label' => $l10nPath . ':tx_events_domain_model_event.global_id',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -134,7 +185,7 @@ return [
|
||||||
],
|
],
|
||||||
'slug' => [
|
'slug' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.slug',
|
'label' => $l10nPath . ':tx_events_domain_model_event.slug',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'slug',
|
'type' => 'slug',
|
||||||
'size' => 50,
|
'size' => 50,
|
||||||
|
@ -150,12 +201,12 @@ return [
|
||||||
],
|
],
|
||||||
'highlight' => [
|
'highlight' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.highlight',
|
'label' => $l10nPath . ':tx_events_domain_model_event.highlight',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'check',
|
'type' => 'check',
|
||||||
'items' => [
|
'items' => [
|
||||||
'1' => [
|
'1' => [
|
||||||
'0' => 'LLL:EXT:lang/locallang_core.xlf:labels.enabled'
|
'0' => $l10nPathLang . ':labels.enabled'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'default' => 0,
|
'default' => 0,
|
||||||
|
@ -163,17 +214,17 @@ return [
|
||||||
],
|
],
|
||||||
'teaser' => [
|
'teaser' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.teaser',
|
'label' => $l10nPath . ':tx_events_domain_model_event.teaser',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'cols' => 40,
|
'cols' => 30,
|
||||||
'rows' => 15,
|
'rows' => 5,
|
||||||
'eval' => 'trim'
|
'eval' => 'trim'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'details' => [
|
'details' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.details',
|
'label' => $l10nPath . ':tx_events_domain_model_event.details',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'enableRichtext' => true,
|
'enableRichtext' => true,
|
||||||
|
@ -191,7 +242,7 @@ return [
|
||||||
],
|
],
|
||||||
'price_info' => [
|
'price_info' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.price_info',
|
'label' => $l10nPath . ':tx_events_domain_model_event.price_info',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'cols' => 40,
|
'cols' => 40,
|
||||||
|
@ -201,7 +252,7 @@ return [
|
||||||
],
|
],
|
||||||
'name' => [
|
'name' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.name',
|
'label' => $l10nPath . ':tx_events_domain_model_event.name',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -210,7 +261,7 @@ return [
|
||||||
],
|
],
|
||||||
'street' => [
|
'street' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.street',
|
'label' => $l10nPath . ':tx_events_domain_model_event.street',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -219,7 +270,7 @@ return [
|
||||||
],
|
],
|
||||||
'district' => [
|
'district' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.district',
|
'label' => $l10nPath . ':tx_events_domain_model_event.district',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -228,7 +279,7 @@ return [
|
||||||
],
|
],
|
||||||
'city' => [
|
'city' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.city',
|
'label' => $l10nPath . ':tx_events_domain_model_event.city',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -237,7 +288,7 @@ return [
|
||||||
],
|
],
|
||||||
'zip' => [
|
'zip' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.zip',
|
'label' => $l10nPath . ':tx_events_domain_model_event.zip',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -246,7 +297,7 @@ return [
|
||||||
],
|
],
|
||||||
'country' => [
|
'country' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.country',
|
'label' => $l10nPath . ':tx_events_domain_model_event.country',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -255,7 +306,7 @@ return [
|
||||||
],
|
],
|
||||||
'phone' => [
|
'phone' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.phone',
|
'label' => $l10nPath . ':tx_events_domain_model_event.phone',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -264,7 +315,7 @@ return [
|
||||||
],
|
],
|
||||||
'web' => [
|
'web' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.web',
|
'label' => $l10nPath . ':tx_events_domain_model_event.web',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -273,16 +324,19 @@ return [
|
||||||
],
|
],
|
||||||
'ticket' => [
|
'ticket' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.ticket',
|
'label' => $l10nPath . ':tx_events_domain_model_event.ticket',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'renderType' => 'inputLink',
|
||||||
'eval' => 'trim'
|
'eval' => 'trim',
|
||||||
|
'max' => 1024,
|
||||||
|
'size' => 50,
|
||||||
|
'softref' => 'typolink',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'facebook' => [
|
'facebook' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.facebook',
|
'label' => $l10nPath . ':tx_events_domain_model_event.facebook',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -291,7 +345,7 @@ return [
|
||||||
],
|
],
|
||||||
'youtube' => [
|
'youtube' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.youtube',
|
'label' => $l10nPath . ':tx_events_domain_model_event.youtube',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -300,7 +354,7 @@ return [
|
||||||
],
|
],
|
||||||
'instagram' => [
|
'instagram' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.instagram',
|
'label' => $l10nPath . ':tx_events_domain_model_event.instagram',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -309,7 +363,7 @@ return [
|
||||||
],
|
],
|
||||||
'latitude' => [
|
'latitude' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.latitude',
|
'label' => $l10nPath . ':tx_events_domain_model_event.latitude',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -318,7 +372,7 @@ return [
|
||||||
],
|
],
|
||||||
'longitude' => [
|
'longitude' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.longitude',
|
'label' => $l10nPath . ':tx_events_domain_model_event.longitude',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 30,
|
'size' => 30,
|
||||||
|
@ -327,12 +381,12 @@ return [
|
||||||
],
|
],
|
||||||
'images' => [
|
'images' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.images',
|
'label' => $l10nPath . ':tx_events_domain_model_event.images',
|
||||||
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
|
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
|
||||||
'images',
|
'images',
|
||||||
[
|
[
|
||||||
'appearance' => [
|
'appearance' => [
|
||||||
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference',
|
'createNewRelationLinkTitle' => $l10nPathFE . ':images.addFileReference',
|
||||||
'showPossibleLocalizationRecords' => true,
|
'showPossibleLocalizationRecords' => true,
|
||||||
'showRemovedLocalizationRecords' => true,
|
'showRemovedLocalizationRecords' => true,
|
||||||
'showAllLocalizationLink' => true,
|
'showAllLocalizationLink' => true,
|
||||||
|
@ -346,32 +400,32 @@ return [
|
||||||
'foreign_types' => [
|
'foreign_types' => [
|
||||||
'0' => [
|
'0' => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
],
|
],
|
||||||
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [
|
\TYPO3\CMS\Core\Resource\File::FILETYPE_TEXT => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
],
|
],
|
||||||
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
|
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
],
|
],
|
||||||
\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
|
\TYPO3\CMS\Core\Resource\File::FILETYPE_AUDIO => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
],
|
],
|
||||||
\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => [
|
\TYPO3\CMS\Core\Resource\File::FILETYPE_VIDEO => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
],
|
],
|
||||||
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
|
\TYPO3\CMS\Core\Resource\File::FILETYPE_APPLICATION => [
|
||||||
'showitem' => '
|
'showitem' => '
|
||||||
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
--palette--;' . $l10nPathFE . ':sys_file_reference.imageoverlayPalette;imageoverlayPalette,
|
||||||
--palette--;;filePalette'
|
--palette--;;filePalette'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
@ -383,7 +437,7 @@ return [
|
||||||
|
|
||||||
'pages' => [
|
'pages' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.pages',
|
'label' => $l10nPath . ':tx_events_domain_model_event.pages',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'group',
|
'type' => 'group',
|
||||||
'internal_type' => 'db',
|
'internal_type' => 'db',
|
||||||
|
@ -393,7 +447,7 @@ return [
|
||||||
|
|
||||||
'categories' => [
|
'categories' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.categories',
|
'label' => $l10nPath . ':tx_events_domain_model_event.categories',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'input',
|
'type' => 'input',
|
||||||
'size' => 4,
|
'size' => 4,
|
||||||
|
@ -403,7 +457,7 @@ return [
|
||||||
|
|
||||||
'dates' => [
|
'dates' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.dates',
|
'label' => $l10nPath . ':tx_events_domain_model_event.dates',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'inline',
|
'type' => 'inline',
|
||||||
'foreign_table' => 'tx_events_domain_model_date',
|
'foreign_table' => 'tx_events_domain_model_date',
|
||||||
|
@ -435,7 +489,7 @@ return [
|
||||||
|
|
||||||
'organizer' => [
|
'organizer' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.organizer',
|
'label' => $l10nPath . ':tx_events_domain_model_event.organizer',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'renderType' => 'selectSingle',
|
'renderType' => 'selectSingle',
|
||||||
|
@ -446,7 +500,7 @@ return [
|
||||||
],
|
],
|
||||||
'region' => [
|
'region' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.region',
|
'label' => $l10nPath . ':tx_events_domain_model_event.region',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'select',
|
'type' => 'select',
|
||||||
'renderType' => 'selectSingle',
|
'renderType' => 'selectSingle',
|
||||||
|
@ -458,7 +512,7 @@ return [
|
||||||
|
|
||||||
'partner' => [
|
'partner' => [
|
||||||
'exclude' => true,
|
'exclude' => true,
|
||||||
'label' => 'LLL:EXT:events/Resources/Private/Language/locallang_csh_event.xlf:tx_events_domain_model_event.partner',
|
'label' => $l10nPath . ':tx_events_domain_model_event.partner',
|
||||||
'config' => [
|
'config' => [
|
||||||
'type' => 'group',
|
'type' => 'group',
|
||||||
'internal_type' => 'db',
|
'internal_type' => 'db',
|
||||||
|
|
|
@ -11,6 +11,30 @@
|
||||||
<source>Event Modul</source>
|
<source>Event Modul</source>
|
||||||
<target>Veranstaltungs Modul</target>
|
<target>Veranstaltungs Modul</target>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.text">
|
||||||
|
<source>Text</source>
|
||||||
|
<target>Texte</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.dates">
|
||||||
|
<source>Dates</source>
|
||||||
|
<target>Termine</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.location">
|
||||||
|
<source>Location</source>
|
||||||
|
<target>Veranstaltungsort</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.relations">
|
||||||
|
<source>Relations</source>
|
||||||
|
<target>Relationen</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.media">
|
||||||
|
<source>Media</source>
|
||||||
|
<target>Medien</target>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.social">
|
||||||
|
<source>Social Media</source>
|
||||||
|
<target>Social Media</target>
|
||||||
|
</trans-unit>
|
||||||
<trans-unit id="tx_events_domain_model_event">
|
<trans-unit id="tx_events_domain_model_event">
|
||||||
<source>Event</source>
|
<source>Event</source>
|
||||||
<target>Veranstaltung</target>
|
<target>Veranstaltung</target>
|
||||||
|
|
|
@ -12,6 +12,24 @@
|
||||||
<trans-unit id="tx_events_domain_model_event">
|
<trans-unit id="tx_events_domain_model_event">
|
||||||
<source>Event</source>
|
<source>Event</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.text">
|
||||||
|
<source>Text</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.dates">
|
||||||
|
<source>Dates</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.location">
|
||||||
|
<source>Location</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.relations">
|
||||||
|
<source>Relations</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.media">
|
||||||
|
<source>Media</source>
|
||||||
|
</trans-unit>
|
||||||
|
<trans-unit id="tx_events_domain_model_event.tabs.social">
|
||||||
|
<source>Social Media</source>
|
||||||
|
</trans-unit>
|
||||||
<trans-unit id="tx_events_domain_model_event.title">
|
<trans-unit id="tx_events_domain_model_event.title">
|
||||||
<source>Title</source>
|
<source>Title</source>
|
||||||
</trans-unit>
|
</trans-unit>
|
||||||
|
|
Loading…
Reference in a new issue