Implement teaser for booking links

This commit is contained in:
Björn Fromme
2019-10-11 22:08:31 +02:00
parent 11363b85bf
commit f241fcba9b
11 changed files with 85 additions and 12 deletions
@@ -89,6 +89,18 @@ call_user_func(function() {
'after'
);
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItem(
'tt_content',
'CType',
[
'Teaser Buchungslink',
'teaser_booking_link',
'content-image'
],
'teaser_concept',
'after'
);
$GLOBALS['TCA']['tt_content']['types']['teaser'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
@@ -229,4 +241,16 @@ call_user_func(function() {
',
];
$GLOBALS['TCA']['tt_content']['types']['teaser_booking_link'] = [
'showitem' => '
--palette--;' . $frontendLanguageFilePrefix . 'palette.general;general,
--palette--;Kontext, tx_eptheme_context_product,
--div--;' . $frontendLanguageFilePrefix . 'tabs.appearance,
layout;' . $frontendLanguageFilePrefix . 'layout_formlabel,
--div--;' . $frontendLanguageFilePrefix . 'tabs.access,
hidden;' . $frontendLanguageFilePrefix . 'field.default.hidden,
--div--;' . $frontendLanguageFilePrefix . 'tabs.extended
',
];
});