From f633de4a0b64aff8185f4c479168baa2827e9b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Tue, 3 May 2022 20:38:13 +0200 Subject: [PATCH] Makes displayed phone number configurable for site ep-events --- .../ep_events/Configuration/TypoScript/constants.typoscript | 4 ++++ .../ext/ep_events/Configuration/TypoScript/setup.typoscript | 2 ++ .../Resources/Private/Layouts/Page/ActivityEpEvents.html | 2 +- .../Resources/Private/Layouts/Page/CategoryEpEvents.html | 2 +- .../Resources/Private/Layouts/Page/FrontpageEpEvents.html | 2 +- .../Resources/Private/Layouts/Page/OfferEpEvents.html | 2 +- .../Resources/Private/Layouts/Page/SubpageEpEvents.html | 2 +- .../ext/ep_events/Resources/Private/Partials/PageFooter.html | 2 +- .../ext/ep_events/Resources/Private/Partials/PageHeader.html | 2 +- 9 files changed, 13 insertions(+), 7 deletions(-) diff --git a/public/typo3conf/ext/ep_events/Configuration/TypoScript/constants.typoscript b/public/typo3conf/ext/ep_events/Configuration/TypoScript/constants.typoscript index 99fb1b03..18cd0ff8 100644 --- a/public/typo3conf/ext/ep_events/Configuration/TypoScript/constants.typoscript +++ b/public/typo3conf/ext/ep_events/Configuration/TypoScript/constants.typoscript @@ -50,6 +50,10 @@ 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=string; label=Phone number display + phoneNumberDisplay = +49 221.27 22 76 18 + # cat=plugin.tx_epevents//a; type=string; label=Phone number link + phoneNumberLink = +4922127227618 # cat=plugin.tx_epevents//a; type=boolean; label=Enable language switch enableLanguageSwitch = 0 } diff --git a/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript b/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript index 8bf05b96..046fa6d4 100644 --- a/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript +++ b/public/typo3conf/ext/ep_events/Configuration/TypoScript/setup.typoscript @@ -43,6 +43,8 @@ plugin.tx_epevents { enableContactFormAutoreply = {$plugin.tx_epevents.settings.enableContactFormAutoreply} contactFormAutoreplySubject = {$plugin.tx_epevents.settings.contactFormAutoreplySubject} businessHours = {$plugin.tx_epevents.settings.businessHours} + phoneNumberDisplay = {$plugin.tx_epevents.settings.phoneNumberDisplay} + phoneNumberLink = {$plugin.tx_epevents.settings.phoneNumberLink} enableLanguageSwitch = {$plugin.tx_epevents.settings.enableLanguageSwitch} configurator { defaults { diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html index 6df9bd2b..ae206838 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/ActivityEpEvents.html @@ -8,7 +8,7 @@
- + diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html index 370da334..2e6c56fe 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/CategoryEpEvents.html @@ -76,7 +76,7 @@ - + diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html index 571aa024..dddbae8c 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/FrontpageEpEvents.html @@ -21,7 +21,7 @@ - + diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html index c7504169..e10312a3 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/OfferEpEvents.html @@ -107,7 +107,7 @@ - + diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html index fa7426a4..435dc897 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Layouts/Page/SubpageEpEvents.html @@ -46,7 +46,7 @@ - + diff --git a/public/typo3conf/ext/ep_events/Resources/Private/Partials/PageFooter.html b/public/typo3conf/ext/ep_events/Resources/Private/Partials/PageFooter.html index eeb3c6c8..883dd0d1 100644 --- a/public/typo3conf/ext/ep_events/Resources/Private/Partials/PageFooter.html +++ b/public/typo3conf/ext/ep_events/Resources/Private/Partials/PageFooter.html @@ -28,7 +28,7 @@