Update to TYPO3 8.7 LTS

This commit is contained in:
Björn Fromme
2018-09-19 14:55:28 +02:00
parent af44d29340
commit f20c91846a
161 changed files with 3236 additions and 2705 deletions
+47 -46
View File
@@ -9,52 +9,46 @@
"require": {
"php": "^7.1",
"ext-json": "*",
"typo3/cms": "^7.6",
"georgringer/news": "^6.1",
"dmitryd/typo3-realurl": "^2.3",
"helhum/typo3-console": "^4.9",
"typo3/cms-backend": "^7.6",
"typo3/cms-belog": "^7.6",
"typo3/cms-beuser": "^7.6",
"typo3/cms-context-help": "^7.6",
"typo3/cms-core": "^7.6",
"typo3/cms-extbase": "^7.6",
"typo3/cms-extensionmanager": "^7.6",
"typo3/cms-filelist": "^7.6",
"typo3/cms-filemetadata": "^7.6",
"typo3/cms-fluid": "^7.6",
"typo3/cms-fluid-styled-content": "^7.6",
"typo3/cms-form": "^7.6",
"typo3/cms-frontend": "^7.6",
"typo3/cms-func": "^7.6",
"typo3/cms-func-wizards": "^7.6",
"typo3/cms-info": "^7.6",
"typo3/cms-info-pagetsconfig": "^7.6",
"typo3/cms-install": "^7.6",
"typo3/cms-lang": "^7.6",
"typo3/cms-lowlevel": "^7.6",
"typo3/cms-opendocs": "^7.6",
"typo3/cms-recordlist": "^7.6",
"typo3/cms-recycler": "^7.6",
"typo3/cms-reports": "^7.6",
"typo3/cms-rsaauth": "^7.6",
"typo3/cms-rtehtmlarea": "^7.6",
"typo3/cms-saltedpasswords": "^7.6",
"typo3/cms-scheduler": "^7.6",
"typo3/cms-setup": "^7.6",
"typo3/cms-sv": "^7.6",
"typo3/cms-sys-action": "^7.6",
"typo3/cms-t3editor": "^7.6",
"typo3/cms-t3skin": "^7.6",
"typo3/cms-taskcenter": "^7.6",
"typo3/cms-tstemplate": "^7.6",
"typo3/cms-viewpage": "^7.6",
"typo3/cms-wizard-crpages": "^7.6",
"typo3/cms-wizard-sortpages": "^7.6",
"fluidtypo3/vhs": "^3.1",
"typo3-ter/gridelements": "7.2",
"typo3/cms": "^8.7",
"typo3/cms-backend": "^8.7",
"typo3/cms-belog": "^8.7",
"typo3/cms-beuser": "^8.7",
"typo3/cms-context-help": "^8.7",
"typo3/cms-core": "^8.7",
"typo3/cms-rte-ckeditor": "^8.7",
"typo3/cms-extbase": "^8.7",
"typo3/cms-extensionmanager": "^8.7",
"typo3/cms-felogin": "^8.7",
"typo3/cms-filelist": "^8.7",
"typo3/cms-filemetadata": "^8.7",
"typo3/cms-fluid": "^8.7",
"typo3/cms-fluid-styled-content": "^8.7",
"typo3/cms-form": "^8.7",
"typo3/cms-frontend": "^8.7",
"typo3/cms-func": "^8.7",
"typo3/cms-func-wizards": "^8.7",
"typo3/cms-info": "^8.7",
"typo3/cms-info-pagetsconfig": "^8.7",
"typo3/cms-install": "^8.7",
"typo3/cms-lang": "^8.7",
"typo3/cms-lowlevel": "^8.7",
"typo3/cms-opendocs": "^8.7",
"typo3/cms-recordlist": "^8.7",
"typo3/cms-recycler": "^8.7",
"typo3/cms-reports": "^8.7",
"typo3/cms-rsaauth": "^8.7",
"typo3/cms-saltedpasswords": "^8.7",
"typo3/cms-scheduler": "^8.7",
"typo3/cms-setup": "^8.7",
"typo3/cms-sv": "^8.7",
"typo3/cms-sys-action": "^8.7",
"typo3/cms-t3editor": "^8.7",
"typo3/cms-taskcenter": "^8.7",
"typo3/cms-tstemplate": "^8.7",
"typo3/cms-viewpage": "^8.7",
"typo3/cms-wizard-crpages": "^8.7",
"typo3/cms-wizard-sortpages": "^8.7",
"typo3-ter/media": "^4.5",
"typo3-ter/metaseo": "2.1",
"typo3-ter/ods-redirects": "^1.3",
"typo3-ter/pb-social": "^1.3",
"typo3-ter/sourceopt": "^1.0",
@@ -67,7 +61,14 @@
"symfony/serializer": "^3.3",
"league/csv": "^8.2",
"christophlehmann/imageoptimizer": "^1.1",
"smichaelsen/pagepath": "^1.1"
"smichaelsen/pagepath": "^1.1",
"georgringer/news": "^7.0",
"dmitryd/typo3-realurl": "^2.3",
"fluidtypo3/vhs": "^4.3",
"webdevops/metaseo": "3.0.0",
"helhum/typo3-console": "^4.9",
"gridelementsteam/gridelements": "^8.2",
"friendsoftypo3/form-legacy": "^8.7"
},
"scripts": {
"typo3-cms-scripts": [
Generated
+847 -470
View File
File diff suppressed because it is too large Load Diff
@@ -28,43 +28,45 @@ namespace EP\EpEvents\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ConfiguratorTypeLabelsViewHelper extends AbstractViewHelper
{
/**
* @var array
*/
protected $settings;
use CompileWithRenderStatic;
/**
* @param \TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface $configurationManager
*/
public function injectConfigurationManager(ConfigurationManagerInterface $configurationManager)
public function initializeArguments()
{
$this->settings = $configurationManager->getConfiguration(
ConfigurationManagerInterface::CONFIGURATION_TYPE_SETTINGS,
'epevents'
);
parent::initializeArguments();
$this->registerArgument('type', 'string', 'The type', true);
$this->registerArgument('values', 'string', 'The labels', true);
}
/**
* @param string $type
* @param string $values
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render($type, $values)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
if (empty($values)) {
if (empty($arguments['values'])) {
return 'Keine Angabe';
}
$types = [];
$indexes = GeneralUtility::trimExplode(',', $values);
$indexes = GeneralUtility::trimExplode(',', $arguments['values']);
$templateVariableContainer = $renderingContext->getViewHelperVariableContainer();
$settings = $templateVariableContainer['settings'];
$type = $arguments['type'];
foreach ($indexes as $index)
{
$types[] = $this->settings['configurator']['options'][$type][$index];
$types[] = $settings['configurator']['options'][$type][$index];
}
return implode(', ', $types);
}
@@ -5,7 +5,7 @@ namespace EP\EpEvents\ViewHelpers;
*
* Copyright notice
*
* (c) 2017 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
* Cedric Ziel <[email protected]>, dreipunktnull
*
* All rights reserved
@@ -28,30 +28,51 @@ namespace EP\EpEvents\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class SectionCssClassViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var array
*/
protected $cssClasses = [
protected static $cssClasses = [
1 => 'incentives',
2 => 'teambuilding',
3 => 'meetings',
4 => 'events',
];
/**
* @param string $sectionValue
*
* @return string
*/
public function render($sectionValue)
public function initializeArguments()
{
if (array_key_exists($sectionValue, $this->cssClasses)) {
return 'section-' . $this->cssClasses[$sectionValue];
parent::initializeArguments();
$this->registerArgument('sectionValue', 'string', 'The section value');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$sectionValue = $renderChildrenClosure();
if ($sectionValue === null) {
$sectionValue = $arguments['sectionValue'];
}
if (array_key_exists($sectionValue, static::$cssClasses)) {
return 'section-' . static::$cssClasses[$sectionValue];
}
return 'section-default';
}
}
@@ -5,7 +5,7 @@ namespace EP\EpEvents\ViewHelpers;
*
* Copyright notice
*
* (c) 2017 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
* Cedric Ziel <[email protected]>, dreipunktnull
*
* All rights reserved
@@ -28,31 +28,52 @@ namespace EP\EpEvents\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class SectionIconViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var array
*/
protected $icons = [
protected static $icons = [
1 => 'icon_incentives',
2 => 'icon_teambuilding',
3 => 'icon_meetings',
4 => 'icon_events',
];
/**
* @param string $sectionValue
* @param bool $opaque
*
* @return string
*/
public function render($sectionValue, $opaque = false)
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('sectionValue', 'string', 'The section value');
$this->registerArgument('opaque', 'bool', 'Whether to use opaque icon', false, false);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$sectionValue = $renderChildrenClosure();
if ($sectionValue === null) {
$sectionValue = $arguments['sectionValue'];
}
$icon = '';
if (array_key_exists($sectionValue, $this->icons)) {
$icon = $this->icons[$sectionValue];
if ($opaque) {
if (array_key_exists($sectionValue, static::$icons)) {
$icon = static::$icons[$sectionValue];
if ($arguments['opaque']) {
$icon .= '_opaque';
}
$icon .= '.svg';
@@ -60,4 +81,5 @@ class SectionIconViewHelper extends AbstractViewHelper
return $icon;
}
}
@@ -5,7 +5,7 @@ namespace EP\EpEvents\ViewHelpers;
*
* Copyright notice
*
* (c) 2017 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
* Cedric Ziel <[email protected]>, dreipunktnull
*
* All rights reserved
@@ -28,20 +28,43 @@ namespace EP\EpEvents\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class SoftHyphenViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param string $string
*
* @return string
* @var bool
*/
public function render($string = null)
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('string', 'string', 'The string to process');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$string = $renderChildrenClosure();
if ($string === null) {
$string = $this->renderChildren();
$string = $arguments['string'];
}
return str_replace('--', '&shy;', $string);
}
}
@@ -110,4 +110,16 @@ call_user_func(function() {
'EP Events'
);
// 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' => '*',
];
});
@@ -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'
);
});
@@ -53,6 +53,54 @@ call_user_func(function() {
],
];
\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(
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -32,14 +31,6 @@ return [
--palette--;;naming, keywords, bannertext,
--div--;Texte, description, footertext,
--div--;Bilder, image_teaser, image_header, image_offer',
'columnsOverrides' => [
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'footertext' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -97,34 +88,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
@@ -163,6 +158,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footertext' => [
@@ -173,6 +169,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'bannertext' => [
@@ -194,16 +191,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -220,16 +214,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -246,16 +237,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -8,9 +8,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -85,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
@@ -165,16 +168,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -30,11 +29,6 @@ return [
'1' => [
'showitem' => '--palette--;;general, --palette--;;naming, description,
--div--;Bilder, image_teaser, image_offer',
'columnsOverrides' => [
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -92,34 +86,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
@@ -148,6 +146,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_teaser' => [
@@ -159,16 +158,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -185,16 +181,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -33,23 +32,6 @@ return [
'showitem' => 'hidden, --palette--;;configurator,
name, description_short, description_long, season, footer_text1, footer_text2, footer_text3,
--div--;Bilder, image_header, image_teaser, image_offer',
'columnsOverrides' => [
'description_short' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description_long' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'footer_text1' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'footer_text2' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'footer_text3' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -106,34 +88,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'name' => [
@@ -153,6 +139,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description_long' => [
@@ -163,6 +150,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'season' => [
@@ -173,6 +161,7 @@ return [
'cols' => 40,
'rows' => 5,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_header' => [
@@ -184,16 +173,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -210,16 +196,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -236,16 +219,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -261,6 +241,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footer_text2' => [
@@ -271,6 +252,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'footer_text3' => [
@@ -281,6 +263,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'configurator_type' => [
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -37,14 +36,6 @@ return [
--palette--;;general, --palette--;;naming, headline, header, services,
--div--;Bilder, image_teaser, image_teaser_mobile, image_header,
--div--;Verknüpfungen, contact, hotel, location, activities',
'columnsOverrides' => [
'header' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'services' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
'2' => [
'showitem' => 'hidden,
@@ -52,23 +43,6 @@ return [
services, arrival, schedule, guidelines,
--div--;Bilder/Dateien, image_header, booking_form,
--div--;Verknüpfungen, contact, hotel, location, activities',
'columnsOverrides' => [
'header' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'arrival' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'schedule' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'services' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'guidelines' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -128,34 +102,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'type' => [
@@ -225,6 +203,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'arrival' => [
@@ -235,6 +214,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'schedule' => [
@@ -245,6 +225,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'services' => [
@@ -255,6 +236,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'guidelines' => [
@@ -265,6 +247,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image_teaser' => [
@@ -276,16 +259,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -302,16 +282,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -328,16 +305,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -354,16 +328,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:media.addFileReference'
],
'foreign_types' => [
'0' => [
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
\TYPO3\CMS\Core\Resource\File::FILETYPE_UNKNOWN => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
],
'maxitems' => 1
@@ -494,21 +465,7 @@ return [
'type' => 'input',
'size' => 4,
'eval' => 'int,required',
'wizards' => [
'_PADDING' => 2,
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'actions-wizard-link',
'module' => [
'name' => 'wizard_link',
],
'params' => [
'blindLinkOptions' => 'file,folder,mail,spec,url',
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
],
],
'renderType' => 'inputLink',
'softref' => 'typolink'
],
],
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -29,11 +28,6 @@ return [
'types' => [
'1' => [
'showitem' => 'hidden, client_name, client_image, quote',
'columnsOverrides' => [
'quote' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -90,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => [
@@ -138,16 +136,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -163,6 +158,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
],
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -31,11 +30,6 @@ return [
'showitem' => '--palette--;;general, --palette--;;herounit, subheadline, bannertext,
buttonlabel, description,
--div--;Bilder,image_header, image_banner',
'columnsOverrides' => [
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -93,34 +87,38 @@ return [
],
'starttime' => [
'exclude' => 1,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'title' => [
@@ -170,6 +168,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'bannertext' => [
@@ -202,16 +201,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -228,16 +224,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:cms/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -1,4 +1,4 @@
tt_content.banner =< lib.fluidContent
tt_content.banner =< lib.contentElement
tt_content.banner {
templateName = Banner
dataProcessing {
@@ -1,4 +1,4 @@
tt_content.herounit =< lib.fluidContent
tt_content.herounit =< lib.contentElement
tt_content.herounit {
templateName = Herounit
dataProcessing {
@@ -1,4 +1,4 @@
tt_content.statement =< lib.fluidContent
tt_content.statement =< lib.contentElement
tt_content.statement {
templateName = Statement
}
@@ -1,4 +1,4 @@
tt_content.tile =< lib.fluidContent
tt_content.tile =< lib.contentElement
tt_content.tile {
templateName = Tile
dataProcessing {
@@ -1,6 +1,6 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/Static/setup.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/setup.txt">
lib.fluidContent {
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
@@ -1 +0,0 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/setup.txt">
@@ -0,0 +1 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form_legacy/Configuration/TypoScript/setup.txt">
@@ -58,5 +58,5 @@ plugin.tx_epevents {
}
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/Static/constants.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/constants.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form_legacy/Configuration/TypoScript/constants.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:news/Configuration/TypoScript/constants.txt">
@@ -1,19 +1,22 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/FluidStyledContent.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/Form.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/News.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/FluidStyledContent.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/Form.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Extensions/News.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/DynamicContent.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/ParseFunc.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/SearchForm.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/Configurator.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/DynamicContent.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/ParseFunc.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/SearchForm.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Library/Configurator.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/banner.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/herounit.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/statement.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/tile.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/banner.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/herounit.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/statement.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/ContentElements/tile.typoscript">
plugin.tx_epevents {
features.skipDefaultArguments = 1
features {
requireCHashArgumentForActionArguments = 0
skipDefaultArguments = 1
}
view {
layoutRootPaths.10 = EXT:ep_events/Resources/Private/Layouts/
templateRootPaths.10 = EXT:ep_events/Resources/Private/Templates/
@@ -68,9 +71,9 @@ lib.parseFunc_RTE {
tt_content.stdWrap.innerWrap >
lib.stdheader.3.headerClass >
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Main.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Ajax.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/XMLSitemap.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Main.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/Ajax.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_events/Configuration/TypoScript/Page/XMLSitemap.typoscript">
config {
doctype = html5
@@ -90,8 +90,7 @@
extensionName: 'epevents'
pluginName: 'Configurator',
arguments: '{travelType: \'{traveltype.configuratorType -> v:or(alternative: 0)}\', locationType: \'{locationtype -> v:or(alternative: 0)}\'}',
additionalParams: '{ref: data.uid}',
noCacheHash: 1
additionalParams: '{ref: data.uid}'
)}">&raquo; Anfragen &laquo;</a>
</div>
</div>
@@ -56,9 +56,8 @@
:options-budget='{configuratorConfig.budgetOptions -> v:format.json.encode()}'
:options-period='{configuratorConfig.periodOptions -> v:format.json.encode()}'
inline-template>
<f:form id="configuratorform" object="{inquiry}" name="inquiry" noCacheHash="1"
action="processConfiguratorForm" controller="AjaxForm" pluginName="Ajax" pageType="1703"
pageUid="{settings.ajaxPageUid}">
<f:form id="configuratorform" object="{inquiry}" name="inquiry" action="processConfiguratorForm"
controller="AjaxForm" pluginName="Ajax" pageType="1703" pageUid="{settings.ajaxPageUid}">
<f:form.hidden property="travelType" additionalAttributes="{v-model: 'formData.type'}"/>
<f:form.hidden property="hotelType" additionalAttributes="{v-model: 'formData.accommodation'}"/>
<f:form.hidden property="locationType" additionalAttributes="{v-model: 'formData.destination'}"/>
@@ -10,8 +10,8 @@
<div class="content__main">
<inquiry-form inline-template>
<div class="form">
<f:form id="inquiryform" object="{inquiry}" name="inquiry" noCacheHash="1"
action="processInquiryForm" controller="AjaxForm" pluginName="Ajax" pageType="1703"
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
controller="AjaxForm" pluginName="Ajax" pageType="1703"
pageUid="{settings.ajaxPageUid}">
<div class="form__item form__item--radios">
<div class="form__field form__field--radio">
@@ -11,8 +11,8 @@
<div class="box__content">
<h3 class="headline headline--primary headline--box"><span>Ihre</span><br>Anfrage zu<br><span>{inquiry.inquiryName -> ep:softHyphen()}</span></h3>
<div class="form form--box">
<f:form id="inquiryform" object="{inquiry}" name="inquiry" noCacheHash="1"
action="processInquiryForm" controller="AjaxForm" pluginName="Ajax" pageType="1703"
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
controller="AjaxForm" pluginName="Ajax" pageType="1703"
pageUid="{settings.ajaxPageUid}">
<f:form.hidden property="travelType"/>
<f:form.hidden property="inquiryName"/>
@@ -4,8 +4,8 @@
<f:layout name="Default"/>
<f:section name="Main">
<f:form name="search" method="post" action="result" pluginName="SearchResult" object="{search}"
pageUid="{settings.searchPageUid}" noCacheHash="1" class="searchform">
<f:form name="search" method="post" controller="Search" action="result" pluginName="SearchResult"
object="{search}" pageUid="{settings.searchPageUid}" class="searchform">
<f:form.hidden property="pageUid"/>
<f:form.textfield property="query" class="searchform__input"/>
<f:form.submit value="» Suchen" class="searchform__button"/>
@@ -4,24 +4,6 @@ defined('TYPO3_MODE') or die();
call_user_func(function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'ep_events',
'Configuration/TypoScript',
'EP Events'
);
// 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' => '*',
];
// Register icons
$icons = [
'apps-pagetree-category-page' => 'EXT:ep_events/Resources/Public/images/apps-pagetree-category-page.svg',
@@ -36,52 +18,4 @@ call_user_func(function() {
);
}
\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'
);
});
@@ -43,16 +43,16 @@ class DbUtility
*
* @return Connection
*/
public static function getDbConnection($configIndex = 'DB')
public static function getDbConnection()
{
if (static::$connection === null) {
$config = new Configuration();
$connectionParams = [
'dbname' => $GLOBALS['TYPO3_CONF_VARS'][$configIndex]['database'],
'user' => $GLOBALS['TYPO3_CONF_VARS'][$configIndex]['username'],
'password' => $GLOBALS['TYPO3_CONF_VARS'][$configIndex]['password'],
'host' => $GLOBALS['TYPO3_CONF_VARS'][$configIndex]['host'],
'unix_socket' => $GLOBALS['TYPO3_CONF_VARS'][$configIndex]['socket'],
'dbname' => $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['dbname'],
'user' => $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['user'],
'password' => $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['password'],
'host' => $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['host'],
'unix_socket' => $GLOBALS['TYPO3_CONF_VARS']['DB']['Connections']['Default']['socket'],
'charset' => 'utf8',
'driver' => 'mysqli',
];
@@ -0,0 +1,5 @@
<?php
defined('TYPO3_MODE')|| die('Access denied.');
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'EP Products');
@@ -0,0 +1,259 @@
<?php
defined('TYPO3_MODE') or die();
call_user_func(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'searchbar',
'Suchschlitz'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'searchresult',
'Suchergebnis'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'product_detail',
'Produktdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'product_teasergroup',
'Produktteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'product_pricetable',
'Buchungstabelle'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'country_detail',
'Land'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'region_teasergroup',
'Gebietsteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'region_detail',
'Gebietsdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'city_teasergroup',
'Ortsteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'city_detail',
'Ortsdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'hotel_teasergroup',
'Hotelteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'hotel_teasergroup_nodate',
'Hotelteaser (terminunabhängig)'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'hotel_detail',
'Hoteldetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'hotel_detail_event',
'Hoteldetails (Event)'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'concept_teasergroup',
'Konzeptteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'concept_detail',
'Konzeptdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'snowreport_list',
'Schneehöhen'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'teammembers',
'Team'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'faq',
'FAQ'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'newsletter',
'Newsletter'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'maps',
'Übersichtskarte Hotels/Produkte'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'pricetable',
'Preistabelle'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'reseller',
'Vertriebspartner Export'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpProducts',
'watchlist',
'Merkliste'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_product_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_product_detail', 'FILE:EXT:ep_products/Configuration/FlexForms/flexform_product_detail.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_product_teasergroup'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_product_teasergroup',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_product_teaser.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_product_pricetable'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_product_pricetable',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_product_pricetable.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_country_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_country_detail',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_country.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_region_teasergroup'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_region_teasergroup',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_region_teaser.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_region_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_region_detail',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_region_detail.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_city_teasergroup'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_city_teasergroup',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_city_teaser.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_city_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_city_detail',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_city_detail.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_hotel_teasergroup'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_hotel_teasergroup',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_hotel_teaser.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_hotel_teasergroup_nodate'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_hotel_teasergroup_nodate',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_hotel_teaser_date_independent.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_hotel_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_hotel_detail',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_hotel_detail.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_hotel_detail_event'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_hotel_detail_event',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_hotel_detail_event.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_concept_detail'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_concept_detail',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_concept_detail.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_faq'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_faq',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_faq.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_maps'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_maps',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_maps.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_pricetable'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_pricetable',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_pricetable.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_snowreport_list'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_snowreport_list',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_snowreport.xml'
);
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist']['epproducts_teammembers'] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue(
'epproducts_teammembers',
'FILE:EXT:ep_products/Configuration/FlexForms/flexform_teammembers.xml'
);
});
@@ -7,9 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -20,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'headline,subline',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_badge.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, title, subtitle, link',
@@ -86,34 +85,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -140,22 +143,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_badge.link',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,headline,teaser,description,party,leisure,teaser_images,header_images, images,latitude,longitude,country,region,facts,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_city.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, detail_page, exclude_from_teasergroups, name, name_internal, headline, teaser, keywords, description, party, leisure, teaser_images, images, latitude, longitude, season, country, region, facts, officetip,header_title,header_subtitle',
@@ -29,20 +27,6 @@ return [
'types' => [
'1' => [
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;destinations, teaser, keywords, description, party, leisure, facts, officetip, --div--;Bilder/Dateien, teaser_images, header_images, images',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'party' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'leisure' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -104,34 +88,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -140,22 +128,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_city.detail_page',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'exclude_from_teasergroups' => [
@@ -222,6 +196,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'header_title' => [
@@ -250,6 +225,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'party' => [
@@ -260,6 +236,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'leisure' => [
@@ -270,6 +247,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'teaser_images' => [
@@ -281,16 +259,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -307,16 +282,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -333,16 +305,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -416,20 +385,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_fact',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -8,10 +8,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -22,7 +20,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,description,detail_page,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_concept.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, bus_pro_id, name, headline, code,
@@ -33,17 +31,6 @@ return [
'1' => [
'showitem' => '--palette--;;top, --palette--;;naming, --palette--;;header, teaser, description, description_extended,
--div--;Bilder/Dateien, teaser_images, header_images',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description_extended' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -105,34 +92,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
@@ -175,6 +166,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description_extended' => [
@@ -185,6 +177,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'teaser' => [
@@ -195,6 +188,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'headline' => [
@@ -229,22 +223,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_concept.detail_page',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'teaser_images' => [
@@ -256,16 +236,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -282,16 +259,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -9,10 +9,8 @@ return [
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => 2,
'versioning_followPages' => true,
'versioningWS' => false,
'hideTable' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -23,7 +21,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'code',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_contingent.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'date,pax,available,status,hotel,groupsch_id',
@@ -86,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -144,7 +146,8 @@ return [
'size' => 7,
'eval' => 'date,required',
'checkbox' => 0,
'default' => '0000-00-00'
'default' => '0000-00-00',
'renderType' => 'inputDateTime',
],
],
'hotel' => [
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'code,name,headline,teaser,description,teaser_images,images,latitude,longitude,facts,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_country.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, detail_page, code, name,
@@ -35,17 +33,6 @@ return [
--div--;Texte, teaser, description, description_extended,
--div--;Verknüpfungen, facts, snowreport, officetip,
--div--;Bilder/Dateien, teaser_images, header_images, images',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description_extended' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -107,34 +94,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -143,22 +134,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_country.detail_page',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'code' => [
@@ -227,6 +204,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description' => [
@@ -237,6 +215,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description_extended' => [
@@ -247,6 +226,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'header_title' => [
@@ -276,16 +256,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -302,16 +279,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -328,16 +302,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -404,20 +375,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_fact',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -7,11 +7,9 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'hideTable' => TRUE,
'dividers2tabs' => true,
'versioningWS' => false,
'hideTable' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -22,7 +20,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'bus_pro_id,code,date_start,date_end,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_date.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, bus_pro_id, hotel_bus_pro_id,
@@ -92,34 +90,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -157,7 +159,8 @@ return [
'size' => 7,
'eval' => 'date',
'checkbox' => 0,
'default' => '0000-00-00'
'default' => '0000-00-00',
'renderType' => 'inputDateTime',
],
],
'date_end' => [
@@ -169,7 +172,8 @@ return [
'size' => 7,
'eval' => 'date',
'checkbox' => 0,
'default' => '0000-00-00'
'default' => '0000-00-00',
'renderType' => 'inputDateTime',
],
],
'nights' => [
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,tags,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_fact.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, label, name, keywords',
@@ -86,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -6,10 +6,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -20,7 +18,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'question,answer,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_faq.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, label, question, answer',
@@ -28,11 +26,6 @@ return [
'types' => [
'1' => [
'showitem' => 'hidden, label, question, answer',
'columnsOverrides' => [
'answer' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -92,34 +85,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -148,7 +145,8 @@ return [
'type' => 'text',
'cols' => 40,
'rows' => 15,
'eval' => 'trim,required'
'eval' => 'trim,required',
'enableRichtext' => true,
]
],
@@ -8,10 +8,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -23,7 +21,7 @@ return [
],
'searchFields' => 'name,headline,teaser,description,features,room_types,additional_information,teaser_images,
header_images,images,reseller_images,code,type,category,country,region,city,teamer,products,external_link',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_hotel.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, detail_page, keywords,
@@ -38,23 +36,6 @@ return [
--div--;Texte, teaser, description, features, room_types, additional_information,
--div--;Verknüpfungen, facts, teamer, additional_codes,
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'features' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'room_types' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'additional_information' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -118,34 +99,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -175,22 +160,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_hotel.detail_page',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'name' => [
@@ -230,6 +201,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description' => [
@@ -240,6 +212,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'header_title' => [
@@ -268,6 +241,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'room_types' => [
@@ -278,6 +252,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'additional_information' => [
@@ -288,6 +263,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'teaser_images' => [
@@ -299,16 +275,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -325,16 +298,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -351,16 +321,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -377,16 +344,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -419,20 +383,7 @@ return [
'type' => 'input',
'size' => 30,
'eval' => 'trim',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'renderType' => 'inputLink',
],
],
'type' => [
@@ -518,20 +469,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_fact',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,by_car,by_bus,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_journey.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, by_car, by_bus, image',
@@ -29,14 +27,6 @@ return [
'types' => [
'1' => [
'showitem' => 'hidden, name, by_car, by_bus, image',
'columnsOverrides' => [
'by_car' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'by_bus' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'columns' => [
@@ -93,34 +83,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -141,6 +135,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'by_bus' => [
@@ -151,6 +146,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image' => [
@@ -162,16 +158,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1,
@@ -6,11 +6,9 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'hideTable' => TRUE,
'dividers2tabs' => true,
'versioningWS' => false,
'hideTable' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'code',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_matchcode.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'code,entity_type',
@@ -86,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'text,author,product,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_officetip.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, text, author',
@@ -86,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -8,10 +8,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -22,7 +20,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,headline',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_product.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, searchable, bookable,
@@ -42,32 +40,6 @@ return [
additional_regions, badge,
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video,
--div--;Bewertung, --palette--;;rating, testimonials',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'teaser_long' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'concept_description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'board_description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'additional_services' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'programme_description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'ski_pass_description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'testimonials' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -133,34 +105,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -190,22 +166,8 @@ return [
'label' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_product.detail_page',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'bus_pro_id' => [
@@ -289,6 +251,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'teaser_long' => [
@@ -299,6 +262,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'header_title' => [
@@ -327,6 +291,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'board_description' => [
@@ -337,6 +302,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'additional_services' => [
@@ -347,6 +313,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'programme_description' => [
@@ -357,6 +324,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'ski_pass_description' => [
@@ -367,6 +335,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'rating_average' => [
@@ -395,6 +364,7 @@ return [
'cols' => 40,
'rows' => 5,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'teaser_images' => [
@@ -406,16 +376,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -432,16 +399,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -458,16 +422,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -484,16 +445,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -577,20 +535,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_fact',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -652,20 +604,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_faq',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -712,16 +658,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,headline,teaser,ski_area,ski_pass,description,news',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_region.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, detail_page,
@@ -37,26 +35,6 @@ return [
--div--;Texte, ski_area, ski_area_extended, ski_pass, description, news,
--div--;Daten, --palette--;;dimensions,
--div--;Bilder/Dateien, teaser_images, header_images, images, region_maps',
'columnsOverrides' => [
'teaser' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'ski_area' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'ski_area_extended' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'ski_pass' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
'news' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -121,34 +99,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -157,22 +139,8 @@ return [
'label' => 'Detailseite',
'config' => [
'type' => 'input',
'size' => 4,
'eval' => 'int',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'size' => 30,
'renderType' => 'inputLink',
]
],
'exclude_from_teasergroups' => [
@@ -239,6 +207,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'header_title' => [
@@ -267,6 +236,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'ski_area_extended' => [
@@ -277,6 +247,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'ski_pass' => [
@@ -287,6 +258,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'description' => [
@@ -297,6 +269,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'news' => [
@@ -307,6 +280,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'length' => [
@@ -354,16 +328,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -380,16 +351,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -406,16 +374,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 10
@@ -432,16 +397,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 5
@@ -490,20 +452,14 @@ return [
'autoSizeMax' => 30,
'maxitems' => 9999,
'multiple' => 0,
'wizards' => [
'_VERTICAL' => 1,
'add' => [
'type' => 'script',
'title' => 'hinzufügen',
'icon' => 'actions-add',
'params' => [
'fieldControl' => [
'addRecord' => [
'disabled' => false,
'options' => [
'table' => 'tx_epproducts_domain_model_fact',
'pid' => '###PAGE_TSCONFIG_ID###',
'setValue' => 'prepend'
'setValue' => 'prepend',
],
'module' => [
'name' => 'wizard_add'
]
],
],
],
@@ -561,16 +517,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1
@@ -585,20 +538,7 @@ return [
'type' => 'input',
'size' => 32,
'eval' => 'trim',
'wizards' => [
'link' => [
'type' => 'popup',
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_link.gif',
'module' => [
'name' => 'wizard_link',
'urlParameters' => [
'mode' => 'wizard'
]
],
'JSopenParams' => 'height=300,width=500,status=0,menubar=0,scrollbars=1'
]
],
'renderType' => 'inputLink',
]
],
'award_label' => [
@@ -8,8 +8,7 @@ return [
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => true,
'versioningWS' => 2,
'versioning_followPages' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -20,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_reseller.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'name,code,pa_code,products',
@@ -83,34 +82,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => false,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,tags,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_roommapping.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, code, type',
@@ -86,34 +84,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'regionName,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_snowreport.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, vendor_uid, region_name, glacier, height_max, height_min, opened, snow_level_mountain, snow_level_valley, snow_quality, last_snowfall, lifts_total, lifts_opened, last_update, season_start, season_end, webcams',
@@ -85,34 +83,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -204,13 +206,13 @@ return [
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'renderType' => 'inputDateTime',
],
],
'lifts_total' => [
@@ -237,13 +239,13 @@ return [
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'renderType' => 'inputDateTime',
],
],
'webcams' => [
@@ -261,13 +263,13 @@ return [
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'renderType' => 'inputDateTime',
],
],
'season_end' => [
@@ -276,13 +278,13 @@ return [
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'renderType' => 'inputDateTime',
],
],
],
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,path_segment',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_product.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, path_segment,
@@ -88,34 +86,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -231,7 +233,8 @@ return [
'size' => 7,
'eval' => 'date',
'checkbox' => 0,
'default' => '0000-00-00'
'default' => '0000-00-00',
'renderType' => 'inputDateTime',
]
],
'date_to' => [
@@ -243,7 +246,8 @@ return [
'size' => 7,
'eval' => 'date',
'checkbox' => 0,
'default' => '0000-00-00'
'default' => '0000-00-00',
'renderType' => 'inputDateTime',
]
],
],
@@ -1,4 +1,10 @@
<?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'epproducts',
'tx_epproducts_domain_model_teammember'
);
return [
'ctrl' => [
'title' => 'LLL:EXT:ep_products/Resources/Private/Language/locallang.xlf:tx_epproducts_domain_model_teammember',
@@ -8,10 +14,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -22,7 +26,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name,email,',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_teammember.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, email, phone, tasks, description, image',
@@ -30,11 +34,6 @@ return [
'types' => [
'1' => [
'showitem' => 'hidden, --palette--;;top, --palette--;;contact, description, image',
'columnsOverrides' => [
'description' => [
'defaultExtras' => 'richtext[]:rte_transform[mode=ts_links]',
],
],
],
],
'palettes' => [
@@ -95,34 +94,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
@@ -175,6 +178,7 @@ return [
'cols' => 40,
'rows' => 15,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image' => [
@@ -186,16 +190,13 @@ return [
'appearance' => [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference'
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1,
@@ -7,10 +7,8 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +19,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'name',
'iconfile' => 'EXT:ep_products/Resources/Public/Icons/tx_epproducts_domain_model_webcam.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, url, vendor_uid, available, snowreport',
@@ -85,34 +83,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'date',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
@@ -6,7 +6,7 @@
<f:section name="Main">
<h1>E&amp;P Funktionen</h1>
<f:flashMessages renderMode="div" />
<f:flashMessages />
<p>
<f:link.action action="importProducts" class="btn btn-default">
<core:icon identifier="actions-refresh"/>
+4 -226
View File
@@ -1,230 +1,11 @@
<?php
if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'EP Products');
defined('TYPO3_MODE')|| die('Access denied.');
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'searchbar',
'Suchschlitz'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'searchresult',
'Suchergebnis'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'product_detail',
'Produktdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'product_teasergroup',
'Produktteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'product_pricetable',
'Buchungstabelle'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'country_detail',
'Land'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'region_teasergroup',
'Gebietsteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'region_detail',
'Gebietsdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'city_teasergroup',
'Ortsteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'city_detail',
'Ortsdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'hotel_teasergroup',
'Hotelteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'hotel_teasergroup_nodate',
'Hotelteaser (terminunabhängig)'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'hotel_detail',
'Hoteldetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'hotel_detail_event',
'Hoteldetails (Event)'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'concept_teasergroup',
'Konzeptteaser'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'concept_detail',
'Konzeptdetails'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'snowreport_list',
'Schneehöhen'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'teammembers',
'Team'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'faq',
'FAQ'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'newsletter',
'Newsletter'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'maps',
'Übersichtskarte Hotels/Produkte'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'pricetable',
'Preistabelle'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'reseller',
'Vertriebspartner Export'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.' . $_EXTKEY,
'watchlist',
'Merkliste'
);
$extensionName = strtolower(\TYPO3\CMS\Core\Utility\GeneralUtility::underscoredToUpperCamelCase($_EXTKEY));
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_product_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_product_detail.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_product_teasergroup';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_product_teaser.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_product_pricetable';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_product_pricetable.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_country_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_country.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_region_teasergroup';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_region_teaser.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_region_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_region_detail.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_city_teasergroup';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_city_teaser.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_city_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_city_detail.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_hotel_teasergroup';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_hotel_teaser.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_hotel_teasergroup_nodate';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_hotel_teaser_date_independent.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_hotel_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_hotel_detail.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_hotel_detail_event';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_hotel_detail_event.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_concept_detail';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_concept_detail.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_faq';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_faq.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_maps';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_maps.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_pricetable';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_pricetable.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_snowreport_list';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_snowreport.xml');
$pluginSignature = str_replace('_', '', $_EXTKEY) . '_teammembers';
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . $_EXTKEY . '/Configuration/FlexForms/flexform_teammembers.xml');
call_user_func(function () {
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule(
'EP.' . $_EXTKEY,
'EP.EpProducts',
'web',
'management',
'after:list',
@@ -238,7 +19,4 @@ $GLOBALS['TCA']['tt_content']['types']['list']['subtypes_addlist'][$pluginSignat
]
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::makeCategorizable(
'epproducts',
'tx_epproducts_domain_model_teammember'
);
});
@@ -79,7 +79,11 @@ class SliderProcessor implements DataProcessorInterface
foreach ($slides as $slide)
{
$processedData['slides'][$slide['uid']] = $slide;
$processedData['slides'][$slide['uid']]['image'] = $fileRepository->findByRelation('tx_eptheme_domain_model_slide', 'images', $slide['uid']);
$processedData['slides'][$slide['uid']]['image'] = $fileRepository->findByRelation(
'tx_eptheme_domain_model_slide',
'images',
$slide['uid']
);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,22 +28,39 @@ namespace EP\EpTheme\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ArgumentPrefixViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('pluginName', 'string', 'Plugin name');
$this->registerArgument('extensionName', 'string', 'Extension name');
}
/**
* @param string $pluginName
* @param string $extensionName
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render($pluginName = null, $extensionName = null)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$request = $this->controllerContext->getRequest();
$request = $renderingContext->getControllerContext()->getRequest();
$pluginName = $arguments['pluginName'];
if ($pluginName === null) {
$pluginName = $request->getPluginName();
}
$extensionName = $arguments['extensionName'];
if ($extensionName === null) {
$extensionName = $request->getControllerExtensionName();
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers\Calendar;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -32,22 +32,54 @@ use CalendR\Period\Day;
use CalendR\Period\Month;
use EP\EpProducts\Domain\Model\Contingent;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ContingentViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var bool
*/
protected $escapeOutput = false;
const LEVEL_GREEN = 1;
const LEVEL_YELLOW = 2;
const LEVEL_RED = 3;
public function render(Month $month, Day $day, Basic $events)
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('month', Month::class, 'The month', true);
$this->registerArgument('day', Day::class, 'The day', true);
$this->registerArgument('events', Basic::class, 'The calendar events', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$month = $arguments['month'];
$day = $arguments['day'];
$events = $arguments['events'];
if (!$month->includes($day)) {
return '';
}
$now = new \DateTime('now');
if ($now > $day->getBegin()) {
$class = [ 'text-muted' ];
return $this->getHtml($class, $day->format('d'));
return static::getHtml($class, $day->format('d'));
}
$contingents = $events->find($day);
if (count($contingents) === 0) {
@@ -57,7 +89,7 @@ class ContingentViewHelper extends AbstractViewHelper
$contingent = reset($contingents);
$percentage = $contingent->getPercentageAvailable();
$status = $contingent->getStatus();
$level = $this->getOccupancyLevel($percentage, $status);
$level = static::getOccupancyLevel($percentage, $status);
}
$previousDay = $day->getPrevious();
$previousContingents = $events->find($previousDay);
@@ -67,16 +99,16 @@ class ContingentViewHelper extends AbstractViewHelper
$previousContingent = reset($previousContingents);
$previousPercentage = $previousContingent->getPercentageAvailable();
$previousStatus = $previousContingent->getStatus();
$previousLevel = $this->getOccupancyLevel($previousPercentage, $previousStatus);
$previousLevel = static::getOccupancyLevel($previousPercentage, $previousStatus);
}
if ($previousLevel !== $level) {
$class = $this->getTransientLabelClasses($previousLevel, $level);
$class = static::getTransientLabelClasses($previousLevel, $level);
} else {
$class = $this->getLabelClasses($percentage, $level);
$class = static::getLabelClasses($percentage, $level);
}
return $this->getHtml($class, $day->format('d'));
return static::getHtml($class, $day->format('d'));
}
/**
@@ -85,9 +117,9 @@ class ContingentViewHelper extends AbstractViewHelper
*
* @return array
*/
protected function getLabelClasses($percentage, $level)
protected static function getLabelClasses($percentage, $level)
{
$classes = $this->getTransientLabelClasses($level);
$classes = static::getTransientLabelClasses($level);
$classes[] = 'available-' . $percentage;
return $classes;
}
@@ -98,7 +130,7 @@ class ContingentViewHelper extends AbstractViewHelper
*
* @return array
*/
protected function getTransientLabelClasses($levelFrom, $levelTo = null)
protected static function getTransientLabelClasses($levelFrom, $levelTo = null)
{
$classes = [ 'label' ];
if ($levelFrom === static::LEVEL_RED) {
@@ -125,7 +157,7 @@ class ContingentViewHelper extends AbstractViewHelper
*
* @return int
*/
protected function getOccupancyLevel($percentage, $status)
protected static function getOccupancyLevel($percentage, $status)
{
if ($percentage <= 20 || $status === Contingent::STATUS_BLOCKED) {
return static::LEVEL_RED;
@@ -141,7 +173,7 @@ class ContingentViewHelper extends AbstractViewHelper
* @param string $label
* @return string
*/
protected function getHtml(array $class, $label)
protected static function getHtml(array $class, $label)
{
$cssClass = ' class="' . implode(' ', $class) . '"';
return sprintf('<span%s>%s</span>', $cssClass, $label);
@@ -34,6 +34,7 @@ class IncludesViewHelper extends AbstractConditionViewHelper
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('range', 'object', 'Range to check against', true);
$this->registerArgument('period', 'object', 'Period to check if it is included in range', true);
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,17 +29,35 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Domain\Model\Hotel;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ComfortCategoryViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('hotel', Hotel::class, 'The hotel');
}
/**
* @param Hotel $hotel
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(Hotel $hotel)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
/** @var Hotel $hotel */
$hotel = $arguments['hotel'];
$flag = '<span class="category-flag" data-toggle="tooltip" title="%s">%s</span>';
switch ($hotel->getCategory())
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,38 +28,63 @@ namespace EP\EpTheme\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ContainerViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var bool
*/
protected $escapeOutput = false;
/**
* @var array
*/
protected $columnsWithoutContainers = [ 0, 1, 3 ];
protected static $columnsWithoutContainers = [ 0, 1, 3 ];
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('content', 'string', 'The content');
$this->registerArgument('cssClasses', 'string', 'Additional css classes');
$this->registerArgument('data', 'Array', 'The data', true);
}
/**
* @param array $data
* @param string $content
* @param string $cssClasses
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(array $data, $content = null, $cssClasses = null)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$content = $renderChildrenClosure();
if ($content === null) {
$content = $this->renderChildren();
$content = $arguments['content'];
}
$classes = [];
if (in_array($data['colPos'], $this->columnsWithoutContainers, false)) {
if (in_array($arguments['data']['colPos'], static::$columnsWithoutContainers, false)) {
$classes[] = 'container';
} else {
$classes[] = 'in-column';
}
if ($cssClasses !== null) {
$classes[] = $cssClasses;
if ($arguments['cssClasses'] !== null) {
$classes[] = $arguments['cssClasses'];
}
if (count($classes) > 0) {
return '<div class="' . implode(' ', $classes) . '">' . $content . '</div>';
}
return $content;
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,23 +28,38 @@ namespace EP\EpTheme\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ContextClassesViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('context', 'Array', 'The context', true);
}
/**
* @param array $context
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(array $context)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$classes = [];
if (isset($context['country'])) {
$classes[] = mb_strtolower($context['country']['name']);
if (isset($arguments['context']['country'])) {
$classes[] = mb_strtolower($arguments['context']['country']['name']);
}
if (isset($context['region'])) {
$classes[] = mb_strtolower($context['region']['name']);
if (isset($arguments['context']['region'])) {
$classes[] = mb_strtolower($arguments['context']['region']['name']);
}
$classesString = implode(' ', $classes);
@@ -53,5 +68,4 @@ class ContextClassesViewHelper extends AbstractViewHelper
return $classesString;
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,21 +29,40 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Utility\DateUtility;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class DateRangeViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('dateFrom', \DateTime::class, 'Date range start');
$this->registerArgument('dateTo', \DateTime::class, 'Date range end');
$this->registerArgument('includeLabel', 'Bool', 'Whether to include a label', false, true);
$this->registerArgument('format', 'String', 'The date format', false, 'd.m.Y');
}
/**
* @param \DateTime $dateFrom
* @param \DateTime $dateTo
* @param bool $includeLabel
* @param string $format
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(\DateTime $dateFrom = null, \DateTime $dateTo = null, $includeLabel = true, $format = 'd.m.Y')
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
return DateUtility::formatDateRange($dateFrom, $dateTo, $includeLabel, $format);
return DateUtility::formatDateRange(
$arguments['dateFrom'],
$arguments['dateTo'],
$arguments['includeLabel'],
$arguments['format']
);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -30,24 +30,47 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Service\FilterSettingsEncoder;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class FilterSettingsEncoderViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param string $argument
*
* @return string
* @var bool
*/
public function render($argument = null)
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('argument', 'string', 'The argument string to encode');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$argument = $renderChildrenClosure();
if ($argument === null) {
$argument = $this->renderChildren();
$argument = $arguments['argument'];
}
if ($argument === null) {
return '';
}
/** @var \EP\EpProducts\Service\FilterSettingsEncoder $encoder */
$encoder = GeneralUtility::makeInstance(FilterSettingsEncoder::class);
return $encoder->encode($argument);
return $encoder::encode($argument);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,26 +29,41 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Domain\Model\Country;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class FlagiconSourceViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('countryCode', 'string', 'Country code to return a flag icon source for.');
$this->registerArgument('country', 'object', 'Country entity to return a flag icon source for.');
$this->registerArgument('country', 'mixed', 'Country entity to return a flag icon source for.');
}
public function render()
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$code = null;
if (is_object($this->arguments['country']) && $this->arguments['country'] instanceof Country) {
if (\is_object($arguments['country']) && $arguments['country'] instanceof Country) {
/** @var \EP\EpProducts\Domain\Model\Country $country */
$country = $this->arguments['country'];
$country = $arguments['country'];
$code = strtolower($country->getCode());
} elseif (!empty($this->arguments['countryCode'])) {
$code = strtolower($this->arguments['countryCode']);
} elseif (!empty($arguments['countryCode'])) {
$code = strtolower($arguments['countryCode']);
}
if ($code !== null) {
@@ -57,5 +72,4 @@ class FlagiconSourceViewHelper extends AbstractViewHelper
return '';
}
}
@@ -1,89 +0,0 @@
<?php
namespace EP\EpTheme\ViewHelpers;
/***************************************************************
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
* This script is part of the TYPO3 project. The TYPO3 project is
* free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
*
* This script is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Domain\Model\Hotel;
use EP\EpProducts\Domain\Model\Region;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
class GmapsStaticMapViewHelper extends AbstractViewHelper
{
const URLBASE = '%s&center=%s,%s&zoom=%d&size=%dx%d';
/**
* @var ConfigurationManagerInterface
*/
protected $configurationManager;
/**
* @var array
*/
protected $settings = [];
/**
* @param ConfigurationManagerInterface $manager
* @return void
*/
public function injectConfigurationManager(ConfigurationManagerInterface $manager)
{
$this->configurationManager = $manager;
$settings = GeneralUtility::removeDotsFromTS(
$this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT)
);
$this->settings = $settings['plugin']['tx_eptheme']['settings'];
}
/**
* @param Hotel $hotel
* @param Region $region
* @param int $zoom
* @param int $width
* @param int $height
*
* @return string
*/
public function render(Hotel $hotel = null, Region $region = null, $zoom = 10, $width = 0, $height = 0)
{
if ($hotel !== null && $hotel->getLatitude() && $hotel->getLongitude()) {
$source = $hotel;
} elseif ($hotel !== null && $hotel->getRegion()->getLatitude() && $hotel->getRegion()->getLongitude()) {
$source = $hotel->getRegion();
} elseif ($region !== null) {
$source = $region;
} else {
return '';
}
$staticMapsBaseUrl = $this->settings['googleStaticMapsBaseUrl'];
$url = sprintf(static::URLBASE, $staticMapsBaseUrl, $source->getLatitude(), $source->getLongitude(), $zoom, $width, $height);
$tag = sprintf('<img class="scale" src="%s" alt="%s" title="%s"/>', $url, $source->getName(), $source->getName());
return $tag;
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -30,21 +30,44 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Domain\Model\Hotel;
use EP\EpProducts\Domain\Model\Region;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class GmapsUrlViewHelper extends AbstractViewHelper
{
const URLBASE = 'http://maps.google.com/maps?q=%s,%s&t=%s&z=%d';
use CompileWithRenderStatic;
/**
* @param Hotel $hotel
* @param Region $region
* @param string $type
* @param int $zoom
*
* @return string
* @var bool
*/
public function render(Hotel $hotel = null, Region $region = null, $type = 'p', $zoom = 10)
protected $escapeOutput = false;
const URLBASE = 'http://maps.google.com/maps?q=%s,%s&t=%s&z=%d';
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('hotel', Hotel::class, 'The hotel');
$this->registerArgument('region', Region::class, 'The region');
$this->registerArgument('type', 'string', 'The map type', false, 'p');
$this->registerArgument('zoom', 'int', 'The zoom level', false, 10);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$hotel = $arguments['hotel'];
$region = $arguments['region'];
if ($hotel !== null && $hotel->getLatitude() && $hotel->getLongitude()) {
$source = $hotel;
} elseif ($hotel !== null && $hotel->getRegion()->getLatitude() && $hotel->getRegion()->getLongitude()) {
@@ -54,6 +77,7 @@ class GmapsUrlViewHelper extends AbstractViewHelper
} else {
return 'http://www.google.de/maps';
}
return sprintf(static::URLBASE, $source->getLatitude(), $source->getLongitude(), $type, $zoom);
return sprintf(static::URLBASE, $source->getLatitude(), $source->getLongitude(), $arguments['type'], $arguments['zoom']);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -27,19 +27,35 @@ namespace EP\EpTheme\ViewHelpers;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use EP\EpProducts\Domain\Model\Hotel;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class HotelCategoriesViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('categories', 'array', 'The categories', true);
}
/**
* @param array $categories
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render($categories)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$categories = $arguments['categories'];
switch (count($categories)) {
case 1:
$label = reset($categories);
@@ -52,4 +68,5 @@ class HotelCategoriesViewHelper extends AbstractViewHelper
return $label;
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,9 +29,13 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Domain\Model\Hotel;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class HotelCategoryViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var array
*/
@@ -42,13 +46,28 @@ class HotelCategoryViewHelper extends AbstractViewHelper
Hotel::CATEGORY_SUPER_DELUXE => 'Super Deluxe',
];
/**
* @param int $category
*
* @return string
*/
public function render($category)
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('category', 'int', 'The category id', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$category = $arguments['category'];
return static::$categoryLabels[$category];
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,17 +28,33 @@ namespace EP\EpTheme\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class NightsOptionsViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('options', 'array', 'The options');
}
/**
* @param array $options
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(array $options = null)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$options = $arguments['options'];
if ($options === null) {
return '';
}
@@ -54,6 +70,7 @@ class NightsOptionsViewHelper extends AbstractViewHelper
$output = $lastOption;
}
$output .= (int) $lastOption > 1 ? ' Nächte' : ' Nacht';
return $output;
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,17 +29,41 @@ namespace EP\EpTheme\ViewHelpers;
use EP\EpProducts\Domain\Model\Product;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class RatingViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param Product $product
*
* @return string
* @var bool
*/
public function render(Product $product)
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('product', Product::class, 'The product', true);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$product = $renderChildrenClosure();
if ($product === null) {
$product = $arguments['product'];
}
$ratingAverage = $product->getRatingAverage();
$ratingVotesCount = $product->getRatingVotesCount();
$fullStars = floor($ratingAverage);
@@ -55,6 +79,7 @@ class RatingViewHelper extends AbstractViewHelper
$content .= '<i class="fa fa-star-half-o" aria-hidden="true"></i>';
}
$content .= sprintf('%s Sterne (%d)', $ratingAverageLabel, $ratingVotesCount);
return $content;
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,27 +28,48 @@ namespace EP\EpTheme\ViewHelpers;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class TopnavItemViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param string $item
*
* @return string
* @var bool
*/
public function render($item = null)
protected $escapeOutput = false;
public function initializeArguments()
{
if ($item === null) {
$item = $this->renderChildren();
parent::initializeArguments();
$this->registerArgument('item', 'string', 'The navigation item');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$item = $renderChildrenClosure();
if ($item === null) {
$item = $arguments['item'];
}
$parts = explode(' ', $item);
if (count($parts) === 1) {
return $item;
}
$hiddenMobileText = array_shift($parts);
$linkText = implode(' ', $parts);
return '<span class="hidden-md">' . $hiddenMobileText . '</span> ' . $linkText;
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers\Uri;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -27,9 +27,8 @@ namespace EP\EpTheme\ViewHelpers\Uri;
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Fluid\ViewHelpers\Uri\ActionViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
class AjaxViewHelper extends ActionViewHelper
{
@@ -37,58 +36,40 @@ class AjaxViewHelper extends ActionViewHelper
const PAGE_TYPE_JSON = 1701;
const PAGE_TYPE_HTML = 1702;
/**
* @var array
*/
protected $settings;
/**
* @param ConfigurationManagerInterface $manager
*/
public function injectConfigurationManager(ConfigurationManagerInterface $manager)
public function initializeArguments()
{
$configurationManager = $manager;
$settings = GeneralUtility::removeDotsFromTS($configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT));
$this->settings = $settings['plugin']['tx_eptheme']['settings'];
parent::initializeArguments();
$this->overrideArgument('extensionName', 'string', 'Target extension name', false, 'epproducts');
$this->overrideArgument('pluginName', 'string', 'Target plugin name', false, 'Ajax');
$this->overrideArgument('format', 'string', 'The requested format', false, 'json');
}
/**
* @param string $action Target action
* @param array $arguments Arguments
* @param string $controller Target controller. If NULL current controllerName is used
* @param string $extensionName Target Extension Name (without "tx_" prefix and no underscores). If NULL the current extension name is used
* @param string $pluginName Target plugin. If empty, the current plugin name is used
* @param int $pageUid target page. See TypoLink destination
* @param int $pageType type of the target page. See typolink.parameter
* @param bool $noCache set this to disable caching for the target page. You should not need this.
* @param bool $noCacheHash set this to suppress the cHash query parameter created by TypoLink. You should not need this.
* @param string $section the anchor to be added to the URI
* @param string $format The requested format, e.g. ".html
* @param bool $linkAccessRestrictedPages If set, links pointing to access restricted pages will still link to the page even though the page cannot be accessed.
* @param array $additionalParams additional query parameters that won't be prefixed like $arguments (overrule $arguments)
* @param bool $absolute If set, an absolute URI is rendered
* @param bool $addQueryString If set, the current query parameters will be kept in the URI
* @param array $argumentsToBeExcludedFromQueryString arguments to be removed from the URI. Only active if $addQueryString = TRUE
* @param string $addQueryStringMethod Set which parameters will be kept. Only active if $addQueryString = TRUE
*
* @return string Rendered link
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return string
*/
public function render($action = null, array $arguments = array(), $controller = null, $extensionName = 'epproducts', $pluginName = 'Ajax', $pageUid = null, $pageType = 0, $noCache = false, $noCacheHash = true, $section = '', $format = 'json', $linkAccessRestrictedPages = false, array $additionalParams = array(), $absolute = false, $addQueryString = false, array $argumentsToBeExcludedFromQueryString = array(), $addQueryStringMethod = null)
public static function renderStatic
(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
if (array_key_exists('defaultAjaxUid', $this->settings)) {
$pageUid = $this->settings['defaultAjaxUid'];
}
if (strtolower(trim($format)) === 'json') {
$pageType = self::PAGE_TYPE_JSON;
if (strtolower(trim($arguments['format'])) === 'json') {
$arguments['pageType'] = self::PAGE_TYPE_JSON;
} else {
$pageType = self::PAGE_TYPE_HTML;
$arguments['pageType'] = self::PAGE_TYPE_HTML;
}
if ($pageUid === null) {
if ($arguments['pageUid'] === null) {
$rootLine = $GLOBALS['TSFE']->sys_page->getRootLine($GLOBALS['TSFE']->id);
$rootPage = array_pop($rootLine);
$pageUid = $rootPage['uid'];
$arguments['pageUid'] = $rootPage['uid'];
}
return parent::render($action, $arguments, $controller, $extensionName, $pluginName, $pageUid, $pageType, $noCache, $noCacheHash, $section, '', $linkAccessRestrictedPages, $additionalParams, $absolute, $addQueryString, $argumentsToBeExcludedFromQueryString, $addQueryStringMethod);
return parent::renderStatic($arguments, $renderChildrenClosure, $renderingContext);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers\Uri;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -31,47 +31,62 @@ use EP\EpProducts\Utility\BookingUrlUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class BookingViewHelper extends AbstractViewHelper
{
/**
* @var ConfigurationManagerInterface
*/
protected $configurationManager;
use CompileWithRenderStatic;
/**
* @var array
*/
protected $settings = [];
protected static $settings = [];
/**
* @param ConfigurationManagerInterface $manager
* @return void
* @param ConfigurationManagerInterface $configurationManager
*/
public function injectConfigurationManager(ConfigurationManagerInterface $manager)
public function __construct(ConfigurationManagerInterface $configurationManager)
{
$this->configurationManager = $manager;
$settings = GeneralUtility::removeDotsFromTS($this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT));
$this->settings = $settings['plugin']['tx_theme'];
$settings = GeneralUtility::removeDotsFromTS(
$configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT)
);
static::$settings = $settings['plugin']['tx_theme'];
}
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('bookingId', 'string', 'The booking id', true);
$this->registerArgument('hotelId', 'string', 'The hotel id', true);
$this->registerArgument('template', 'string', 'The booking template');
}
/**
* @param int $bookingId
* @param int $hotelId
* @param string $template
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render($bookingId, $hotelId, $template = null)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$template = $arguments['template'];
if ($template === null) {
$template = $this->settings['bpnBookingUrlTemplateCode'];
$template = static::$settings['bpnBookungUrlTemplateCode'];
}
$options = [
'bookingId' => $bookingId,
'hotelId' => $hotelId,
'bookingId' => $arguments['bookingId'],
'hotelId' => $arguments['hotelId'],
'template' => $template,
];
return BookingUrlUtility::generateUrl($options);
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers\Uri;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -28,18 +28,44 @@ namespace EP\EpTheme\ViewHelpers\Uri;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ExternalImageViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param string $url
*
* @return string
* @var bool
*/
public function render($url)
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('url', 'string', 'The url');
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$url = $renderChildrenClosure();
if ($url === null) {
$url = $arguments['url'];
}
$encryptionKey = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'];
$token = sha1($url . $encryptionKey);
return 'https://www.ep-reisen.de/typo3conf/ext/ep_theme/extimg.php?url=' . urlencode($url) . '&token=' . $token;
}
}
@@ -6,7 +6,7 @@ namespace EP\EpTheme\ViewHelpers\Uri;
*
* Copyright notice
*
* (c) 2016 Björn Fromme <[email protected]>, dreipunktnull
* (c) 2018 Björn Fromme <[email protected]>, dreipunktnull
*
* All rights reserved
*
@@ -29,71 +29,66 @@ namespace EP\EpTheme\ViewHelpers\Uri;
use EP\EpProducts\Domain\Model\Hotel;
use EP\EpProducts\Domain\Model\Product;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Extbase\Configuration\ConfigurationManagerInterface;
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class ProductViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @var ConfigurationManagerInterface
*/
protected $configurationManager;
/**
* @var array
*/
protected $settings = [];
/**
* @param ConfigurationManagerInterface $manager
* @return void
*/
public function injectConfigurationManager(ConfigurationManagerInterface $manager)
public function initializeArgument()
{
$this->configurationManager = $manager;
$settings = GeneralUtility::removeDotsFromTS($this->configurationManager->getConfiguration(ConfigurationManagerInterface::CONFIGURATION_TYPE_FULL_TYPOSCRIPT));
$this->settings = $settings['plugin']['tx_epproducts'];
parent::initializeArguments();
$this->registerArgument('product', Product::class, 'The product', true);
$this->registerArgument('hotel', Hotel::class, 'The hotel');
$this->registerArgument('linkHotel', 'bool', 'Whether to link the hotel', false, false);
$this->registerArgument('referringPageUid', 'int', 'Uid of the referring page');
$this->registerArgument('defaultDetailPageUid', 'int', 'Uid of default page for product details');
$this->registerArgument('origin', 'string', 'Origin of the link');
}
/**
* @param Product $product
* @param Hotel|null $hotel
* @param bool $linkHotel
* @param int $referringPageUid
* @param string $origin
*
* @return string
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public function render(Product $product, Hotel $hotel = null, $linkHotel = false, $referringPageUid = null, $origin = null)
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
$product = $arguments['product'];
if ($product->getDetailPage()) {
return $this
->controllerContext
return $renderingContext
->getControllerContext()
->getUriBuilder()
->reset()
->setTargetPageUid($product->getDetailPage())
->build()
;
}
$pageUid = $this->settings['defaultDetailPageUid'];
$arguments = [ 'product' => $product ];
if ((int) $referringPageUid > 0) {
$arguments['referringPageUid'] = $referringPageUid;
$pageUid = $arguments['defaultDetailPageUid'];
$uriArguments = [ 'product' => $product ];
if ((int) $arguments['referringPageUid'] > 0) {
$uriArguments['referringPageUid'] = $arguments['referringPageUid'];
}
if ($origin !== null) {
$arguments['origin'] = $origin;
if ($arguments['origin'] !== null) {
$uriArguments['origin'] = $arguments['origin'];
}
if ((bool) $linkHotel && $hotel !== null) {
$arguments['hotel'] = $hotel;
if ((bool) $arguments['linkHotel'] && $arguments['hotel'] !== null) {
$uriArguments['hotel'] = $arguments['hotel'];
}
return $this
->controllerContext
return $renderingContext
->getControllerContext()
->getUriBuilder()
->reset()
->setTargetPageUid($pageUid)
->uriFor('detail', $arguments, 'Product', 'epproducts', 'product_detail')
->uriFor('detail', $uriArguments, 'Product', 'epproducts', 'product_detail')
;
}
@@ -28,24 +28,48 @@ namespace EP\EpTheme\ViewHelpers\Uri;
***************************************************************/
use TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper;
use TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface;
use TYPO3Fluid\Fluid\Core\ViewHelper\Traits\CompileWithRenderStatic;
class VideoViewHelper extends AbstractViewHelper
{
use CompileWithRenderStatic;
/**
* @param string $value
* @param int $layout
* @return string
* @var bool
*/
public function render($value, $layout = 1)
protected $escapeOutput = false;
public function initializeArguments()
{
parent::initializeArguments();
$this->registerArgument('value', 'string', 'The video url', true);
$this->registerArgument('layout', 'int', 'The layout', false, 1);
}
/**
* @param array $arguments
* @param \Closure $renderChildrenClosure
* @param RenderingContextInterface $renderingContext
* @return mixed
*/
public static function renderStatic(
array $arguments,
\Closure $renderChildrenClosure,
RenderingContextInterface $renderingContext
)
{
// YouTube
if ((int) $layout === 0) {
return $value . '?rel=0&amp;controls=0&amp;showinfo=0';
if ((int) $arguments['layout'] === 0) {
return $arguments['value'] . '?rel=0&amp;controls=0&amp;showinfo=0';
}
// Vimeo
if ((int) $layout === 1) {
return sprintf('https://player.vimeo.com/video/%d?html5=1', $value);
if ((int) $arguments['layout'] === 1) {
return sprintf('https://player.vimeo.com/video/%d?html5=1', $arguments['value']);
}
return '';
}
}
@@ -1,5 +1,5 @@
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Mod/WebLayout/BackendLayouts.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Mod/Wizards/NewContentElement.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Extensions/GridElements.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/RTE.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/TCEFORM.ts">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Mod/WebLayout/BackendLayouts.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Mod/Wizards/NewContentElement.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/Extensions/GridElements.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/RTE.tsconfig">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:ep_theme/Configuration/PageTS/TCEFORM.tsconfig">
@@ -1,46 +1,50 @@
mod {
wizards.newContentElement.wizardItems {
common.show := removeFromList(table,bullets,uploads)
menu.show := removeFromList(menu_abstract,menu_categorized_content,menu_categorized_pages,menu_recently_updated,menu_related_pages,menu_section_pages,menu_sitemap,menu_sitemap_pages)
special.show = div,shortcut,html
forms.show =
teaser {
header = Teaser
elements {
teaser {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser allgemein
description = Teaser mit konfigurierbarem Kontext
tt_content_defValues.CType = teaser
}
teaser_country {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Land
description = Teaser für ein auswählbares Land
tt_content_defValues.CType = teaser_country
}
teaser_region {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Gebiet
description = Teaser für ein auswählbares Gebiet
tt_content_defValues.CType = teaser_region
}
teaser_city {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Ort
description = Teaser für einen auswählbaren Ort
tt_content_defValues.CType = teaser_city
}
teaser_hotel {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Hotel
description = Teaser für ein auswählbares Hotel
tt_content_defValues.CType = teaser_hotel
}
teaser_concept {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Konzept
description = Teaser für ein auswählbares Konzept
tt_content_defValues.CType = teaser_concept
}
teaser_product {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Teaser Produkt
description = Teaser für ein auswählbares Produkt
tt_content_defValues.CType = teaser_product
@@ -52,13 +56,13 @@ mod {
header = Störer
elements {
disturber {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Störer
description = Störer mit Bild, mehreren Buttons und Kontaktinfo
tt_content_defValues.CType = disturber
}
deal_of_the_week {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Deal der Woche
description = Störer 'Deal der Woche' mit link auf Produkt
tt_content_defValues.CType = deal_of_the_week
@@ -69,19 +73,19 @@ mod {
special {
elements {
lineup {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Lineup
description = Links/rechts alternierende Boxen
tt_content_defValues.CType = lineup
}
event_pricetable {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Event Preistabelle
description = Preistabelle nach Verfügbarkeit
tt_content_defValues.CType = event_pricetable
}
nlform {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Newsletter Anmeldung
description = Anmeldeformular
tt_content_defValues.CType = nlform
@@ -92,31 +96,31 @@ mod {
common {
elements {
gmap {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Google Map
description = Google Map für Hotel oder Gebiet
tt_content_defValues.CType = gmap
}
contact {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Ansprechpartner
description = Kontaktbox mit Ansprechpartner für Sidebar
tt_content_defValues.CType = contact
}
calendar {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Belegungskalender
description = Belegungskalender zu einem ausgewählten Vertragspartner
tt_content_defValues.CType = calendar
}
ytvideo {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = YouTube Video
description = Responsiv eingebettetes Video
tt_content_defValues.CType = ytvideo
}
button {
iconIdentifier = content-image
iconIdentifier = content-ep_theme-ce
title = Button
description = Button mit Referrer Übertragung
tt_content_defValues.CType = button
@@ -1,42 +0,0 @@
RTE {
default {
contentCSS = EXT:ep_theme/Resources/Public/css/rte.min.css
showButtons (
blockstylelabel, blockstyle, textstylelabel, textstyle, linebreak,
formatblock, bar, bold, italic, bar, orderedlist, unorderedlist,
indent, bar, link, unlink, removeformat, linebreak,
table, toggleborders, tableproperties, rowproperties, rowinsertabove,
rowinsertunder, rowdelete, rowsplit, columninsertbefore, columninsertafter,
columndelete, columnsplit, cellproperties, cellinsertbefore, cellinsertafter,
celldelete, cellsplit, cellmerge, image, insertcharacter, chMode, pastetoggle
)
keepButtonGroupTogether = 1
proc {
allowedClasses =
entryHTMLparser_db {
tags {
span.fixAttrib.style.unset = 1
span.rmTagIfNoAttrib = 1
}
}
}
buttons {
formatblock.removeItems = h1,h6,section,div,footer,header,nav,aside,blockquote,pre,address,article
link.properties.class.allowedClasses =
pastetoggle.setActiveOnRteOpen = 1
link.properties.class.allowedClasses = button,button--full
}
}
classes {
button {
name = Button
}
button--full {
name = Button (volle Breite)
requires = button
}
}
}
@@ -0,0 +1,16 @@
RTE {
config {
tt_content {
bodytext {
types {
text {
preset = dpn
}
textmedia {
preset = dpn
}
}
}
}
}
}
@@ -0,0 +1,35 @@
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_theme/Resources/Public/css/rte.css"
stylesSet:
- { name: "Button", element: "a", attributes: { 'class': 'button' } }
- { name: "Button (volle Breite)", element: "a", attributes: { 'class': 'button button--full' } }
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
@@ -1,20 +1,58 @@
<?php
$GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config'] = [
'type' => 'imageManipulation',
'allowedExtensions' => 'jpg',
'ratios' => [
'1.3333333333333334' => 'EP Reisen: Teaser gerade',
'2.0555555555555556' => 'EP Reisen: Teaser ungerade',
'2.3333333333333334' => 'EP Reisen: Header groß',
'3.3333333333333334' => 'EP Reisen: Header klein',
'1.59' => 'EP Reisen: Content Slider',
'1.79069767' => 'EP Reisen: Content Slider Produkttexte',
'1.625' => 'EP Reisen: Slider Produkt Header',
'1' => 'EP Events: Teaser Slider Desktop',
'1.7857' => 'EP Events: Teaser Slider Mobile',
'2.0571' => 'EP Events: Header groß',
'2.63333333333333' => 'EP Events: Header Beispielangebot',
'NaN' => 'Free',
$GLOBALS['TCA']['sys_file_reference']['columns']['crop']['config']['cropVariants'] = [
'default' => [
'title' => 'Default',
'allowedAspectRatios' => [
'teaserEven' => [
'title' => 'EP Reisen: Teaser gerade',
'value' => 1.3333333333333334,
],
'teaserOdd' => [
'title' => 'EP Reisen: Teaser ungerade',
'value' => 2.0555555555555556,
],
'headerLarge' => [
'title' => 'EP Reisen: Header groß',
'value' => 2.3333333333333334,
],
'headerSmall' => [
'title' => 'EP Reisen: Header klein',
'value' => 3.3333333333333334,
],
'contentSlider' => [
'title' => 'EP Reisen: Content Slider',
'value' => 1.59,
],
'contentSliderProduct' => [
'title' => 'EP Reisen: Content Slider Produkttexte',
'value' => 1.79069767,
],
'sliderProductHeader' => [
'title' => 'EP Reisen: Slider Produkt Header',
'value' => 1.625,
],
'epEventsTeaserSliderDesktop' => [
'title' => 'EP Events: Teaser Slider Desktop',
'value' => 1,
],
'epEventsTeaserSliderMobile' => [
'title' => 'EP Events: Teaser Slider Mobile',
'value' => 1.7857
],
'epEventsHeaderLarge' => [
'title' => 'EP Events: Header groß',
'value' => 2.0571,
],
'epEventsHeaderOffer' => [
'title' => 'EP Events: Header Beispielangebot',
'value' => 2.63333333333333,
],
'free' => [
'title' => 'Frei',
'value' => 'NaN',
],
],
],
];
@@ -2,8 +2,12 @@
defined('TYPO3_MODE') or die();
call_user_func(function () {
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile(
'ep_theme',
'Configuration/TypoScript',
'EP Theme'
);
});
@@ -3,6 +3,7 @@
defined('TYPO3_MODE') or die();
call_user_func(function () {
$ttContentColumns = [
'tx_eptheme_context_country' => [
'exclude' => 0,
@@ -101,6 +102,7 @@ call_user_func(function() {
'type' => 'input',
'size' => 12,
'eval' => 'date',
'renderType' => 'inputDateTime',
]
],
'tx_eptheme_context_date_to' => [
@@ -110,6 +112,7 @@ call_user_func(function() {
'type' => 'input',
'size' => 12,
'eval' => 'date',
'renderType' => 'inputDateTime',
]
],
'button' => [
@@ -166,4 +169,16 @@ call_user_func(function() {
'after:header_layout'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpTheme',
'SimpleForm',
'Kurzformular'
);
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
'EP.EpTheme',
'FullForm',
'Anfrageformular Gruppen'
);
});
@@ -44,7 +44,9 @@ call_user_func(function() {
'columnsOverrides' => [
'bodytext' => [
'label' => 'Text',
'defaultExtras' => 'richtext:rte_transform[mode=ts_css]'
'config' => [
'enableRichtext' => true,
]
],
'assets' => [
'label' => 'Bild',
@@ -106,7 +106,9 @@ call_user_func(function() {
'columnsOverrides' => [
'bodytext' => [
'label' => 'Teasertext',
'defaultExtras' => 'richtext:rte_transform[mode=ts_css]'
'config' => [
'enableRichtext' => true,
],
],
'header' => [
'config' => [
@@ -7,10 +7,9 @@ return [
'tstamp' => 'tstamp',
'crdate' => 'crdate',
'cruser_id' => 'cruser_id',
'dividers2tabs' => TRUE,
'versioningWS' => 2,
'versioning_followPages' => TRUE,
'hideTable' => TRUE,
'dividers2tabs' => true,
'versioningWS' => true,
'hideTable' => true,
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'transOrigDiffSourceField' => 'l10n_diffsource',
@@ -21,7 +20,7 @@ return [
'endtime' => 'endtime',
],
'searchFields' => 'headline,subline',
'iconfile' => 'EXT:ep_theme/Resources/Public/images/tx_eptheme_domain_model_lineup.gif'
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, name, description, image,
@@ -30,11 +29,6 @@ return [
'types' => [
'1' => [
'showitem' => 'hidden, name, description, image, --palette--;;social',
'columnsOverrides' => [
'description' => [
'defaultExtras' => 'richtext[]',
],
],
],
],
'palettes' => [
@@ -94,34 +88,38 @@ return [
],
'starttime' => [
'exclude' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.starttime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'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' => 0,
'l10n_mode' => 'mergeIfNotBlank',
'label' => 'LLL:EXT:lang/locallang_general.xlf:LGL.endtime',
'config' => [
'type' => 'input',
'size' => 13,
'max' => 20,
'eval' => 'datetime',
'checkbox' => 0,
'default' => 0,
'range' => [
'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y'))
],
'behaviour' => [
'allowLanguageSynchronization' => true,
],
'renderType' => 'inputDateTime',
],
],
'sorting' => [
@@ -147,6 +145,7 @@ return [
'cols' => 40,
'rows' => 10,
'eval' => 'trim',
'enableRichtext' => true,
],
],
'image' => [
@@ -159,16 +158,13 @@ return [
'createNewRelationLinkTitle' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:images.addFileReference',
'useSortable' => false,
],
'foreign_types' => [
'0' => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
],
'overrideChildTca' => [
'types' => [
\TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
'showitem' => '
--palette--;LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
--palette--;;filePalette'
--palette--;;filePalette',
],
],
],
'maxitems' => 1

Some files were not shown because too many files have changed in this diff Show More