fix: don't open teaser popup on target page
This commit is contained in:
@@ -53,6 +53,7 @@ plugin.tx_epproducts {
|
|||||||
groupInquiryFormConceptUids = {$plugin.tx_epproducts.settings.groupInquiryFormConceptUids}
|
groupInquiryFormConceptUids = {$plugin.tx_epproducts.settings.groupInquiryFormConceptUids}
|
||||||
logoImage = {$plugin.tx_eptheme.settings.logoImage}
|
logoImage = {$plugin.tx_eptheme.settings.logoImage}
|
||||||
themekey = {$plugin.tx_eptheme.settings.themekey}
|
themekey = {$plugin.tx_eptheme.settings.themekey}
|
||||||
|
globalConceptCode = {$plugin.tx_eptheme.settings.globalConceptCode}
|
||||||
datePickerPresets {
|
datePickerPresets {
|
||||||
1 {
|
1 {
|
||||||
label = Silvester
|
label = Silvester
|
||||||
|
|||||||
@@ -132,6 +132,8 @@ plugin.tx_eptheme {
|
|||||||
hideAreaNavigation = 0
|
hideAreaNavigation = 0
|
||||||
# cat=eptheme/500/170; type=boolean; label=Hide searchbar
|
# cat=eptheme/500/170; type=boolean; label=Hide searchbar
|
||||||
hideSearchbar = 0
|
hideSearchbar = 0
|
||||||
|
# cat=eptheme/500/180; type=string; label=Global concept code
|
||||||
|
globalConceptCode =
|
||||||
|
|
||||||
# cat=eptheme/800/100; type=boolean; label=Show 'skipass inklusive' badge
|
# cat=eptheme/800/100; type=boolean; label=Show 'skipass inklusive' badge
|
||||||
showSkipassBadge = 1
|
showSkipassBadge = 1
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ plugin.tx_eptheme {
|
|||||||
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid}
|
||||||
germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid}
|
germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid}
|
||||||
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid}
|
||||||
|
globalConceptCode = {$plugin.tx_eptheme.settings.globalConceptCode}
|
||||||
travelAlertPageUid = {$plugin.tx_eptheme.settings.travelAlertPageUid}
|
travelAlertPageUid = {$plugin.tx_eptheme.settings.travelAlertPageUid}
|
||||||
myEpPageUid = {$plugin.tx_eptheme.settings.myEpPageUid}
|
myEpPageUid = {$plugin.tx_eptheme.settings.myEpPageUid}
|
||||||
myEpApiEndpointUrl = {$plugin.tx_eptheme.settings.myEpApiEndpointUrl}
|
myEpApiEndpointUrl = {$plugin.tx_eptheme.settings.myEpApiEndpointUrl}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<f:section name="TeaserImage">
|
<f:section name="TeaserImage">
|
||||||
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
|
<div class="relative{f:if(condition: landscape, then: ' sm:w-2/5')}">
|
||||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
||||||
<f:if condition="{concept.popupText}">
|
<f:if condition="{concept.popupText} && {settings.globalConceptCode} != {concept.code}">
|
||||||
data-controller="teaser-popup"
|
data-controller="teaser-popup"
|
||||||
data-teaser-popup-text-value="{concept.popupText}"
|
data-teaser-popup-text-value="{concept.popupText}"
|
||||||
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
<f:section name="TeaserContent">
|
<f:section name="TeaserContent">
|
||||||
{f:variable(name: 'including', value: '{f:render(section: \'Including\', arguments: \'{_all}\') -> v:format.trim()}')}
|
{f:variable(name: 'including', value: '{f:render(section: \'Including\', arguments: \'{_all}\') -> v:format.trim()}')}
|
||||||
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
<a href="{ep:uri.product(forceHotelUid: forceHotelUid, product: product, hotel: hotel, dateFrom: dateFrom, dateTo: dateTo, ref: referringPageUri)}"
|
||||||
<f:if condition="{concept.popupText}">
|
<f:if condition="{concept.popupText} && {globalConceptCode} != {concept.code}">
|
||||||
data-controller="teaser-popup"
|
data-controller="teaser-popup"
|
||||||
data-teaser-popup-text-value="{concept.popupText}"
|
data-teaser-popup-text-value="{concept.popupText}"
|
||||||
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
data-teaser-popup-teaser-popup-modal-outlet="#teaser-popup-modal"
|
||||||
|
|||||||
@@ -52,7 +52,8 @@
|
|||||||
dateFrom: dateFrom,
|
dateFrom: dateFrom,
|
||||||
dateTo: dateTo,
|
dateTo: dateTo,
|
||||||
new: teaser.new,
|
new: teaser.new,
|
||||||
index: iteration.index
|
index: iteration.index,
|
||||||
|
globalConceptCode: settings.globalConceptCode
|
||||||
}"/>
|
}"/>
|
||||||
</f:for>
|
</f:for>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user