diff --git a/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php b/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
index 54b8dc6f..35413e05 100644
--- a/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
+++ b/public/typo3conf/ext/ep_products/Classes/Domain/Model/AbstractDestination.php
@@ -93,6 +93,11 @@ class AbstractDestination extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
*/
protected $description = '';
+ /**
+ * @var string
+ */
+ protected $descriptionExtended = '';
+
/**
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference>
*/
@@ -322,6 +327,22 @@ class AbstractDestination extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
$this->description = $description;
}
+ /**
+ * @return string
+ */
+ public function getDescriptionExtended()
+ {
+ return $this->descriptionExtended;
+ }
+
+ /**
+ * @param string $descriptionExtended
+ */
+ public function setDescriptionExtended($descriptionExtended)
+ {
+ $this->descriptionExtended = $descriptionExtended;
+ }
+
/**
* @return \TYPO3\CMS\Extbase\Persistence\ObjectStorage<\TYPO3\CMS\Extbase\Domain\Model\FileReference> $images
*/
diff --git a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php
index beaa2927..17a95702 100644
--- a/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php
+++ b/public/typo3conf/ext/ep_products/Configuration/TCA/tx_epproducts_domain_model_city.php
@@ -23,7 +23,9 @@ 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',
+ 'showitem' => '--palette--;;top, name_internal, --palette--;;name, --palette--;;destinations, teaser,
+ keywords, description, description_extended, party, leisure, facts, officetip,
+ --div--;Bilder/Dateien, teaser_images, header_images, images',
],
],
'palettes' => [
@@ -209,7 +211,18 @@ return [
],
'description' => [
'exclude' => 0,
- 'label' => 'Der Ort',
+ 'label' => 'Der Ort (oben)',
+ 'config' => [
+ 'type' => 'text',
+ 'cols' => 40,
+ 'rows' => 15,
+ 'eval' => 'trim',
+ 'enableRichtext' => true,
+ ],
+ ],
+ 'description_extended' => [
+ 'exclude' => 0,
+ 'label' => 'Der Ort (unten)',
'config' => [
'type' => 'text',
'cols' => 40,
diff --git a/public/typo3conf/ext/ep_products/ext_tables.sql b/public/typo3conf/ext/ep_products/ext_tables.sql
index 98f46684..5f6035df 100644
--- a/public/typo3conf/ext/ep_products/ext_tables.sql
+++ b/public/typo3conf/ext/ep_products/ext_tables.sql
@@ -714,6 +714,7 @@ CREATE TABLE tx_epproducts_domain_model_city
header_subtitle varchar(255) DEFAULT '' NOT NULL,
keywords text NOT NULL,
description text NOT NULL,
+ description_extended text NOT NULL,
party text NOT NULL,
leisure text NOT NULL,
teaser_images int(11) unsigned NOT NULL default '0',
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/City/Detail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/City/Detail.html
index 8077ecdf..e43e9b07 100644
--- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/City/Detail.html
+++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/City/Detail.html
@@ -75,7 +75,7 @@