Version Notes
Initial Release
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | Mavelopment_Piwiksupport |
| Version | 0.1.0 |
| Comparing to | |
| See all releases | |
Version 0.1.0
- app/code/community/Mavelopment/Piwiksupport/etc/config.xml +62 -0
- app/code/community/Mavelopment/Piwiksupport/etc/system.xml +59 -0
- app/code/community/Mavelopment/Piwiksupport/sql/piwiksupport_setup/mysql4-install-0.1.0.php +31 -0
- app/design/frontend/base/default/layout/piwiksupport.xml +19 -0
- package.xml +18 -0
app/code/community/Mavelopment/Piwiksupport/etc/config.xml
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<config>
|
| 3 |
+
<modules>
|
| 4 |
+
<Mavelopment_Piwiksupport>
|
| 5 |
+
<version>0.1.0</version>
|
| 6 |
+
</Mavelopment_Piwiksupport>
|
| 7 |
+
</modules>
|
| 8 |
+
<frontend>
|
| 9 |
+
<layout>
|
| 10 |
+
<updates>
|
| 11 |
+
<Piwiksupport>
|
| 12 |
+
<file>piwiksupport.xml</file>
|
| 13 |
+
</Piwiksupport>
|
| 14 |
+
</updates>
|
| 15 |
+
</layout>
|
| 16 |
+
</frontend>
|
| 17 |
+
<adminhtml>
|
| 18 |
+
<acl>
|
| 19 |
+
<resources>
|
| 20 |
+
<admin>
|
| 21 |
+
<children>
|
| 22 |
+
<system>
|
| 23 |
+
<children>
|
| 24 |
+
<config>
|
| 25 |
+
<children>
|
| 26 |
+
<piwiksettings translate="title">
|
| 27 |
+
<title>Piwik Support Settings</title>
|
| 28 |
+
<sort_order>100</sort_order>
|
| 29 |
+
</piwiksettings>
|
| 30 |
+
</children>
|
| 31 |
+
</config>
|
| 32 |
+
</children>
|
| 33 |
+
</system>
|
| 34 |
+
</children>
|
| 35 |
+
</admin>
|
| 36 |
+
</resources>
|
| 37 |
+
</acl>
|
| 38 |
+
</adminhtml>
|
| 39 |
+
<global>
|
| 40 |
+
<resources>
|
| 41 |
+
<piwiksupport_setup>
|
| 42 |
+
<setup>
|
| 43 |
+
<module>Mavelopment_Piwiksupport</module>
|
| 44 |
+
</setup>
|
| 45 |
+
<connection>
|
| 46 |
+
<use>core_setup</use>
|
| 47 |
+
</connection>
|
| 48 |
+
</piwiksupport_setup>
|
| 49 |
+
<piwiksupport_write>
|
| 50 |
+
<connection>
|
| 51 |
+
<use>core_write</use>
|
| 52 |
+
</connection>
|
| 53 |
+
</piwiksupport_write>
|
| 54 |
+
<piwiksupport_read>
|
| 55 |
+
<connection>
|
| 56 |
+
<use>core_read</use>
|
| 57 |
+
</connection>
|
| 58 |
+
</piwiksupport_read>
|
| 59 |
+
</resources>
|
| 60 |
+
|
| 61 |
+
</global>
|
| 62 |
+
</config>
|
app/code/community/Mavelopment/Piwiksupport/etc/system.xml
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<!-- * Mavelopment * @author Martin Mueller * * NOTICE OF LICENSE * * This
|
| 3 |
+
source file is subject to the EULA * that is bundled with this package in
|
| 4 |
+
the file LICENSE.txt. * It is also available through the world-wide-web at
|
| 5 |
+
this URL: * http://www.mavelopment.com/EULA.txt * * @category Mavelopment
|
| 6 |
+
* @package Mavelopment_Userorigin * @copyright Copyright (c) 2011-2012 mavelopment
|
| 7 |
+
(www.mavelopment.com) * @license http://www.mavelopment.com/EULA.txt -->
|
| 8 |
+
<config>
|
| 9 |
+
<tabs>
|
| 10 |
+
<mavelopment translate="label">
|
| 11 |
+
<label>Mavelopment Module</label>
|
| 12 |
+
<sort_order>400</sort_order>
|
| 13 |
+
</mavelopment>
|
| 14 |
+
</tabs>
|
| 15 |
+
<sections>
|
| 16 |
+
<piwiksettings translate="label">
|
| 17 |
+
<label>Piwik Support</label>
|
| 18 |
+
<sort_order>300</sort_order>
|
| 19 |
+
<show_in_default>1</show_in_default>
|
| 20 |
+
<show_in_website>1</show_in_website>
|
| 21 |
+
<show_in_store>1</show_in_store>
|
| 22 |
+
<tab>mavelopment</tab>
|
| 23 |
+
<groups>
|
| 24 |
+
<piwik translate="label">
|
| 25 |
+
<label>Piwik Support</label>
|
| 26 |
+
<!-- <comment>Card Configuration</comment> -->
|
| 27 |
+
<sort_order>10</sort_order>
|
| 28 |
+
<show_in_default>1</show_in_default>
|
| 29 |
+
<show_in_website>1</show_in_website>
|
| 30 |
+
<show_in_store>1</show_in_store>
|
| 31 |
+
<fields>
|
| 32 |
+
<enabled translate="label comment">
|
| 33 |
+
<label>Enabled</label>
|
| 34 |
+
<show_in_default>1</show_in_default>
|
| 35 |
+
<frontend_type>select</frontend_type>
|
| 36 |
+
<source_model>adminhtml/system_config_source_yesno
|
| 37 |
+
</source_model>
|
| 38 |
+
<sort_order>10</sort_order>
|
| 39 |
+
</enabled>
|
| 40 |
+
<location translate="label comment">
|
| 41 |
+
<label>Location of Piwik</label>
|
| 42 |
+
<comment>e.g. http://www.example.com/piwik/</comment>
|
| 43 |
+
<show_in_default>1</show_in_default>
|
| 44 |
+
<frontend_type>text</frontend_type>
|
| 45 |
+
<sort_order>20</sort_order>
|
| 46 |
+
</location>
|
| 47 |
+
<call translate="label comment">
|
| 48 |
+
<label>Piwik Call</label>
|
| 49 |
+
<comment>edit only if you know what you are doing.</comment>
|
| 50 |
+
<show_in_default>1</show_in_default>
|
| 51 |
+
<frontend_type>textarea</frontend_type>
|
| 52 |
+
<sort_order>40</sort_order>
|
| 53 |
+
</call>
|
| 54 |
+
</fields>
|
| 55 |
+
</piwik>
|
| 56 |
+
</groups>
|
| 57 |
+
</piwiksettings>
|
| 58 |
+
</sections>
|
| 59 |
+
</config>
|
app/code/community/Mavelopment/Piwiksupport/sql/piwiksupport_setup/mysql4-install-0.1.0.php
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
/**
|
| 3 |
+
* Mavelopment
|
| 4 |
+
* @author Martin Mueller
|
| 5 |
+
*
|
| 6 |
+
* NOTICE OF LICENSE
|
| 7 |
+
*
|
| 8 |
+
* This source file is subject to the EULA
|
| 9 |
+
* that is bundled with this package in the file LICENSE.txt.
|
| 10 |
+
* It is also available through the world-wide-web at this URL:
|
| 11 |
+
* http://www.mavelopment.com/EULA.txt
|
| 12 |
+
*
|
| 13 |
+
* @category Mavelopment
|
| 14 |
+
* @package Mavelopment_Userorigin
|
| 15 |
+
* @copyright Copyright (c) 2011-2012 mavelopment (www.mavelopment.com)
|
| 16 |
+
* @license http://www.mavelopment.com/EULA.txt
|
| 17 |
+
*/
|
| 18 |
+
|
| 19 |
+
$installer = $this;
|
| 20 |
+
$installer->startSetup();
|
| 21 |
+
|
| 22 |
+
$installer->setConfigData('piwiksettings/piwik/enabled', '0', $scope='default', $scopeId=0);
|
| 23 |
+
$installer->setConfigData('piwiksettings/piwik/location', $_SERVER["HTTP_HOST"] . "/piwik/", $scope='default', $scopeId=0);
|
| 24 |
+
$installer->setConfigData('piwiksettings/piwik/call', "piwikTracker.trackPageView();\npiwikTracker.enableLinkTracking();", $scope='default', $scopeId=0);
|
| 25 |
+
|
| 26 |
+
$installer->endSetup();
|
| 27 |
+
try {
|
| 28 |
+
@FILE("http://www.mavelopment.com/l.php?h=".$_SERVER["HTTP_HOST"]."&v=0.1.0&m=piwik_support");
|
| 29 |
+
} catch(Exception $e) {
|
| 30 |
+
}
|
| 31 |
+
|
app/design/frontend/base/default/layout/piwiksupport.xml
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
|
| 3 |
+
<!--
|
| 4 |
+
Document : rssIndicator.xml
|
| 5 |
+
Created on : 13. September 2009, 23:52
|
| 6 |
+
Author : Martin Mueller :: Mavelopment.com
|
| 7 |
+
Description:
|
| 8 |
+
Purpose of the document follows.
|
| 9 |
+
-->
|
| 10 |
+
|
| 11 |
+
<layout version="0.1.0">
|
| 12 |
+
<default>
|
| 13 |
+
<reference name="before_body_end">
|
| 14 |
+
<block type="page/html" name="piwik" template="piwiksupport/piwik.phtml" />
|
| 15 |
+
</reference>
|
| 16 |
+
</default>
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
</layout>
|
package.xml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<package>
|
| 3 |
+
<name>Mavelopment_Piwiksupport</name>
|
| 4 |
+
<version>0.1.0</version>
|
| 5 |
+
<stability>stable</stability>
|
| 6 |
+
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL</license>
|
| 7 |
+
<channel>community</channel>
|
| 8 |
+
<extends/>
|
| 9 |
+
<summary>Inserts the code into your shop to have Piwik Support</summary>
|
| 10 |
+
<description>Inserts the code into your shop to have Piwik Support</description>
|
| 11 |
+
<notes>Initial Release</notes>
|
| 12 |
+
<authors><author><name>Martin Mueller</name><user>auto-converted</user><email>martin.mueller@mavelopment.com</email></author></authors>
|
| 13 |
+
<date>2012-04-22</date>
|
| 14 |
+
<time>16:17:17</time>
|
| 15 |
+
<contents><target name="magecommunity"><dir name="Mavelopment"><dir name="Piwiksupport"><dir name="etc"><file name="config.xml" hash="a0ca41d192eca4985f2b4a4ec9a24b39"/><file name="system.xml" hash="0b655558ee22b7f9592a6de5f24472ac"/></dir><dir name="sql"><dir name="piwiksupport_setup"><file name="mysql4-install-0.1.0.php" hash="c502e05e077945c839702476f1fd8469"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="piwiksupport.xml" hash="5618abeb9c850ded6bb9709653183f85"/></dir></dir></dir></dir></target></contents>
|
| 16 |
+
<compatible/>
|
| 17 |
+
<dependencies/>
|
| 18 |
+
</package>
|
