From 078b917252e515bd5fd8a7f21945220b7fe54ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Mon, 20 Dec 2021 16:54:02 +0100 Subject: [PATCH] Fix incorrect nesting of tags, replace vhs menu viewhelper --- .../TypoScript/Page/Main.typoscript | 9 + .../Resources/Private/Partials/Footer.html | 202 +++++++++--------- .../Resources/Private/Partials/Mainnav.html | 1 - 3 files changed, 105 insertions(+), 107 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript index 48154441..229339e9 100644 --- a/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript +++ b/public/typo3conf/ext/ep_theme/Configuration/TypoScript/Page/Main.typoscript @@ -129,6 +129,15 @@ page { titleField = title as = mobilenav } + 70 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 70 { + special = directory + special.value = {$plugin.tx_eptheme.settings.footerNavPid} + levels = 2 + expandAll = 1 + titleField = title + as = footernav + } } settings < plugin.tx_eptheme.settings } diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html index 447fc0a8..1dd2a374 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html @@ -1,6 +1,5 @@
@@ -9,40 +8,29 @@
- - -
- - - - - -
-
-
+ +
+ + + + + +
+
-
-
-
+