Skip to content

Commit

Permalink
Merge branch 'ven-com-fix_issue_with_system_config_path' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
fnogatz committed Jul 24, 2021
2 parents 45388d3 + 7d9252a commit d3ae5fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<!-- Prefix "piwik/" left for compatibility with Henhed_Piwik -->
<section id="piwik"
translate="label"
type="text"
Expand Down Expand Up @@ -141,7 +142,7 @@
showInWebsite="1"
showInStore="1">
<label>PHP Script Path</label>
<config_path>matomo/tracking/php_script_path</config_path>
<config_path>piwik/tracking/php_script_path</config_path>
<comment>Path to the Matomo tracker PHP script. Usually &quot;matomo.php&quot;.</comment>
<frontend_class>required-entry</frontend_class>
</field>
Expand All @@ -153,7 +154,7 @@
showInWebsite="1"
showInStore="1">
<label>Javascript Path</label>
<config_path>matomo/tracking/js_script_path</config_path>
<config_path>piwik/tracking/js_script_path</config_path>
<comment>Path to the Matomo tracker Javascript. Usually &quot;matomo.js&quot;.</comment>
<frontend_class>required-entry</frontend_class>
</field>
Expand All @@ -165,7 +166,7 @@
showInWebsite="1"
showInStore="1">
<label>CDN Hostname</label>
<config_path>matomo/tracking/cdn_hostname</config_path>
<config_path>piwik/tracking/cdn_hostname</config_path>
<comment>Hostname for serving the Matomo tracker Javascript. May be left empty in which case the regular hostname will be used.</comment>
</field>
</group>
Expand Down
1 change: 1 addition & 0 deletions etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<default>
<!-- Prefix "piwik/" left for compatibility with Henhed_Piwik -->
<piwik>
<tracking>
<enabled>0</enabled>
Expand Down

0 comments on commit d3ae5fe

Please sign in to comment.