Skip to content

Commit d3ae5fe

Browse files
committed
Merge branch 'ven-com-fix_issue_with_system_config_path' into main
2 parents 45388d3 + 7d9252a commit d3ae5fe

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

etc/adminhtml/system.xml

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2424
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
2525
<system>
26+
<!-- Prefix "piwik/" left for compatibility with Henhed_Piwik -->
2627
<section id="piwik"
2728
translate="label"
2829
type="text"
@@ -141,7 +142,7 @@
141142
showInWebsite="1"
142143
showInStore="1">
143144
<label>PHP Script Path</label>
144-
<config_path>matomo/tracking/php_script_path</config_path>
145+
<config_path>piwik/tracking/php_script_path</config_path>
145146
<comment>Path to the Matomo tracker PHP script. Usually &quot;matomo.php&quot;.</comment>
146147
<frontend_class>required-entry</frontend_class>
147148
</field>
@@ -153,7 +154,7 @@
153154
showInWebsite="1"
154155
showInStore="1">
155156
<label>Javascript Path</label>
156-
<config_path>matomo/tracking/js_script_path</config_path>
157+
<config_path>piwik/tracking/js_script_path</config_path>
157158
<comment>Path to the Matomo tracker Javascript. Usually &quot;matomo.js&quot;.</comment>
158159
<frontend_class>required-entry</frontend_class>
159160
</field>
@@ -165,7 +166,7 @@
165166
showInWebsite="1"
166167
showInStore="1">
167168
<label>CDN Hostname</label>
168-
<config_path>matomo/tracking/cdn_hostname</config_path>
169+
<config_path>piwik/tracking/cdn_hostname</config_path>
169170
<comment>Hostname for serving the Matomo tracker Javascript. May be left empty in which case the regular hostname will be used.</comment>
170171
</field>
171172
</group>

etc/config.xml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2424
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
2525
<default>
26+
<!-- Prefix "piwik/" left for compatibility with Henhed_Piwik -->
2627
<piwik>
2728
<tracking>
2829
<enabled>0</enabled>

0 commit comments

Comments
 (0)