From f823c8763659bc0c8d929738a92b0cdeecb4375f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Mon, 15 Oct 2018 17:19:48 +0200 Subject: [PATCH] Add typoscript config for myep --- .../ext/ep_theme/Configuration/TypoScript/constants.txt | 4 ++++ web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt | 1 + .../ext/ep_theme/Resources/Private/Partials/Config.html | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt index 5cbb697d..41ab8112 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/constants.txt @@ -6,6 +6,7 @@ # customsubcategory=600=XML Sitemap # customsubcategory=700=Event dates # customsubcategory=800=Badges +# customsubcategory=900=MyE&P config plugin.tx_eptheme { settings { @@ -146,6 +147,9 @@ plugin.tx_eptheme { forcePartnerIdSelect = # cat=eptheme.events; type=string; label=Partner ID selection label partnerIdSelectLabel = + + # cat=eptheme/900/100; type=string; label=MyE&P API base url + myEpApiBaseUrl = https://myep.burn.dpn } } diff --git a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt index 5ddc37e3..157f968a 100644 --- a/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt +++ b/web/typo3conf/ext/ep_theme/Configuration/TypoScript/setup.txt @@ -87,6 +87,7 @@ plugin.tx_eptheme { englishPageUid = {$plugin.tx_eptheme.settings.englishPageUid} germanPageUid = {$plugin.tx_eptheme.settings.germanPageUid} conceptsPageUid = {$plugin.tx_eptheme.settings.conceptsPageUid} + myEpApiBaseUrl = {$plugin.tx_eptheme.settings.myEpApiBaseUrl} } view { templateRootPaths.0 = EXT:ep_theme/Resources/Private/Templates diff --git a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html index 1bb3b28a..5f167a27 100644 --- a/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html +++ b/web/typo3conf/ext/ep_theme/Resources/Private/Partials/Config.html @@ -1,6 +1,6 @@