From 5f674392ce6d8587e97e8fc5e3a9935fb900217a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 16 Apr 2024 12:49:31 +0200 Subject: [PATCH] feat: optional dedicated link to apply to logo image --- .../Configuration/TypoScript/constants.typoscript | 2 ++ .../ep_theme/Configuration/TypoScript/setup.typoscript | 1 + .../ext/ep_theme/Resources/Private/Partials/Mainnav.html | 8 ++++---- .../ep_theme/Resources/Private/Partials/Mobilenav.html | 8 ++++---- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.typoscript index a5d148fd..3ed857b3 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.typoscript @@ -22,6 +22,8 @@ plugin.tx_eptheme { footerNavPid = # cat=eptheme/200/130; type=string; label=Default homepage UID defaultHomeUid = + # cat=eptheme/200/135; type=string; label=Link to apply to logo (overrides defaultHomeUid) + logoLink = # cat=eptheme/200/140; type=string; label=Default page UID for ajax requests defaultAjaxUid = # cat=eptheme/200/150; type=string; label=Default contact form page UID diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript index 12462ac5..969f8348 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.typoscript @@ -30,6 +30,7 @@ plugin.tx_eptheme { teaserTextMaxChars = {$plugin.tx_eptheme.settings.teaserTextMaxChars} faqPageUid = {$plugin.tx_eptheme.settings.faqPageUid} defaultHomeUid = {$plugin.tx_eptheme.settings.defaultHomeUid} + logoLink = {$plugin.tx_eptheme.settings.logoLink} defaultAjaxUid = {$plugin.tx_eptheme.settings.defaultAjaxUid} defaultContactFormPageUid = {$plugin.tx_eptheme.settings.defaultContactFormPageUid} defaultSearchPageUid = {$plugin.tx_epproducts.settings.defaultSearchPageUid} diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html index 72166437..c151ce47 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mainnav.html @@ -6,13 +6,13 @@
- + - + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html index b158ab64..7eba5279 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html @@ -11,11 +11,11 @@ data-overlay-toggle-target="overlay" data-action="overlay-toggle:toggle@window->overlay-toggle#toggle">
- + - +