From 36b3aa9ef23f3826f8380b4af7bc370e389b2df7 Mon Sep 17 00:00:00 2001 From: MaxBUhe Date: Wed, 13 Sep 2023 15:08:58 +0200 Subject: [PATCH] switch param-name --- Application/views/admin/de/module_options.php | 4 ++-- Modules/Core/ViewConfig.php | 4 ++-- metadata.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Application/views/admin/de/module_options.php b/Application/views/admin/de/module_options.php index e3a2c2d..a7b1a56 100755 --- a/Application/views/admin/de/module_options.php +++ b/Application/views/admin/de/module_options.php @@ -44,8 +44,8 @@ $aLang = [ 'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_USERCENTRICS' => 'usercentrics', 'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_COOKIEFIRST' => 'cookiefirst', 'SHOP_MODULE_d3_gtm_settings_HAS_STD_MANAGER_COOKIEBOT' => 'Cookiebot', - 'SHOP_MODULE_d3_gtm_settings_cookieName' => 'Steuerungsparameter', - 'HELP_SHOP_MODULE_d3_gtm_settings_cookieName' => 'Nähere infos zum "Steuerungsparameter"
+ 'SHOP_MODULE_d3_gtm_settings_controlParameter' => 'Steuerungsparameter', + 'HELP_SHOP_MODULE_d3_gtm_settings_controlParameter' => 'Nähere infos zum "Steuerungsparameter"
Beachte:
Sofern Sie die consentmanager CMP verwenden, bitte ich Sie, gründlichst, die Hinweise der Moduldokumentation/Consentmanager zu lesen. diff --git a/Modules/Core/ViewConfig.php b/Modules/Core/ViewConfig.php index fd0b20c..39e1818 100644 --- a/Modules/Core/ViewConfig.php +++ b/Modules/Core/ViewConfig.php @@ -77,7 +77,7 @@ class ViewConfig extends ViewConfig_parent $this->defineCookieManagerType(); - $sCookieID = trim($oConfig->getConfigParam('d3_gtm_settings_cookieName')); + $sCookieID = trim($oConfig->getConfigParam('d3_gtm_settings_controlParameter')); // Netensio Cookie Manager if ($this->sCookieManagerType === ManagerTypes::NET_COOKIE_MANAGER) { @@ -119,7 +119,7 @@ class ViewConfig extends ViewConfig_parent */ public function getGtmScriptAttributes() :string { - $sControlParameter = trim(Registry::getConfig()->getConfigParam('d3_gtm_settings_cookieName')); + $sControlParameter = trim(Registry::getConfig()->getConfigParam('d3_gtm_settings_controlParameter')); if (false === $this->shallUseOwnCookieManager()){ return ""; diff --git a/metadata.php b/metadata.php index bea66b4..2040610 100755 --- a/metadata.php +++ b/metadata.php @@ -131,7 +131,7 @@ $aModule = [ ], [ 'group' => 'd3_gtm_settings_cookiemanager', - 'name' => 'd3_gtm_settings_cookieName', + 'name' => 'd3_gtm_settings_controlParameter', 'type' => 'str', 'value' => 'example', 'position' => 999