diff --git a/web/typo3conf/ext/ep_events/Configuration/TypoScript/Page/Main.typoscript b/web/typo3conf/ext/ep_events/Configuration/TypoScript/Page/Main.typoscript index c1f33571..d858c9e6 100644 --- a/web/typo3conf/ext/ep_events/Configuration/TypoScript/Page/Main.typoscript +++ b/web/typo3conf/ext/ep_events/Configuration/TypoScript/Page/Main.typoscript @@ -79,14 +79,24 @@ page { dataProcessing { 10 = TYPO3\CMS\Frontend\DataProcessing\FilesProcessor 10.references.fieldName = media + 20 = EP\EpEvents\DataProcessing\TraveltypeProcessor + 30 = EP\EpEvents\DataProcessing\OfferProcessor + 40 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor 40 { special = rootline special.range = 0|0 as = rootPage } + + 50 = TYPO3\CMS\Frontend\DataProcessing\MenuProcessor + 50.special = language + 50.special.value = 0,1 + 50.addQueryString = 1 + 50.addQueryString.exclude = L,cHash + 50.as = langnav } } diff --git a/web/typo3conf/ext/ep_events/Configuration/TypoScript/constants.txt b/web/typo3conf/ext/ep_events/Configuration/TypoScript/constants.txt index 6b56066c..f21ccdea 100644 --- a/web/typo3conf/ext/ep_events/Configuration/TypoScript/constants.txt +++ b/web/typo3conf/ext/ep_events/Configuration/TypoScript/constants.txt @@ -48,6 +48,8 @@ plugin.tx_epevents { activityDefaultKeywordsImage = # cat=plugin.tx_epevents//a; type=string; label=Business hours businessHours = Montag - Freitag 08:30 Uhr bis 17:00 Uhr + # cat=plugin.tx_epevents//a; type=boolean; label=Enable language switch + enableLanguageSwitch = 0 } persistence { # cat=plugin.tx_epevents//a; type=string; label=Default storage PID diff --git a/web/typo3conf/ext/ep_events/Configuration/TypoScript/setup.txt b/web/typo3conf/ext/ep_events/Configuration/TypoScript/setup.txt index e3a03537..5c0b1fd8 100644 --- a/web/typo3conf/ext/ep_events/Configuration/TypoScript/setup.txt +++ b/web/typo3conf/ext/ep_events/Configuration/TypoScript/setup.txt @@ -53,6 +53,7 @@ plugin.tx_epevents { enableContactFormAutoreply = {$plugin.tx_epevents.settings.enableContactFormAutoreply} contactFormAutoreplySubject = {$plugin.tx_epevents.settings.contactFormAutoreplySubject} businessHours = {$plugin.tx_epevents.settings.businessHours} + enableLanguageSwitch = {$plugin.tx_epevents.settings.enableLanguageSwitch} configurator { defaults { budget = 4 diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html index ef314cb6..6df9bd2b 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html @@ -9,7 +9,7 @@ - + diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html index 6b7778e8..33c6b937 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html @@ -77,7 +77,7 @@ - + diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html index b982a860..571aa024 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html @@ -22,7 +22,7 @@ - + diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html index 4d1b77b0..a2c81f17 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html @@ -108,7 +108,7 @@ - + diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html index da75784d..5f30e6a1 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html @@ -45,7 +45,7 @@ - + diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Partials/MobileNav.html b/web/typo3conf/ext/ep_events/Resources/Private/Partials/MobileNav.html index d12cf9e7..61951eb5 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Partials/MobileNav.html +++ b/web/typo3conf/ext/ep_events/Resources/Private/Partials/MobileNav.html @@ -33,6 +33,21 @@ + + +