Extend and reorganize product tca

This commit is contained in:
Björn Fromme
2021-09-01 16:38:28 +02:00
parent c25bd8f1c8
commit 3c65dfa64f
@@ -23,22 +23,21 @@ return [
'iconfile' => 'EXT:ep_theme/Resources/Public/images/icon_ce.svg',
],
'interface' => [
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, searchable, bookable,
season, detail_page, name, name_internal, subline, keywords, headline, code, feature, bus_pro_id, teaser,
teaser_long, concept_description, board_description, additional_services, programme_description,
ski_pass_description, rating_average, rating_votes_count, teaser_images, header_images, images, concept,
country, region, city, journey, facts, officetip, hotels, calendar_hotel, faqs,header_title,header_subtitle,
alt_product, alt_label, video, banner, additional_regions, badge, daytrip, testimonials, external_link,
'showRecordFieldList' => 'sys_language_uid, l10n_parent, l10n_diffsource, hidden, searchable, bookable,
season, detail_page, name, name_internal, subline, keywords, headline, code, feature, bus_pro_id, teaser,
teaser_long, concept_description, board_description, additional_services, programme_description,
ski_pass_description, rating_average, rating_votes_count, teaser_images, header_images, images, concept,
country, region, city, journey, facts, officetip, hotels, calendar_hotel, faqs,header_title,header_subtitle,
alt_product, alt_label, video, banner, additional_regions, badge, daytrip, testimonials, external_link,
path_segment, hide_booking_button,non_bookable_dates',
],
'types' => [
'1' => [
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header,
--palette--;;destinations, keywords, feature, --palette--;Alternative;alternative,
--div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services,
'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;header,
--palette--;;destinations, --palette--;;misc, --palette--;Alternative;alternative,
--div--;Texte, teaser, teaser_long, concept_description, board_description, additional_services,
programme_description, ski_pass_description,
--div--;Verknüpfungen, journey, --palette--;;concept, hotels, facts, faqs, officetip,
additional_regions, badge,
--div--;Verknüpfungen, --palette--;;records, hotels, facts, faqs, additional_regions,
--div--;Bilder/Dateien, teaser_images, header_images, images, reseller_images, banner, video,
--div--;Bewertung, --palette--;;rating, testimonials,
--div--;Buchbarkeit, non_bookable_dates',
@@ -46,13 +45,14 @@ return [
],
'palettes' => [
'destinations' => ['showitem' => 'country,region,city'],
'top' => ['showitem' => 'searchable, bookable, hide_booking_button, daytrip, important, skipass_included,
'top' => ['showitem' => 'searchable, bookable, hide_booking_button, daytrip, important, skipass_included,
season, detail_page, external_link, path_segment'],
'name' => ['showitem' => 'name,code'],
'alternative' => ['showitem' => 'alt_product, alt_label'],
'header' => ['showitem' => 'headline,subline,--linebreak--,header_title,header_subtitle'],
'rating' => ['showitem' => 'rating_average,rating_votes_count'],
'concept' => ['showitem' => 'concept,calendar_hotel'],
'header' => ['showitem' => 'headline, subline, --linebreak--, header_title, header_subtitle'],
'rating' => ['showitem' => 'rating_average, rating_votes_count'],
'records' => ['showitem' => 'journey, concept, calendar_hotel, officetip, badge'],
'misc' => ['showitem' => 'feature,keywords'],
],
'columns' => [
@@ -239,11 +239,12 @@ return [
],
'keywords' => [
'exclude' => 0,
'label' => 'Keywords für Suchschlitz',
'label' => 'Keywords',
'description' => 'für Suchschlitz (veraltet)',
'config' => [
'type' => 'text',
'cols' => 40,
'rows' => 3,
'rows' => 2,
'eval' => 'trim',
],
],
@@ -267,10 +268,12 @@ return [
],
'feature' => [
'exclude' => 0,
'label' => 'Leistung für Teaser',
'label' => 'Leistungen',
'description' => 'für Teaser, max 2',
'config' => [
'type' => 'input',
'size' => 30,
'type' => 'text',
'cols' => 30,
'rows' => 2,
'eval' => 'trim'
],
],