Add config to open page in new tab from area/top navigation

This commit is contained in:
Björn Fromme
2020-09-01 11:40:13 +02:00
parent 7e3730062c
commit 9a7472932f
3 changed files with 10 additions and 2 deletions
@@ -14,7 +14,7 @@
<f:for each="{menu}" as="menuitem">
<li class="area-nav__list-item">
<a class="area-nav__link{f:if(condition: menuitem.active, then: ' active')}{f:if(condition: '{menuitem.uid} == {settings.forceActiveTopnavUid}', then: ' active')}"
href="{menuitem.link}"{f:if(condition: '{menuitem.doktype} == 3', then: ' target="_blank"')}
href="{menuitem.link}"{f:if(condition: '{menuitem.doktype} == 3 || {menuitem.tx_eptheme_new_tab}', then: ' target="_blank"')}
title="{menuitem.linktext}">{menuitem.title -> ep:topnavItem()}</a>
</li>
</f:for>