@@ -89,16 +89,6 @@ class Travelinfo extends AbstractEntity
|
|||||||
*/
|
*/
|
||||||
protected $hideAddress = false;
|
protected $hideAddress = false;
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $guideName;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @var string
|
|
||||||
*/
|
|
||||||
protected $guidePhone;
|
|
||||||
|
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
$this->initStorageObjects();
|
$this->initStorageObjects();
|
||||||
@@ -301,29 +291,5 @@ class Travelinfo extends AbstractEntity
|
|||||||
$this->hideAddress = $hideAddress;
|
$this->hideAddress = $hideAddress;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getGuideName()
|
|
||||||
{
|
|
||||||
return $this->guideName;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setGuideName($guideName)
|
|
||||||
{
|
|
||||||
$this->guideName = $guideName;
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getGuidePhone()
|
|
||||||
{
|
|
||||||
return $this->guidePhone;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function setGuidePhone($guidePhone)
|
|
||||||
{
|
|
||||||
$this->guidePhone = $guidePhone;
|
|
||||||
|
|
||||||
return $this;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-22
@@ -23,9 +23,7 @@ return [
|
|||||||
],
|
],
|
||||||
'types' => [
|
'types' => [
|
||||||
'1' => [
|
'1' => [
|
||||||
'showitem' => '--palette--;;basics,--palette--;Reiseleitung;guide,
|
'showitem' => '--palette--;;basics,--div--;Texte,--palette--;;text,--div--;Bilder,--palette--;;images',
|
||||||
--div--;Texte,--palette--;;text,
|
|
||||||
--div--;Bilder,--palette--;;images',
|
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'palettes' => [
|
'palettes' => [
|
||||||
@@ -35,7 +33,6 @@ return [
|
|||||||
self_arranged_text,--linebreak--,additional_info,--linebreak--,important_phone_numbers,--linebreak--,
|
self_arranged_text,--linebreak--,additional_info,--linebreak--,important_phone_numbers,--linebreak--,
|
||||||
important_links'],
|
important_links'],
|
||||||
'images' => ['showitem' => 'header_image,--linebreak--,footer_image'],
|
'images' => ['showitem' => 'header_image,--linebreak--,footer_image'],
|
||||||
'guide' => ['showitem' => 'guide_name, guide_phone'],
|
|
||||||
],
|
],
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'sys_language_uid' => [
|
'sys_language_uid' => [
|
||||||
@@ -295,24 +292,6 @@ return [
|
|||||||
'enableRichtext' => true,
|
'enableRichtext' => true,
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'guide_name' => [
|
|
||||||
'exclude' => false,
|
|
||||||
'label' => 'Name',
|
|
||||||
'config' => [
|
|
||||||
'type' => 'input',
|
|
||||||
'size' => 30,
|
|
||||||
'eval' => 'trim'
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'guide_phone' => [
|
|
||||||
'exclude' => false,
|
|
||||||
'label' => 'Telefon',
|
|
||||||
'config' => [
|
|
||||||
'type' => 'input',
|
|
||||||
'size' => 30,
|
|
||||||
'eval' => 'trim'
|
|
||||||
],
|
|
||||||
],
|
|
||||||
'teasers' => [
|
'teasers' => [
|
||||||
'exclude' => false,
|
'exclude' => false,
|
||||||
'label' => 'Inhalte',
|
'label' => 'Inhalte',
|
||||||
|
|||||||
@@ -1374,8 +1374,6 @@ CREATE TABLE tx_epproducts_domain_model_travelinfo
|
|||||||
header_image int(11) DEFAULT '0' NOT NULL,
|
header_image int(11) DEFAULT '0' NOT NULL,
|
||||||
footer_image int(11) DEFAULT '0' NOT NULL,
|
footer_image int(11) DEFAULT '0' NOT NULL,
|
||||||
links int(11) DEFAULT '0' NOT NULL,
|
links int(11) DEFAULT '0' NOT NULL,
|
||||||
guide_name varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
guide_phone varchar(255) DEFAULT '' NOT NULL,
|
|
||||||
teasers int(11) DEFAULT '0' NOT NULL,
|
teasers int(11) DEFAULT '0' NOT NULL,
|
||||||
product int(11) unsigned DEFAULT '0',
|
product int(11) unsigned DEFAULT '0',
|
||||||
hide_address tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
hide_address tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
||||||
|
|||||||
@@ -141,13 +141,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="lg:w-3/4 pt-8 lg:pt-0 lg:px-8 text-white" data-rte-content>
|
<div class="lg:w-3/4 pt-8 lg:pt-0 lg:px-8 text-white" data-rte-content>
|
||||||
<f:if condition="{travelinfo.guideName} && {travelinfo.guidePhone}">
|
|
||||||
<p>
|
|
||||||
<strong>E&P Reiseleitung</strong>
|
|
||||||
<br>
|
|
||||||
{travelinfo.guideName} {travelinfo.guidePhone}
|
|
||||||
</p>
|
|
||||||
</f:if>
|
|
||||||
{travelinfo.importantPhoneNumbers -> f:format.html()}
|
{travelinfo.importantPhoneNumbers -> f:format.html()}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user