Add config to hide area/top navigation
This commit is contained in:
@@ -120,6 +120,8 @@ plugin.tx_eptheme {
|
|||||||
searchPageHeaderImage =
|
searchPageHeaderImage =
|
||||||
# cat=eptheme/500/160; type=string; label=Rating widget label
|
# cat=eptheme/500/160; type=string; label=Rating widget label
|
||||||
ratingWidgetLabel = Reisebewertung
|
ratingWidgetLabel = Reisebewertung
|
||||||
|
# cat=eptheme/500/170; type=boolean; label=Hide area/top navigation
|
||||||
|
hideAreaNavigation = 0
|
||||||
|
|
||||||
# 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
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ plugin.tx_eptheme {
|
|||||||
datePickerPresets < plugin.tx_epproducts.settings.datePickerPresets
|
datePickerPresets < plugin.tx_epproducts.settings.datePickerPresets
|
||||||
searchPageHeaderImage = {$plugin.tx_eptheme.settings.searchPageHeaderImage}
|
searchPageHeaderImage = {$plugin.tx_eptheme.settings.searchPageHeaderImage}
|
||||||
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
|
ratingWidgetLabel = {$plugin.tx_eptheme.settings.ratingWidgetLabel}
|
||||||
|
hideAreaNavigation = {$plugin.tx_eptheme.settings.hideAreaNavigation}
|
||||||
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
showSkipassBadge = {$plugin.tx_eptheme.settings.showSkipassBadge}
|
||||||
forcePartnerIdSelect = {$plugin.tx_eptheme.settings.forcePartnerIdSelect}
|
forcePartnerIdSelect = {$plugin.tx_eptheme.settings.forcePartnerIdSelect}
|
||||||
contactFormToEmail = {$plugin.tx_eptheme.settings.contactFormToEmail}
|
contactFormToEmail = {$plugin.tx_eptheme.settings.contactFormToEmail}
|
||||||
|
|||||||
@@ -2,6 +2,9 @@
|
|||||||
{namespace ep=EP\EpTheme\ViewHelpers}
|
{namespace ep=EP\EpTheme\ViewHelpers}
|
||||||
<div class="area-nav">
|
<div class="area-nav">
|
||||||
<div class="area-nav__inner">
|
<div class="area-nav__inner">
|
||||||
|
<f:spaceless>
|
||||||
|
<f:if condition="{settings.hideAreaNavigation}">
|
||||||
|
<f:else>
|
||||||
<a class="area-nav__trigger area-nav__link" href="#" @click.prevent="toggleAreaNavigation()">
|
<a class="area-nav__trigger area-nav__link" href="#" @click.prevent="toggleAreaNavigation()">
|
||||||
Bereich wechseln <i class="area-nav__trigger-icon fa fa-lg fa-caret-down"></i>
|
Bereich wechseln <i class="area-nav__trigger-icon fa fa-lg fa-caret-down"></i>
|
||||||
</a>
|
</a>
|
||||||
@@ -25,5 +28,8 @@
|
|||||||
</f:if>
|
</f:if>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
|
</f:else>
|
||||||
|
</f:if>
|
||||||
|
</f:spaceless>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user