Add language switch

This commit is contained in:
Björn Fromme
2018-10-17 13:22:09 +02:00
parent 153bf5e7cf
commit f5d9bb256a
10 changed files with 46 additions and 5 deletions
@@ -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
}
}
@@ -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
@@ -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