Add typoscript config for myep
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script type="application/json" id="appconfig">
|
||||
{
|
||||
"loaderUrl": <f:format.raw>"{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif', absolute: 1)}"</f:format.raw>,
|
||||
"myEpApiBaseUrl": "https://myep.burn.dpn"
|
||||
"loaderUrl": "<f:format.raw>{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif', absolute: 1)}</f:format.raw>",
|
||||
"myEpApiBaseUrl": "<f:format.raw>{settings.myEpApiBaseUrl}</f:format.raw>"
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user