From c0c81317aa7bf36c34776b88795003c474d6ce35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sun, 25 Oct 2026 15:07:13 +0100 Subject: [PATCH] chore: remove the unused myEP API settings from the theme The app config JSON carried "myEpApiBaseUrl" from the TypoScript setting myEpApiEndpointUrl, which only the alvac and cllt sys_template records set: the other sites rendered the unresolved "{$plugin.tx_eptheme.settings...}" into the page. No JavaScript reads the key (only paCode and externalDomains are used), and the MyE&P API client takes its URL, credentials and timeout from the ep_products extension configuration, so the theme's myEpApiEndpointUrl, myEpApiToken and myEpApiTimeout settings had no reader. Co-Authored-By: Claude Opus 5.5 --- packages/ep_theme/Configuration/TypoScript/setup.typoscript | 3 --- packages/ep_theme/Resources/Private/Partials/Config.html | 1 - 2 files changed, 4 deletions(-) diff --git a/packages/ep_theme/Configuration/TypoScript/setup.typoscript b/packages/ep_theme/Configuration/TypoScript/setup.typoscript index 7db97cb..28091f9 100644 --- a/packages/ep_theme/Configuration/TypoScript/setup.typoscript +++ b/packages/ep_theme/Configuration/TypoScript/setup.typoscript @@ -76,9 +76,6 @@ plugin.tx_eptheme { globalConceptCode = {$plugin.tx_eptheme.settings.globalConceptCode} travelAlertPageUid = {$plugin.tx_eptheme.settings.travelAlertPageUid} myEpPageUid = {$plugin.tx_eptheme.settings.myEpPageUid} - myEpApiEndpointUrl = {$plugin.tx_eptheme.settings.myEpApiEndpointUrl} - myEpApiToken = {$plugin.tx_eptheme.settings.myEpApiToken} - myEpApiTimeout = {$plugin.tx_eptheme.settings.myEpApiTimeout} facebookViewContentValues { productUid = {$plugin.tx_eptheme.settings.facebookViewContentProductUid} nameInternal = {$plugin.tx_eptheme.settings.facebookViewContentNameInternal} diff --git a/packages/ep_theme/Resources/Private/Partials/Config.html b/packages/ep_theme/Resources/Private/Partials/Config.html index a4b0069..917de54 100644 --- a/packages/ep_theme/Resources/Private/Partials/Config.html +++ b/packages/ep_theme/Resources/Private/Partials/Config.html @@ -2,7 +2,6 @@ { "loaderUrl": "{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif', absolute: 1)}", "iconSpriteUrl": "{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/icons_sprite.svg', absolute: 1)}", - "myEpApiBaseUrl": "{settings.myEpApiEndpointUrl}", "paCode": "{context.paCode}"null, "externalDomains": {settings.domainsToTrack -> v:iterator.explode() -> f:format.json() -> f:format.raw()} }