Merge branch 'hotfix/page-config-new-tab' into develop
This commit is contained in:
@@ -56,6 +56,13 @@ call_user_func(function() {
|
|||||||
'type' => 'check'
|
'type' => 'check'
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
'tx_eptheme_new_tab' => [
|
||||||
|
'exclude' => 0,
|
||||||
|
'label' => 'Seite in neuem Tab/Fenster öffnen',
|
||||||
|
'config' => [
|
||||||
|
'type' => 'check'
|
||||||
|
]
|
||||||
|
],
|
||||||
'tx_eptheme_bodyclass' => [
|
'tx_eptheme_bodyclass' => [
|
||||||
'exclude' => 0,
|
'exclude' => 0,
|
||||||
'label' => 'CSS Klasse(n) für Body Tag',
|
'label' => 'CSS Klasse(n) für Body Tag',
|
||||||
@@ -111,7 +118,7 @@ call_user_func(function() {
|
|||||||
'pages',
|
'pages',
|
||||||
'--div--;Kontext,
|
'--div--;Kontext,
|
||||||
tx_eptheme_context_pacode,tx_eptheme_context_country,tx_eptheme_context_region,
|
tx_eptheme_context_pacode,tx_eptheme_context_country,tx_eptheme_context_region,
|
||||||
tx_eptheme_hide_searchbar,tx_eptheme_bodyclass,
|
tx_eptheme_hide_searchbar,tx_eptheme_new_tab,tx_eptheme_bodyclass,
|
||||||
--div--;Slider,
|
--div--;Slider,
|
||||||
tx_eptheme_slides,
|
tx_eptheme_slides,
|
||||||
--div--;Badge,
|
--div--;Badge,
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<f:for each="{menu}" as="menuitem">
|
<f:for each="{menu}" as="menuitem">
|
||||||
<li class="area-nav__list-item">
|
<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')}"
|
<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>
|
title="{menuitem.linktext}">{menuitem.title -> ep:topnavItem()}</a>
|
||||||
</li>
|
</li>
|
||||||
</f:for>
|
</f:for>
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ CREATE TABLE pages
|
|||||||
tx_eptheme_context_concept int(11) unsigned DEFAULT '0',
|
tx_eptheme_context_concept int(11) unsigned DEFAULT '0',
|
||||||
tx_eptheme_context_product int(11) unsigned DEFAULT '0',
|
tx_eptheme_context_product int(11) unsigned DEFAULT '0',
|
||||||
tx_eptheme_hide_searchbar tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
tx_eptheme_hide_searchbar tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
||||||
|
tx_eptheme_new_tab tinyint(4) unsigned DEFAULT '0' NOT NULL,
|
||||||
tx_eptheme_bodyclass varchar(255) DEFAULT '' NOT NULL,
|
tx_eptheme_bodyclass varchar(255) DEFAULT '' NOT NULL,
|
||||||
tx_eptheme_slides int(11) unsigned DEFAULT '0',
|
tx_eptheme_slides int(11) unsigned DEFAULT '0',
|
||||||
tx_eptheme_badge int(11) unsigned DEFAULT '0'
|
tx_eptheme_badge int(11) unsigned DEFAULT '0'
|
||||||
|
|||||||
Reference in New Issue
Block a user