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