Upgrade to TYPO3 9.5 LTS

This commit is contained in:
Björn Fromme
2019-06-06 17:20:29 +02:00
parent adab7fb39a
commit 3c472eb973
989 changed files with 4924 additions and 3674 deletions
+1
View File
@@ -0,0 +1 @@
deny from all
@@ -0,0 +1,47 @@
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Konfiguration</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.activityType>
<TCEforms>
<exclude>0</exclude>
<label>Programmtyp:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="1" type="array">
<numIndex index="0">Outdoor &amp; Action</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Event-Gastronomie</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">Sightseeing</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">Spezial</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
<minitems>1</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.activityType>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
@@ -0,0 +1,183 @@
<T3DataStructure>
<meta>
<langDisable>1</langDisable>
</meta>
<sheets>
<sDEF>
<ROOT>
<TCEforms>
<sheetTitle>Konfiguration</sheetTitle>
</TCEforms>
<type>array</type>
<el>
<settings.travelType>
<TCEforms>
<exclude>0</exclude>
<label>Art der Reise:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Keine Auswahl</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Incentives</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Teambuilding</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">Meeting</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">Corporate Event</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.travelType>
<settings.locationType>
<TCEforms>
<exclude>0</exclude>
<label>Destination:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Keine Auswahl</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Meer</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Berge</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">Städte</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">Spezial</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.locationType>
<settings.locationDistance>
<TCEforms>
<exclude>0</exclude>
<label>Entfernung:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Keine Auswahl</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Deutschland</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Europa</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">Welt</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
</items>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.locationDistance>
<settings.hotelType>
<TCEforms>
<exclude>0</exclude>
<label>Unterkunft:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Keine Auswahl</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">3-Sterne</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">4-Sterne</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">5-Sterne</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">Spezial</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.hotelType>
<settings.activityType>
<TCEforms>
<exclude>0</exclude>
<label>Programm:</label>
<config>
<type>select</type>
<renderType>selectSingle</renderType>
<items type="array">
<numIndex index="0" type="array">
<numIndex index="0">Keine Auswahl</numIndex>
<numIndex index="1">0</numIndex>
</numIndex>
<numIndex index="1" type="array">
<numIndex index="0">Outdoor &amp; Action</numIndex>
<numIndex index="1">1</numIndex>
</numIndex>
<numIndex index="2" type="array">
<numIndex index="0">Event-Gastronomie</numIndex>
<numIndex index="1">2</numIndex>
</numIndex>
<numIndex index="3" type="array">
<numIndex index="0">Sightseeing</numIndex>
<numIndex index="1">3</numIndex>
</numIndex>
<numIndex index="4" type="array">
<numIndex index="0">Spezial</numIndex>
<numIndex index="1">4</numIndex>
</numIndex>
</items>
<minitems>0</minitems>
<maxitems>1</maxitems>
</config>
</TCEforms>
</settings.activityType>
</el>
</ROOT>
</sDEF>
</sheets>
</T3DataStructure>
@@ -0,0 +1,5 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/PageTS/Mod/WebLayout/BackendLayouts.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/PageTS/Mod/Wizards/NewContentElement.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/PageTS/RTE.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/PageTS/TCEFORM.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/PageTS/Mod/SHARED.tsconfig">
@@ -0,0 +1,6 @@
mod {
SHARED {
defaultLanguageFlag = de
defaultLanguageLabel = Deutsch
}
}
@@ -0,0 +1,158 @@
mod {
web_layout.BackendLayouts {
frontpageEpEvents {
title = EP Events: Startseite
config {
backend_layout {
colCount = 2
rowCount = 5
rows {
1 {
columns {
1 {
name = Content
colPos = 3
colspan = 2
}
}
}
2 {
columns {
1 {
name = Kachel
colPos = 10
}
2 {
name = Kachel
colPos = 11
}
}
}
3 {
columns {
1 {
name = Kachel
colPos = 12
}
2 {
name = Kachel
colPos = 13
}
}
}
4 {
columns {
1 {
name = Content
colPos = 0
colspan = 2
}
}
}
5 {
columns {
1 {
name = Footer Content
colPos = 4
colspan = 2
}
}
}
}
}
}
}
subpageEpEvents {
title = EP Events: Unterseite
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = Header
colPos = 1
}
}
}
2 {
columns {
1 {
name = Content
colPos = 0
}
}
}
}
}
}
}
categoryEpEvents {
title = EP Events: Kategorie
config {
backend_layout {
colCount = 1
rowCount = 2
rows {
1 {
columns {
1 {
name = Content (Slider etc.)
colPos = 0
}
}
}
2 {
columns {
1 {
name = Footer Content
colPos = 2
}
}
}
}
}
}
}
offerEpEvents {
title = EP Events: Beispielangebot
config {
backend_layout {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = Content (Slider etc.)
colPos = 2
}
}
}
}
}
}
}
activityEpEvents {
title = EP Events: Programmpunkt
config {
backend_layout {
colCount = 1
rowCount = 1
rows {
1 {
columns {
1 {
name = Content
colPos = 0
}
}
}
}
}
}
}
}
}
@@ -0,0 +1,16 @@
RTE {
config {
tt_content {
bodytext {
types {
text {
preset = dpn
}
textmedia {
preset = dpn
}
}
}
}
}
}
@@ -0,0 +1,114 @@
TCEFORM {
tt_content {
# Disable image orientations
imageorient.removeItems = 0,1,2,8,9,25,26
imageorient.disabled = 1
# Disable image columns
imagecols.disabled = 1
# Disable image norows
image_noRows.disabled = 1
# Disable image border
imageborder.disabled = 1
# Disable image width
imagewidth.disabled = 1
# Disable image height
imageheight.disabled = 1
# Disable image link
image_link.disabled = 1
# Enable image zoom
image_zoom = 1
# Disable image compression
image_compression.disabled = 1
# Disable image effects
image_effects.disabled = 1
# Disable image frames
image_frames.disabled = 1
# Disable image caption position
imagecaption_position.disabled = 1
# Disable layout field for all other types
layout.types.text.disabled = 1
layout.types.textpic.disabled = 1
layout.types.bullets.disabled = 1
layout.types.html.disabled = 1
layout.types.image.disabled = 1
layout.types.list.disabled = 1
layout.types.menu.disabled = 1
layout.types.shortcut.disabled = 1
layout.types.table.disabled = 1
layout.types.uploads.disabled = 1
layout.types.mailform.disabled = 1
layout.types.login.disabled = 1
layout.types.header.disabled = 1
layout.types.herounit {
altLabels {
1 = Groß
}
removeItems = 2,3
}
header_layout {
addItems {
10 = H1 (Icon, opt. Subheadline)
20 = H2 (Icon, opt. Subheadline)
}
removeItems = 4,5
altLabels {
1 = H1 (opt. Subheadline)
2 = H2 (opt. Subheadline)
3 = H3
}
}
# Table background color
table_bgColor.disabled = 1
# Table border
table_border.disabled = 1
# Table cell spacing
table_cellspacing.disabled = 1
# Table cell padding
table_cellpadding.disabled = 1
# File size
filelink_size.disabled = 1
# Upload description
uploads_description.disabled = 1
# Upload type
uploads_type.disabled = 1
# Disable description
rowDescription.disabled = 1
# Disable categories
categories.disabled = 1
# Enable header link
header_link = 1
# Disable header position
header_position.disabled = 1
}
pages {
cache_tags.disabled = 1
fe_login_mode.disabled = 1
layout.disabled = 1
}
}
@@ -0,0 +1,35 @@
mod {
wizards.newContentElement.wizardItems {
epevents {
header = EP Events
elements {
tile {
iconIdentifier = content-image
title = Kachel
description = Kachel für Reisearten auf der Startseite
tt_content_defValues.CType = tile
}
statement {
iconIdentifier = content-image
title = Statement
description = Statment mit Button
tt_content_defValues.CType = statement
}
herounit {
iconIdentifier = content-image
title = Herounit
description = Seitenheader
tt_content_defValues.CType = herounit
}
banner {
iconIdentifier = content-image
title = Banner
description = Banner für Kategorieseiten
tt_content_defValues.CType = banner
}
}
show := addToList(tile, statement, herounit, banner)
}
}
}
@@ -0,0 +1,37 @@
imports:
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Processing.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Base.yaml" }
- { resource: "EXT:rte_ckeditor/Configuration/RTE/Editor/Plugins.yaml" }
editor:
config:
contentsCss:
- "EXT:ep_events/Resources/Public/css/rte.min.css"
stylesSet:
- { name: "Button", element: "a", attributes: { 'class': 'button' } }
- { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'buttonfull' } }
- { name: "Farbige Bullets", element: "ul", attributes: { 'class': 'coloured-list' } }
- { name: "Fußnote", element: "ul", attributes: { 'class': 'footnote-list' } }
toolbarGroups:
- { name: styles, groups: [ format, styles ] }
- { name: basicstyles, groups: [ basicstyles ] }
- { name: paragraph, groups: [ list] }
- "/"
- { name: links, groups: [ links ] }
- { name: clipboard, groups: [ clipboard, cleanup, undo ] }
- { name: editing, groups: [ spellchecker ] }
- { name: insert, groups: [ insert ] }
- { name: tools, groups: [ table, specialchar ] }
- { name: document, groups: [ mode ] }
format_tags: "p;h1;h2;h3;h4"
removePlugins:
- image
removeButtons:
- Anchor
- Underline
- Strike
@@ -0,0 +1,136 @@
<?php
defined('TYPO3_MODE') or die ();
call_user_func(function() {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'pages',
'doktype',
[
'Kategorie-Seite',
\EP\EpEvents\Constants::PAGETYPE_CATEGORY,
'apps-pagetree-category-page',
],
'1',
'after'
);
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule(
$GLOBALS['TCA']['pages'],
[
'ctrl' => [
'typeicon_classes' => [
\EP\EpEvents\Constants::PAGETYPE_CATEGORY => 'apps-pagetree-category-page',
],
],
'types' => [
(string) \EP\EpEvents\Constants::PAGETYPE_CATEGORY => $GLOBALS['TCA']['pages']['types'][\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT],
]
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'pages',
'doktype',
[
'Beispiel-Seite',
\EP\EpEvents\Constants::PAGETYPE_OFFER,
'apps-pagetree-example-page',
],
'1',
'after'
);
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule(
$GLOBALS['TCA']['pages'],
[
'ctrl' => [
'typeicon_classes' => [
\EP\EpEvents\Constants::PAGETYPE_OFFER => 'apps-pagetree-example-page',
],
],
'types' => [
(string) \EP\EpEvents\Constants::PAGETYPE_OFFER => $GLOBALS['TCA']['pages']['types'][\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT],
],
]
);
$temporaryColumns = [
'tx_epevents_traveltype' => [
'exclude' => 0,
'label' => 'Reiseart',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Keine Zuordnung', 0],
],
'foreign_table' => 'tx_epevents_domain_model_traveltype',
'foreign_table_where' => 'AND tx_epevents_domain_model_traveltype.sys_language_uid IN (0, -1)',
'minitems' => 0,
'maxitems' => 1,
]
],
'tx_epevents_offer' => [
'exclude' => 0,
'label' => 'Angebot/Beispielangebot',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Keine Zuordnung', 0],
],
'foreign_table' => 'tx_epevents_domain_model_offer',
'foreign_table_where' => 'AND tx_epevents_domain_model_offer.type = 1 AND tx_epevents_domain_model_offer.sys_language_uid IN (0, -1) ORDER BY tx_epevents_domain_model_offer.name_internal',
'minitems' => 0,
'maxitems' => 1,
]
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'pages',
$temporaryColumns
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'pages',
'--div--;Konfigurator,
tx_epevents_traveltype',
(string) \EP\EpEvents\Constants::PAGETYPE_CATEGORY
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'pages',
'--div--;Konfigurator,
tx_epevents_offer',
(string) \EP\EpEvents\Constants::PAGETYPE_OFFER
);
// Add category page type
$GLOBALS['PAGES_TYPES'][\EP\EpEvents\Constants::PAGETYPE_CATEGORY] = [
'type' => 'web',
'allowedTables' => '*',
];
// Add offer page type
$GLOBALS['PAGES_TYPES'][\EP\EpEvents\Constants::PAGETYPE_OFFER] = [
'type' => 'web',
'allowedTables' => '*',
];
$GLOBALS['TCA']['pages']['columns']['media']['config']['behaviour'] = [
'allowLanguageSynchronization' => true,
'localizeChildrenAtParentLocalization' => true,
];
$GLOBALS['TCA']['pages']['columns']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants'] = [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Header Startseite',
'value' => 2.0571,
],
],
],
];
});
@@ -0,0 +1,119 @@
<?php
defined('TYPO3_MODE') or die ();
call_user_func(function() {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'pages_language_overlay',
'doktype',
[
'Kategorie-Seite',
\EP\EpEvents\Constants::PAGETYPE_CATEGORY,
'apps-pagetree-category-page',
],
'1',
'after'
);
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule(
$GLOBALS['TCA']['pages_language_overlay'],
[
'ctrl' => [
'typeicon_classes' => [
\EP\EpEvents\Constants::PAGETYPE_CATEGORY => 'apps-pagetree-category-page',
],
],
'types' => [
(string) \EP\EpEvents\Constants::PAGETYPE_CATEGORY => $GLOBALS['TCA']['pages']['types'][\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT],
]
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'pages_language_overlay',
'doktype',
[
'Beispiel-Seite',
\EP\EpEvents\Constants::PAGETYPE_OFFER,
'apps-pagetree-example-page',
],
'1',
'after'
);
\TYPO3\CMS\Core\Utility\ArrayUtility::mergeRecursiveWithOverrule(
$GLOBALS['TCA']['pages_language_overlay'],
[
'ctrl' => [
'typeicon_classes' => [
\EP\EpEvents\Constants::PAGETYPE_OFFER => 'apps-pagetree-example-page',
],
],
'types' => [
(string) \EP\EpEvents\Constants::PAGETYPE_OFFER => $GLOBALS['TCA']['pages']['types'][\TYPO3\CMS\Frontend\Page\PageRepository::DOKTYPE_DEFAULT],
],
]
);
$temporaryColumns = [
'tx_epevents_traveltype' => [
'exclude' => 0,
'label' => 'Reiseart',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Keine Zuordnung', 0],
],
'foreign_table' => 'tx_epevents_domain_model_traveltype',
'foreign_table_where' => 'AND tx_epevents_domain_model_traveltype.sys_language_uid IN (0, -1)',
'minitems' => 0,
'maxitems' => 1,
]
],
'tx_epevents_offer' => [
'exclude' => 0,
'label' => 'Angebot/Beispielangebot',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Keine Zuordnung', 0],
],
'foreign_table' => 'tx_epevents_domain_model_offer',
'foreign_table_where' => 'AND tx_epevents_domain_model_offer.type = 1 AND tx_epevents_domain_model_offer.sys_language_uid IN (0, -1) ORDER BY tx_epevents_domain_model_offer.name_internal',
'minitems' => 0,
'maxitems' => 1,
]
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns(
'pages_language_overlay',
$temporaryColumns
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'pages_language_overlay',
'--div--;Konfigurator,
tx_epevents_traveltype',
(string) \EP\EpEvents\Constants::PAGETYPE_CATEGORY
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addToAllTCAtypes(
'pages_language_overlay',
'--div--;Konfigurator,
tx_epevents_offer',
(string) \EP\EpEvents\Constants::PAGETYPE_OFFER
);
$GLOBALS['TCA']['pages_language_overlay']['columns']['media']['config']['overrideChildTca']['columns']['crop']['config']['cropVariants'] = [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Header Startseite',
'value' => 2.0571,
],
],
],
];
});
@@ -0,0 +1,13 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'ep_events',
'Configuration/TypoScript',
'EP Events'
);
});
@@ -0,0 +1,116 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$temporaryColumns = [
'tx_epevents_configurator_travel_type' => [
'exclude' => 0,
'label' => 'Reiseart',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Keine Zuordnung', 0],
['Incentive', 1],
['Teambuilding', 2],
['Meeting', 3],
['Corporate Event', 4],
],
'minitems' => 0,
'maxitems' => 1,
]
],
];
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTCAcolumns('tt_content', $temporaryColumns);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette(
'tt_content',
'headers',
'tx_epevents_configurator_travel_type',
'before:header_layout'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette(
'tt_content',
'header',
'tx_epevents_configurator_travel_type',
'before:header_layout'
);
$GLOBALS['TCA']['tt_content']['types']['header']['columnsOverrides'] = [
'header' => [
'config' => [
'type' => 'text',
'cols' => 60,
'rows' => 2,
],
],
'tx_epevents_configurator_travel_type' => [
'label' => 'Icon/Kategorie',
],
];
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'OfferTeasers',
'EP Events: Reisebeispiele Slider'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'Testimonials',
'EP Events: Testimonials Slider'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'Contacts',
'EP Events: Team'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'ActivityTeasers',
'EP Events: Programmpunkte Slider'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'ActivityDetail',
'EP Events: Programmpunkt Detail'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'ContactForm',
'EP Events: Kontaktformular'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'Configurator',
'EP Events: Anfragurator'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpEvents',
'SearchResult',
'EP Events: Suchergebnis'
);
$pluginSignature = 'epevents_offerteasers';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
$pluginSignature, 'FILE:EXT:ep_events/Configuration/FlexForms/offers.xml'
);
$pluginSignature = 'epevents_activityteasers';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
$pluginSignature, 'FILE:EXT:ep_events/Configuration/FlexForms/activities.xml'
);
});
@@ -0,0 +1,49 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Banner',
'banner',
'content-image'
],
'herounit',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['banner'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_epevents_configurator_travel_type, bodytext, header, header_link, assets
',
'columnsOverrides' => [
'header' => [
'label' => 'Button Label',
],
'header_link' => [
'label' => 'Button Link',
],
'bodytext' => [
'label' => 'Text',
],
'assets' => [
'label' => 'Hintergrundbild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('assets', [
'appearance' => [
'createNewRelationLinkTitle' => 'Hinzufügen'
],
'maxitems' => 1,
'minitems' => 1,
], 'jpg')
]
]
];
});
@@ -0,0 +1,91 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Herounit',
'herounit',
'content-image'
],
'statement',
'after'
);
$GLOBALS['TCA']['tt_content']['palettes']['herounit_layout'] = [
'showitem' => 'layout, tx_epevents_configurator_travel_type',
];
$GLOBALS['TCA']['tt_content']['types']['herounit'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general, --palette--;;herounit_layout,
header, subheader, bodytext, assets
',
'columnsOverrides' => [
'header' => [
'label' => 'Titel',
'config' => [
'type' => 'text',
'cols' => 50,
'rows' => 2,
],
],
'subheader' => [
'label' => 'Untertitel',
'config' => [
'type' => 'text',
'cols' => 50,
'rows' => 2,
],
],
'bodytext' => [
'label' => 'Headertext',
'config' => [
'cols' => 80,
'rows' => 4,
'eval' => 'trim'
],
],
'assets' => [
'label' => 'Bild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('assets', [
'appearance' => [
'createNewRelationLinkTitle' => 'Hinzufügen'
],
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'headerDefault' => [
'title' => 'Header standard',
'value' => 2.63333333333333,
],
'headerLarge' => [
'title' => 'Header groß',
'value' => 2.0571,
],
],
],
],
],
],
],
],
'maxitems' => 1,
'minitems' => 1,
], 'jpg')
]
]
];
});
@@ -0,0 +1,47 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Statement',
'statement',
'content-image'
],
'tile',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['statement'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_epevents_configurator_travel_type, bodytext, header, header_link
',
'columnsOverrides' => [
'header' => [
'label' => 'Button Label',
'config' => [
'size' => 32,
],
],
'header_link' => [
'label' => 'Button Link',
],
'bodytext' => [
'label' => 'Text',
'config' => [
'cols' => 80,
'rows' => 2,
'eval' => 'trim,required'
],
],
]
];
});
@@ -0,0 +1,77 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$frontendLanguageFilePrefix = 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Kachel',
'tile',
'content-image'
],
'textmedia',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['tile'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
tx_epevents_configurator_travel_type, header, header_link, bodytext,
--div--;Bild,
assets
',
'columnsOverrides' => [
'header' => [
'config' => [
'type' => 'text',
'cols' => 32,
'rows' => 2,
]
],
'bodytext' => [
'label' => 'Teasertext',
'config' => [
'type' => 'input',
'size' => 80,
'eval' => 'trim,required'
],
],
'assets' => [
'label' => 'Teaserbild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('assets', [
'appearance' => [
'createNewRelationLinkTitle' => 'Hinzufügen'
],
'overrideChildTca' => [
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'default' => [
'title' => 'Standard',
'value' => 1.575,
],
],
],
],
],
],
],
],
'maxitems' => 1,
'minitems' => 1,
], 'jpg')
]
]
];
});
@@ -0,0 +1,37 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function() {
$budgetItems = $paxItems = $periodItems = [
['keine Auswahl', 0]
];
$extensionConfiguration = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Configuration\ExtensionConfiguration::class)->get('ep_events');
$budgetItemsConfig = explode(';', $extensionConfiguration['configuratorBudgetOptions']);
foreach ($budgetItemsConfig as $item)
{
[$value, $label] = explode(':', $item);
$budgetItems[] = [$label, $value];
}
$GLOBALS['TCA']['tx_epevents_domain_model_offer']['columns']['configurator_budget']['config']['items'] = $budgetItems;
$paxItemsConfig = explode(';', $extensionConfiguration['configuratorPaxOptions']);
foreach ($paxItemsConfig as $item)
{
[$value, $label] = explode(':', $item);
$paxItems[] = [$label, $value];
}
$GLOBALS['TCA']['tx_epevents_domain_model_offer']['columns']['configurator_pax']['config']['items'] = $paxItems;
$periodItemsConfig = explode(';', $extensionConfiguration['configuratorPeriodOptions']);
foreach ($periodItemsConfig as $item)
{
[$value, $label] = explode(':', $item);
$periodItems[] = [$label, $value];
}
$GLOBALS['TCA']['tx_epevents_domain_model_offer']['columns']['configurator_period']['config']['items'] = $periodItems;
});
@@ -0,0 +1,325 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_activity',
'label' => 'name_internal',
'default_sortby' => 'ORDER BY name_internal',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'name,name_internal,description,image_teaser,image_header,image_offer,configurator_type',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_activity.gif'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, name_internal,
keywords, description, bannertext, footertext, image_teaser, image_header, image_offer, configurator_type,
path_segment',
],
'types' => [
'1' => [
'showitem' => '--palette--;;general,
--palette--;;naming, keywords, bannertext,
--div--;Texte, description, footertext,
--div--;Bilder, image_teaser, image_header, image_offer',
],
],
'palettes' => [
'general' => ['showitem' => 'configurator_type, hidden'],
'naming' => ['showitem' => 'name, name_internal, --linebreak--, path_segment'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_activity',
'foreign_table_where' => 'AND tx_epevents_domain_model_activity.pid=###CURRENT_PID### AND tx_epevents_domain_model_activity.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
'exclude' => 0,
'label' => 'Bezeichnung',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'name_internal' => [
'exclude' => 0,
'label' => 'Bezeichnung intern',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'keywords' => [
'exclude' => 0,
'label' => 'Keywords',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 3,
'eval' => 'trim',
],
],
'description' => [
'exclude' => 0,
'label' => 'Beschreibung (kurz)',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footertext' => [
'exclude' => 0,
'label' => 'Footertext',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'bannertext' => [
'exclude' => 0,
'label' => 'Bannertext',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 3,
'eval' => 'trim',
],
],
'image_teaser' => [
'exclude' => 0,
'label' => 'Bild Teaser',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_teaser',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Teaser',
'value' => 1,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_header' => [
'exclude' => 0,
'label' => 'Bild Header',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_header',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Header',
'value' => 2.63333333333333,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_offer' => [
'exclude' => 0,
'label' => 'Bild Angebotsseite',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_offer',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'configurator_type' => [
'exclude' => 0,
'label' => 'Konfigurator Typ',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Outdoor & Action', 1],
['Event-Gastronomie', 2],
['Sightseeing', 3],
['Spezial', 4],
],
'default' => 1,
'size' => 1,
'minitems' => 1,
'maxitems' => 1,
'eval' => ''
],
],
'path_segment' => [
'exclude' => 0,
'label' => 'Pfadsegment',
'config' => [
'type' => 'slug',
'generatorOptions' => [
'fields' => ['name'],
'prefixParentPageSlug' => false,
'replacements' => [
'/' => '-',
],
],
'fallbackCharacter' => '-',
'eval' => 'uniqueInSite',
],
],
],
];
@@ -0,0 +1,203 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_contact',
'label' => 'name',
'default_sortby' => 'ORDER BY name',
'sortby' => 'sorting',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'name,email,phone,image,',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_contact.gif'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, position, email, phone, image',
],
'types' => [
'1' => [
'showitem' => 'hidden, name, position, email, phone, image'
],
],
'palettes' => [
'1' => ['showitem' => ''],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_contact',
'foreign_table_where' => 'AND tx_epevents_domain_model_contact.pid=###CURRENT_PID### AND tx_epevents_domain_model_contact.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
'config' => [
'type' => 'passthrough'
]
],
'name' => [
'exclude' => 0,
'label' => 'Name',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'position' => [
'exclude' => 0,
'label' => 'Position',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'email' => [
'exclude' => 0,
'label' => 'E-Mail',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,email'
],
],
'phone' => [
'exclude' => 0,
'label' => 'Telefon',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'image' => [
'exclude' => 0,
'label' => 'Bild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'default' => [
'title' => 'Standard',
'value' => 1.62162162,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
],
];
@@ -0,0 +1,235 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_hotel',
'label' => 'name_internal',
'default_sortby' => 'ORDER BY name_internal',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'name,name_internal,description,image_teaser,image_offer,configurator_type,',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_hotel.gif'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, name_internal,
description, image_teaser, image_offer, configurator_type',
],
'types' => [
'1' => [
'showitem' => '--palette--;;general, --palette--;;naming, description,
--div--;Bilder, image_teaser, image_offer',
],
],
'palettes' => [
'general' => ['showitem' => 'configurator_type, hidden'],
'naming' => ['showitem' => 'name, name_internal'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_hotel',
'foreign_table_where' => 'AND tx_epevents_domain_model_hotel.pid=###CURRENT_PID### AND tx_epevents_domain_model_hotel.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
'exclude' => 0,
'label' => 'Bezeichnung',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'name_internal' => [
'exclude' => 0,
'label' => 'Bezeichnung intern',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'description' => [
'exclude' => 0,
'label' => 'Beschreibung',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_teaser' => [
'exclude' => 0,
'label' => 'Bild Teaser',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_teaser',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Teaser',
'value' => 1,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_offer' => [
'exclude' => 0,
'label' => 'Bild Angebotsseite',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_offer',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'configurator_type' => [
'exclude' => 0,
'label' => 'Konfigurator Typ',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['3-Sterne', 1],
['4-Sterne', 2],
['5-Sterne', 3],
['Spezial', 4],
],
'default' => 1,
'size' => 1,
'minitems' => 1,
'maxitems' => 1,
'eval' => ''
],
],
],
];
@@ -0,0 +1,320 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_location',
'label' => 'name',
'default_sortby' => 'ORDER BY name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'name,description_short,description_long,season,image_header,image_teaser,image_offer,
configurator_type,configurator_distance,footer_text1,footer_text2,footer_text3,',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_location.gif'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, description_short,
description_long, season, image_header, image_teaser, image_offer, configurator_type, configurator_distance,
footer_text1, footer_text2, footer_text3',
],
'types' => [
'1' => [
'showitem' => 'hidden, --palette--;;configurator,
name, description_short, description_long, season, footer_text1, footer_text2, footer_text3,
--div--;Bilder, image_header, image_teaser, image_offer',
],
],
'palettes' => [
'configurator' => ['showitem' => 'configurator_type, configurator_distance'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_location',
'foreign_table_where' => 'AND tx_epevents_domain_model_location.pid=###CURRENT_PID### AND tx_epevents_domain_model_location.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
'exclude' => 0,
'label' => 'Bezeichnung',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'description_short' => [
'exclude' => 0,
'label' => 'Beschreibung kurz',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description_long' => [
'exclude' => 0,
'label' => 'Beschreibung lang',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'season' => [
'exclude' => 0,
'label' => 'Beste Reisezeit',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 5,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_header' => [
'exclude' => 0,
'label' => 'Bild Header',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_header',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_teaser' => [
'exclude' => 0,
'label' => 'Bild Teaser',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_teaser',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Teaser',
'value' => 1,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_offer' => [
'exclude' => 0,
'label' => 'Bild Angebotsseite',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_offer',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'footer_text1' => [
'exclude' => 0,
'label' => 'Footer Text 1',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footer_text2' => [
'exclude' => 0,
'label' => 'Footer Text 2',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footer_text3' => [
'exclude' => 0,
'label' => 'Footer Text 3',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'configurator_type' => [
'exclude' => 0,
'label' => 'Konfigurator Typ',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Meer', 1],
['Berge', 2],
['Städte', 3],
['Spezial', 4],
],
'default' => 1,
'size' => 1,
'minitems' => 1,
'maxitems' => 1,
'eval' => ''
],
],
'configurator_distance' => [
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => 'Entfernung',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[ 'Deutschland', \EP\EpEvents\Domain\Model\Location::DISTANCE_GERMANY ],
[ 'Europa', \EP\EpEvents\Domain\Model\Location::DISTANCE_EUROPE ],
[ 'Welt', \EP\EpEvents\Domain\Model\Location::DISTANCE_WORLD ],
]
],
],
],
];
@@ -0,0 +1,548 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_offer',
'label' => 'name_internal',
'default_sortby' => 'ORDER BY name_internal',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'name,name_internal,groupname,header,arrival,schedule,services,guidelines,image_header,
booking_form,configurator_type,contact,hotel,location,activities,',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_offer.gif',
'type' => 'type',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, type, name, name_internal,
groupname, price, headline, header, arrival, schedule, services, guidelines, image_teaser,
image_teaser_mobile, image_header, booking_form, configurator_type, configurator_budget,
configurator_pax, configurator_period, contact, hotel, location, activities, detail_page, url,
url_rendered',
],
'types' => [
'1' => [
'showitem' => 'hidden,
--palette--;;general, --palette--;;naming, headline, header, services,
--div--;Bilder, image_teaser, image_teaser_mobile, image_header,
--div--;Verknüpfungen, contact, hotel, location, activities',
],
'2' => [
'showitem' => 'hidden,
--palette--;;general_ext, --palette--;;naming, --palette--;;url, groupname, headline, header,
services, arrival, schedule, guidelines,
--div--;Bilder/Dateien, image_header, booking_form,
--div--;Verknüpfungen, contact, hotel, location, activities',
],
],
'palettes' => [
'general' => ['showitem' => 'type, configurator_type, configurator_pax, configurator_budget, configurator_period, detail_page'],
'general_ext' => ['showitem' => 'type, configurator_type, price'],
'naming' => ['showitem' => 'name, name_internal'],
'url' => ['showitem' => 'url, url_rendered'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_offer',
'foreign_table_where' => 'AND tx_epevents_domain_model_offer.pid=###CURRENT_PID### AND tx_epevents_domain_model_offer.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'type' => [
'exclude' => 0,
'l10n_mode' => 'exclude',
'label' => 'Angebotsart',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
[ 'Beispiel', \EP\EpEvents\Domain\Model\Offer::TYPE_EXAMPLE ],
[ 'Angebotslink', \EP\EpEvents\Domain\Model\Offer::TYPE_CLIENT ],
]
],
],
'name' => [
'exclude' => 0,
'label' => 'Bezeichnung',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'name_internal' => [
'exclude' => 0,
'label' => 'Bezeichnung intern',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'groupname' => [
'exclude' => 0,
'label' => 'Gruppe/Kontakt',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 5,
'eval' => 'trim',
],
],
'price' => [
'exclude' => 0,
'label' => 'Preis',
'config' => [
'type' => 'input',
'size' => 8,
'eval' => 'int'
],
],
'headline' => [
'exclude' => 0,
'label' => 'Headline',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,required'
],
],
'header' => [
'exclude' => 0,
'label' => 'Header',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'arrival' => [
'exclude' => 0,
'label' => 'Anreise',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'schedule' => [
'exclude' => 0,
'label' => 'Ablauf',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'services' => [
'exclude' => 0,
'label' => 'Leistungen',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'guidelines' => [
'exclude' => 0,
'label' => 'Angebotsrichtlinien',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_teaser' => [
'exclude' => 0,
'label' => 'Bild Teaser',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_teaser',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Desktop',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Teaser',
'value' => 1,
],
],
],
'mobile' => [
'title' => 'Mobile',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Teaser',
'value' => 1.7857,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_teaser_mobile' => [
'exclude' => 0,
'label' => 'Bild Teaser (mobil)',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_teaser_m',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Mobile',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Teaser',
'value' => 1.7857,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'image_header' => [
'exclude' => 0,
'label' => 'Bild Header',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_header',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'teaser' => [
'title' => 'Header',
'value' => 2.63333333333333,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'booking_form' => [
'exclude' => 0,
'label' => 'Buchungsformular',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'booking_form',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
],
'maxitems' => 1
]
),
],
'configurator_type' => [
'exclude' => 0,
'label' => 'Konfigurator Typ',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Incentive', 1],
['Teambuilding', 2],
['Meeting', 3],
['Corporate Event', 4],
],
'default' => 1,
'size' => 1,
'minitems' => 1,
'maxitems' => 1,
],
],
'configurator_budget' => [
'exclude' => 0,
'label' => 'Konfigurator Budget',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [],
'default' => 1,
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
],
],
'configurator_pax' => [
'exclude' => 0,
'label' => 'Teilnehmerzahl',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [],
'default' => 1,
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
],
],
'configurator_period' => [
'exclude' => 0,
'label' => 'Reisezeitraum',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [],
'default' => 1,
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
],
],
'contact' => [
'exclude' => 0,
'label' => 'Ansprechpartner',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_epevents_domain_model_contact',
'foreign_table_where' => 'AND 1=1 order by name',
'minitems' => 1,
'maxitems' => 1,
],
],
'hotel' => [
'exclude' => 0,
'label' => 'Unterkunft',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_epevents_domain_model_hotel',
'foreign_table_where' => 'AND 1=1 order by name',
'minitems' => 1,
'maxitems' => 1,
],
],
'location' => [
'exclude' => 0,
'label' => 'Location',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'tx_epevents_domain_model_location',
'foreign_table_where' => 'AND 1=1 order by name',
'minitems' => 1,
'maxitems' => 1,
],
],
'activities' => [
'exclude' => 0,
'label' => 'Programmpunkte',
'config' => [
'type' => 'select',
'renderType' => 'selectMultipleSideBySide',
'foreign_table' => 'tx_epevents_domain_model_activity',
'foreign_table_where' => 'AND 1=1 order by name',
'MM' => 'tx_epevents_offer_activity_mm',
'size' => 10,
'autoSizeMax' => 30,
'minitems' => 1,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'suggest' => [
'type' => 'suggest',
'default' => [
'searchWholePhrase' => 1,
]
]
],
],
],
'detail_page' => [
'exclude' => 0,
'label' => 'Detailseite',
'config' => [
'type' => 'input',
'eval' => 'required',
'renderType' => 'inputLink',
],
],
'url' => [
'exclude' => 0,
'label' => 'URL Segment',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim,lower,nospace',
],
],
'url_rendered' => [
'exclude' => 0,
'label' => 'Resultierende URL',
'config' => [
'type' => 'user',
'userFunc' => \EP\EpEvents\Form\UrlField::class . '->render',
]
],
],
];
@@ -0,0 +1,182 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_testimonial',
'label' => 'client_name',
'default_sortby' => 'ORDER BY client_name',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'client_name,client_image,quote,',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_testimonial.gif'
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, client_name, client_image,
quote',
],
'types' => [
'1' => [
'showitem' => 'hidden, client_name, client_image, quote',
],
],
'palettes' => [
'1' => ['showitem' => ''],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_testimonial',
'foreign_table_where' => 'AND tx_epevents_domain_model_testimonial.pid=###CURRENT_PID### AND tx_epevents_domain_model_testimonial.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'client_name' => [
'exclude' => 0,
'label' => 'Name, Firma',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim'
],
],
'client_image' => [
'exclude' => 0,
'label' => 'Bild',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'client_image',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'default' => [
'title' => 'Standard',
'value' => 1,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
),
],
'quote' => [
'exclude' => 0,
'label' => 'Zitat',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
],
];
@@ -0,0 +1,295 @@
<?php
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_events/Resources/Private/Language/locallang.xlf:tx_epevents_domain_model_traveltype',
'label' => 'title',
'default_sortby' => 'ORDER BY title ASC',
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
'delete' => 'deleted',
'enablecolumns' => [
'disabled' => 'hidden',
'starttime' => 'starttime',
'endtime' => 'endtime',
],
'searchFields' => 'title,subtitle,headertext,subheadline,description',
'iconfile' => 'EXT:ep_events/Resources/Public/images/tx_epevents_domain_model_traveltype.gif',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, type, title, subtitle,
headertext, subheadline, bannertext, description, buttonlabel, configurator_type, image_header, image_banner',
],
'types' => [
'1' => [
'showitem' => '--palette--;;general, --palette--;;herounit, subheadline, bannertext,
buttonlabel, description,
--div--;Bilder,image_header, image_banner',
],
],
'palettes' => [
'general' => ['showitem' => 'hidden, configurator_type'],
'herounit' => ['showitem' => 'title, subtitle, headertext'],
],
'columns' => [
'sys_language_uid' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.language',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'foreign_table' => 'sys_language',
'foreign_table_where' => 'ORDER BY sys_language.title',
'items' => [
['LLL:EXT:lang/locallang_general.xlf:LGL.allLanguages', -1],
['LLL:EXT:lang/locallang_general.xlf:LGL.default_value', 0]
],
],
],
'l10n_parent' => [
'displayCond' => 'FIELD:sys_language_uid:>:0',
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.l18n_parent',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['', 0],
],
'foreign_table' => 'tx_epevents_domain_model_offer',
'foreign_table_where' => 'AND tx_epevents_domain_model_offer.pid=###CURRENT_PID### AND tx_epevents_domain_model_offer.sys_language_uid IN (-1,0)',
],
],
'l10n_diffsource' => [
'config' => [
'type' => 'passthrough',
],
],
't3ver_label' => [
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.versionLabel',
'config' => [
'type' => 'input',
'size' => 30,
'max' => 255,
]
],
'hidden' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.hidden',
'config' => [
'type' => 'check',
],
],
'starttime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'endtime' => [
'exclude' => 1,
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'title' => [
'exclude' => 0,
'label' => 'Titel',
'config' => [
'type' => 'text',
'cols' => 60,
'rows' => 2,
'eval' => 'trim,required'
],
],
'subtitle' => [
'exclude' => 0,
'label' => 'Untertitel',
'config' => [
'type' => 'text',
'cols' => 60,
'rows' => 2,
'eval' => 'trim'
],
],
'headertext' => [
'exclude' => 0,
'label' => 'Headertext',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 4,
'eval' => 'trim',
],
],
'subheadline' => [
'exclude' => 0,
'label' => 'Subheadline',
'config' => [
'type' => 'input',
'size' => 30,
'eval' => 'trim',
],
],
'description' => [
'exclude' => 0,
'label' => 'Beschreibung',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'bannertext' => [
'exclude' => 0,
'label' => 'Bannertext',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 3,
'eval' => 'trim',
],
],
'buttonlabel' => [
'exclude' => 0,
'label' => 'Button Label',
'config' => [
'type' => 'text',
'cols' => 30,
'rows' => 2,
'eval' => 'trim',
'default' => 'Beipiel Angebote',
],
],
'image_header' => [
'exclude' => 0,
'label' => 'Bild Header',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_header',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Header',
'value' => 2.0571,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
'jpg'
),
],
'image_banner' => [
'exclude' => 0,
'label' => 'Banner Hintergrund',
'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
'image_banner',
[
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette',
],
],
'columns' => [
'crop' => [
'config' => [
'cropVariants' => [
'default' => [
'title' => 'Alle Geräte',
'allowedAspectRatios' => [
'header' => [
'title' => 'Banner',
'value' => 2.8667,
],
],
],
],
],
],
],
],
'maxitems' => 1
],
'jpg'
),
],
'configurator_type' => [
'exclude' => 0,
'label' => 'Konfigurator Typ',
'config' => [
'type' => 'select',
'renderType' => 'selectSingle',
'items' => [
['Incentive', 1],
['Team Building', 2],
['Meeting', 3],
['Corporate Event', 4],
],
'default' => 1,
'size' => 1,
'minitems' => 1,
'maxitems' => 1,
'eval' => ''
],
],
],
];
@@ -0,0 +1,12 @@
tt_content.banner =< lib.contentElement
tt_content.banner {
templateName = Banner
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,12 @@
tt_content.herounit =< lib.contentElement
tt_content.herounit {
templateName = Herounit
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,4 @@
tt_content.statement =< lib.contentElement
tt_content.statement {
templateName = Statement
}
@@ -0,0 +1,12 @@
tt_content.tile =< lib.contentElement
tt_content.tile {
templateName = Tile
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10 {
references.fieldName = assets
references.table = tt_content
as = image
}
}
}
@@ -0,0 +1,8 @@
@import "EXT:fluid_styled_content/Configuration/TypoScript/setup.typoscript"
lib.contentElement {
layoutRootPaths.20 = EXT:ep_events/Resources/Private/Layouts/FluidStyledContent
templateRootPaths.20 = EXT:ep_events/Resources/Private/Templates/FluidStyledContent
partialRootPaths.20 = EXT:ep_events/Resources/Private/Partials
settings < plugin.tx_epevents.settings
}
@@ -0,0 +1 @@
@import "EXT:form/Configuration/TypoScript/setup.typoscript"
@@ -0,0 +1,12 @@
@import "EXT:news/Configuration/TypoScript/setup.txt"
plugin.tx_news {
view {
templateRootPaths.100 = EXT:ep_events/Resources/Private/Templates/News/
partialRootPaths.100 = EXT:ep_events/Resources/Private/Partials/News/
widget.GeorgRinger\News\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:ep_events/Resources/Private/Templates/News/
}
settings {
link.skipControllerAndAction = 1
}
}
@@ -0,0 +1,17 @@
lib.configurator = USER
lib.configurator {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = Configurator
vendorName = EP
controller = Form
action = configurator
switchableControllerActions {
Form {
1 = configurator
}
}
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
@@ -0,0 +1,49 @@
lib.dynamicContent = COA
lib.dynamicContent {
5 = LOAD_REGISTER
5 {
colPos.cObject = TEXT
colPos.cObject {
field = colPos
ifEmpty.cObject = TEXT
ifEmpty.cObject {
value.current = 1
ifEmpty = 0
}
}
pageUid.cObject = TEXT
pageUid.cObject {
field = pageUid
ifEmpty.data = TSFE:id
}
contentFromPid.cObject = TEXT
contentFromPid.cObject {
data = DB:pages:{register:pageUid}:content_from_pid
data.insertData = 1
}
wrap.cObject = TEXT
wrap.cObject {
field = wrap
}
}
20 = CONTENT
20 {
table = tt_content
select {
includeRecordsWithoutDefaultTranslation = 1
orderBy = sorting
where = colPos={register:colPos}
where.insertData = 1
pidInList.data = register:pageUid
pidInList.override.data = register:contentFromPid
}
stdWrap {
dataWrap = {register:wrap}
required = 1
}
}
90 = RESTORE_REGISTER
}
lib.dynamicContentSlide =< lib.dynamicContent
lib.dynamicContentSlide.20.slide = -1
@@ -0,0 +1,126 @@
lib.parseFunc {
makelinks = 1
makelinks {
http {
keep = path
extTarget = _blank
}
mailto {
keep = path
}
}
tags {
link = TEXT
link {
current = 1
typolink {
parameter {
data = parameters : allParams
}
extTarget = _blank
}
parseFunc.constants = 1
}
a = TEXT
a {
current = 1
typolink {
parameter.data = parameters:href
title.data = parameters:title
ATagParams.data = parameters:allParams
target.data = parameters:target
extTarget = _blank
extTarget.override.data = parameters:target
}
}
}
allowTags := addToList(a, abbr, acronym, address, article, aside, b, bdo)
allowTags := addToList(big, blockquote, br, caption, center, cite, code, col)
allowTags := addToList(colgroup, dd, del, dfn, dl, div, dt, em, font)
allowTags := addToList(footer, header, h1, h2, h3, h4, h5, h6, hr, i, img)
allowTags := addToList(ins, kbd, label, li, link, meta, nav, ol, p, pre, q)
allowTags := addToList(samp, sdfield, section, small, span, strike, strong)
allowTags := addToList(style, sub, sup, table, thead, tbody, tfoot, td, th)
allowTags := addToList(tr, title, tt, u, ul, var)
denyTags = *
sword = <span class="text-highlight">|</span>
constants = 1
nonTypoTagStdWrap {
HTMLparser = 1
HTMLparser {
keepNonMatchedTags = 1
htmlSpecialChars = 2
}
}
}
lib.parseFunc_RTE < lib.parseFunc
lib.parseFunc_RTE {
externalBlocks := addToList(article, aside, blockquote, div, dd, dl, footer)
externalBlocks := addToList(header, nav, ol, section, table, ul, pre)
externalBlocks {
ol {
stripNL = 1
stdWrap {
parseFunc = < lib.parseFunc
}
}
ul {
stripNL = 1
stdWrap {
parseFunc = < lib.parseFunc
}
}
table {
stripNL = 1
stdWrap {
wrap = <div class="table-responsive">|</div>
}
HTMLtableCells = 1
HTMLtableCells {
default.stdWrap {
parseFunc = < lib.parseFunc_RTE
parseFunc {
nonTypoTagStdWrap {
encapsLines {
nonWrappedTag =
}
}
}
}
}
}
pre {
stripNL = 1
}
div {
stripNL = 1
callRecursive = 1
}
blockquote < .div
article < .div
aside < .div
footer < .div
header < .div
nav < .div
section < .div
dl < .div
dd < .div
}
nonTypoTagStdWrap {
encapsLines {
encapsTagList = p, pre, h1, h2, h3, h4, h5, h6, hr, dt
remapTag.DIV = P
nonWrappedTag = P
innerStdWrap_all.ifBlank = &nbsp;
}
}
nonTypoTagStdWrap {
HTMLparser = 1
HTMLparser {
keepNonMatchedTags = 1
htmlSpecialChars = 2
}
}
}
@@ -0,0 +1,17 @@
lib.searchForm = USER
lib.searchForm {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = SearchForm
vendorName = EP
controller = Search
action = form
switchableControllerActions {
Search {
1 = form
}
}
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
@@ -0,0 +1,32 @@
ajax_page_json = PAGE
ajax_page_json {
typeNum = 1703
config {
disableAllHeaderCode = 1
additionalHeaders.10.header = Content-type:application/json
xhtml_cleaning = 0
admPanel = 0
debug = 0
no_cache = 1
}
10 = USER_INT
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = EpEvents
pluginName = Ajax
vendorName = EP
controller = AjaxForm
action = processInquiryForm
switchableControllerActions {
AjaxForm {
1 = processInquiryForm
2 = processConfiguratorForm
}
}
features.requireCHashArgumentForActionArguments = 0
settings =< plugin.tx_epevents.settings
persistence =< plugin.tx_epevents.persistence
view =< plugin.tx_epevents.view
}
}
@@ -0,0 +1,122 @@
page = PAGE
page {
meta {
viewport = width=device-width, initial-scale=1, maximum-scale=1
X-UA-Compatible = ie=edge
}
shortcutIcon = EXT:ep_events/Resources/Public/images/favicon.ico
includeCSS {
main = EXT:ep_events/Resources/Public/css/main.css
}
includeJS {
remarketing = https://www.googleadservices.com/pagead/conversion_async.js
remarketing.external = 1
remarketing.disableCompression = 1
}
includeJSFooter {
main = EXT:ep_events/Resources/Public/js/main.js
}
jsFooterInline {
10 = TEXT
10.typolink.parameter = {$plugin.tx_epevents.settings.dataProtectionPageUid}
10.typolink.returnLast = url
10.typolink.forceAbsoluteUrl = 1
10.wrap (
window.addEventListener("load", function (){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#ffffff",
"text": "#1e314b"
},
"button": {
"background": "#19a0d2",
"text": "#ffffff"
}
},
"content": {
"message": "Wir verwenden Cookies. Durch die Benutzung unserer Website akzeptieren Sie unsere Richtlinien.",
"dismiss": "Cookies akzeptieren",
"link": "Mehr Infos",
"href": "|"
}
})
});
)
}
10 = FLUIDTEMPLATE
10 {
file {
cObject = TEXT
cObject {
data = levelfield: -1, backend_layout_next_level, slide
override {
data = TSFE:page|backend_layout
}
ifEmpty = Default
split {
token = pagets__
1.current = 1
1.wrap = |
}
wrap = typo3conf/ext/ep_events/Resources/Private/Templates/Page/|.html
case = ucfirst
}
}
layoutRootPaths.0 = EXT:ep_events/Resources/Private/Layouts/
partialRootPaths.0 = EXT:ep_events/Resources/Private/Partials/
templateRootPaths.0 = EXT:ep_events/Resources/Private/Templates/
settings < plugin.tx_epevents.settings
dataProcessing {
10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor
10.references.fieldName = media
20 = EP\EpEvents\DataProcessing\TraveltypeProcessor
30 = EP\EpEvents\DataProcessing\OfferProcessor
40 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
40 {
special = rootline
special.range = 0|0
as = rootPage
}
50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor
50.special = language
50.special.value = 0,1
50.addQueryString = 1
50.addQueryString.exclude = L,cHash
50.as = langnav
}
}
headerData.999 = TEXT
headerData.999.value (
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','{$plugin.tx_epevents.settings.googleTagManagerId}');</script>
<!-- End Google Tag Manager -->
)
headerData.999.stdWrap.if.isTrue = {$plugin.tx_epevents.settings.googleTagManagerId}
}
[page["doktype"] == 101]
page.stdWrap.addPageCacheTags = category_page,epevents_page
[END]
[page["doktype"] == 102]
page.stdWrap.addPageCacheTags = offer_page,epevents_page
[END]
@@ -0,0 +1,83 @@
xmlSitemap = PAGE
xmlSitemap {
typeNum = 1848
config {
xhtml_cleaning = none
no_cache = 1
disableAllHeaderCode = 1
additionalHeaders = Content-Type: text/xml; charset=utf-8
simulateStaticDocuments = 0
tx_realurl_enable = 1
}
wrap (
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.google.com/schemas/sitemap/0.84"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemalocation="http://www.google.com/schemas/sitemap/0.84 www.google.com/schemas/sitemap/0.84/sitemap.xsd
">|</urlset>
)
10 = COA
10 {
10 = HMENU
10 {
special = list
# Ausgangspunkt / Root Seite
special.value = {$plugin.tx_epevents.settings.xmlSitemapRootPageUid}
excludeDoktypes = 2,3,5,6,7,199,254,255
excludeUidList = {$plugin.tx_epevents.settings.xmlSitemapExcludeUids}
includeNotInMenu = 1
1 = TMENU
1 {
expAll = 1
NO {
doNotLinkIt = 1
stdWrap {
cObject = COA
cObject {
wrap = <url>|</url>
10 = TEXT
10 {
typolink {
parameter.field = uid
returnLast = url
forceAbsoluteUrl = 1
}
wrap = <loc>|</loc>
}
20 = TEXT
20 {
field = SYS_LASTCHANGED
strftime = %Y-%m-%dT%H:%M:%SZ
wrap = <lastmod>|</lastmod>
}
30 = TEXT
30.value = <priority>1.0</priority>
if.isFalse.field = shortcut
}
}
}
}
2 < .1
2.NO.stdWrap.cObject.30.value = <priority>0.9</priority>
3 < .1
3.NO.stdWrap.cObject.30.value = <priority>0.8</priority>
4 < .1
4.NO.stdWrap.cObject.30.value = <priority>0.7</priority>
5 < .1
5.NO.stdWrap.cObject.30.value = <priority>0.6</priority>
6 < .1
6.NO.stdWrap.cObject.30.value = <priority>0.5</priority>
7 < .6
8 < .6
9 < .6
10 < .6
}
}
}
@@ -0,0 +1,61 @@
plugin.tx_epevents {
settings {
# cat=plugin.tx_epevents//a; type=string; label=Helper navigation PID
helperNavPid =
# cat=plugin.tx_epevents//a; type=string; label=Footer navigation PID
footerNavPid =
# cat=plugin.tx_epevents//a; type=string; label=Contact page UID
contactPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Configurator page UID
configuratorPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Data protection page UID
dataProtectionPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Legal notice page UID
legalNoticePageUid =
# cat=plugin.tx_epevents//a; type=string; label=Terms page UID
termsPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Offer detail page UID
offerDetailPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Activity detail page UID
activityDetailPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Activity list page UID
activityListPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Inquiry page UID
inquiryPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Ajax page UID
ajaxPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Search page UID
searchPageUid =
# cat=plugin.tx_epevents//a; type=string; label=Inquiry recipient email
inquiryToEmail =
# cat=plugin.tx_epevents//a; type=boolean; label=Enable contact form autoreply
enableContactFormAutoreply = 0
# cat=plugin.tx_epevents//a; type=string; label=Contact form autoreply subject
contactFormAutoreplySubject = Ihre Anfrage bei E&P Events
# cat=plugin.tx_epevents//a; type=string; label=Inquiry recipient name
inquiryToName =
# cat=plugin.tx_epevents//a; type=string; label=Sitemap root page UID
xmlSitemapRootPageUid =
# cat=plugin.tx_epevents//a; type=string; label=XML sitemap page UIDs to exclude
xmlSitemapExcludeUids =
# cat=plugin.tx_epevents//a; type=string; label=Google Tag Manager ID
googleTagManagerId =
# cat=plugin.tx_epevents//a; type=string; label=Ignore following IPs in searchlog
searchLogIgnoreIps =
# cat=plugin.tx_epevents//a; type=string; label=Activity default header image
activityDefaultHeaderImage =
# cat=plugin.tx_epevents//a; type=string; label=Activity default keywords image
activityDefaultKeywordsImage =
# cat=plugin.tx_epevents//a; type=string; label=Business hours
businessHours = Montag - Freitag 08:30 Uhr bis 17:00 Uhr
# cat=plugin.tx_epevents//a; type=boolean; label=Enable language switch
enableLanguageSwitch = 0
}
persistence {
# cat=plugin.tx_epevents//a; type=string; label=Default storage PID
storagePid =
}
}
@import "EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript"
@import "EXT:news/Configuration/TypoScript/constants.txt"
@@ -0,0 +1,126 @@
@import "EXT:ep_events/Configuration/TypoScript/Extensions/FluidStyledContent.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Extensions/Form.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Extensions/News.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Library/DynamicContent.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Library/ParseFunc.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Library/SearchForm.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Library/Configurator.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/ContentElements/banner.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/ContentElements/herounit.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/ContentElements/statement.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/ContentElements/tile.typoscript"
plugin.tx_epevents {
features {
requireCHashArgumentForActionArguments = 0
skipDefaultArguments = 1
}
view {
layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/
templateRootPaths.10 = EXT:ep_events/Resources/Private/Templates/
partialRootPaths.10 = EXT:ep_events/Resources/Private/Partials/
widget.TYPO3\CMS\Fluid\ViewHelpers\Widget\PaginateViewHelper.templateRootPath = EXT:ep_events/Resources/Private/Templates/
}
persistence {
storagePid = {$plugin.tx_epevents.persistence.storagePid}
}
settings < lib.fluidContent.settings
settings {
helperNavPid = {$plugin.tx_epevents.settings.helperNavPid}
footerNavPid = {$plugin.tx_epevents.settings.footerNavPid}
contactPageUid = {$plugin.tx_epevents.settings.contactPageUid}
configuratorPageUid = {$plugin.tx_epevents.settings.configuratorPageUid}
inquiryPageUid = {$plugin.tx_epevents.settings.inquiryPageUid}
ajaxPageUid = {$plugin.tx_epevents.settings.ajaxPageUid}
searchPageUid = {$plugin.tx_epevents.settings.searchPageUid}
inquiryToEmail = {$plugin.tx_epevents.settings.inquiryToEmail}
inquiryToName = {$plugin.tx_epevents.settings.inquiryToName}
xmlSitemapRootPageUid = {$plugin.tx_epevents.settings.xmlSitemapRootPageUid}
xmlSitemapExcludeUids = {$plugin.tx_epevents.settings.xmlSitemapExcludeUids}
googleTagManagerId = {$plugin.tx_epevents.settings.googleTagManagerId}
offerDetailPageUid = {$plugin.tx_epevents.settings.offerDetailPageUid}
activityDetailPageUid = {$plugin.tx_epevents.settings.activityDetailPageUid}
activityListPageUid = {$plugin.tx_epevents.settings.activityListPageUid}
dataProtectionPageUid = {$plugin.tx_epevents.settings.dataProtectionPageUid}
legalNoticePageUid = {$plugin.tx_epevents.settings.legalNoticePageUid}
termsPageUid = {$plugin.tx_epevents.settings.termsPageUid}
searchLogIgnoreIps = {$plugin.tx_epevents.settings.searchLogIgnoreIps}
activityDefaultHeaderImage = {$plugin.tx_epevents.settings.activityDefaultHeaderImage}
activityDefaultKeywordsImage = {$plugin.tx_epevents.settings.activityDefaultKeywordsImage}
enableContactFormAutoreply = {$plugin.tx_epevents.settings.enableContactFormAutoreply}
contactFormAutoreplySubject = {$plugin.tx_epevents.settings.contactFormAutoreplySubject}
businessHours = {$plugin.tx_epevents.settings.businessHours}
enableLanguageSwitch = {$plugin.tx_epevents.settings.enableLanguageSwitch}
configurator {
defaults {
budget = 4
}
options {
budget = 1:nicht festgelegt;2:400 - 600 €;3:600 - 800 €;4:800 - 1000 €;5:1000 - 1500 €;6:1500 - 2000 €;7:2500 - 3000 €
pax = 1:20 - 40;2:40 - 60;3:60 - 80;4:80 - 100;5:100 - 150;6:150 - 200;7:200 - 250;8:250 - 300;9:350 - 400;10:400 - 450;11:450 - 500;12:500+
period = 1:Tagesevent;2:1 Nacht;3:2 Nächte;4:3 Nächte;5:4 Nächte;6:5 Nächte;7:6 Nächte;8:7 Nächte
travelType = 1:Incentive;2:Teambuilding;3:Meeting;4:Corporate Event
locationType = 1:Meer;2:Berge;3:Städte;4:Spezial
accommodationType = 1:3-Sterne;2:4-Sterne;3:5-Sterne;4:Spezial
programmeType = 1:Outdoor & Action;2:Event-Gastronomie;3:Sightseeing;4:Spezial
distance = 1:Deutschland;2:Europa;3:Welt
}
}
}
}
lib.parseFunc_RTE {
nonTypoTagStdWrap.encapsLines.addAttributes.P.class >
nonTypoTagStdWrap.encapsLines.addAttributes.H2.class = headline headline--primary
nonTypoTagStdWrap.encapsLines.addAttributes.H3.class = headline
}
tt_content.stdWrap.innerWrap >
lib.stdheader.3.headerClass >
@import "EXT:ep_events/Configuration/TypoScript/Page/Main.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Page/Ajax.typoscript"
@import "EXT:ep_events/Configuration/TypoScript/Page/XMLSitemap.typoscript"
config {
doctype = html5
removeDefaultCSS = 1
removePageCss = 1
removeDefaultJS = 0
disablePrefixComment = 1
inlineStyle2TempFile = 1
tx_realurl_enable = 1
absRefPrefix = /
language = de
locale_all = de_DE.UTF-8
sys_language_uid = 0
htmlTag_langKey = de
compressJs = 1
compressCss = 1
compressBody = 1
typolinkEnableLinksAcrossDomains = 1
linkVars = L
}
[globalVar = GP:L = 1]
config {
sys_language_uid = 1
language = en
locale_all = en_EN.UTF-8
htmlTag_langKey = en
}
plugin.tx_epevents.settings.configurator.options {
budget = 1:undetermined;2:400 - 600 €;3:600 - 800 €;4:800 - 1000 €;5:1000 - 1500 €;6:1500 - 2000 €;7:2500 - 3000 €
pax = 1:20 - 40;2:40 - 60;3:60 - 80;4:80 - 100;5:100 - 150;6:150 - 200;7:200 - 250;8:250 - 300;9:350 - 400;10:400 - 450;11:450 - 500;12:500+
period = 1:Daytrip;2:1 Night;3:2 Nights;4:3 Nights;5:4 Nights;6:5 Nights;7:6 Nights;8:7 Nights
travelType = 1:Incentive;2:Teambuilding;3:Meeting;4:Corporate Event
locationType = 1:Sea;2:Mountains;3:Cities;4:Special
accommodationType = 1:3-Star;2:4-Star;3:5-Star;4:Special
programmeType = 1:Outdoor & Action;2:Event Gastronomy;3:Sightseeing;4:Special
distance = 1:Germany;2:Europe;3:World
}
[global]