Metrilo_Analytics - Version 1.2.5

Version Notes

Show plugin version in hint header.

Download this release

Release Info

Developer Murry Ivanoff
Extension Metrilo_Analytics
Version 1.2.5
Comparing to
See all releases


Code changes from version 1.2.4 to 1.2.5

app/code/community/Metrilo/Analytics/Block/Adminhtml/System/Config/Form/Hint.php ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Display a hint at the top of settings group
4
+ *
5
+ * @author Marush Denchev <avreon@gmail.com>
6
+ */
7
+ class Metrilo_Analytics_Block_Adminhtml_System_Config_Form_Hint extends Mage_Adminhtml_Block_Abstract implements Varien_Data_Form_Element_Renderer_Interface
8
+ {
9
+ protected $_template = 'metrilo/system/config/hint.phtml';
10
+
11
+ public function __construct()
12
+ {
13
+ parent::__construct();
14
+ }
15
+
16
+ public function render(Varien_Data_Form_Element_Abstract $element)
17
+ {
18
+ return $this->toHtml();
19
+ }
20
+
21
+ public function getModuleVersion()
22
+ {
23
+ return (string) Mage::getConfig()->getNode('modules/Metrilo_Analytics/version');
24
+ }
25
+ }
app/code/community/Metrilo/Analytics/etc/config.xml CHANGED
@@ -8,7 +8,7 @@
8
  <config>
9
  <modules>
10
  <Metrilo_Analytics>
11
- <version>1.2.4</version>
12
  </Metrilo_Analytics>
13
  </modules>
14
  <frontend>
8
  <config>
9
  <modules>
10
  <Metrilo_Analytics>
11
+ <version>1.2.5</version>
12
  </Metrilo_Analytics>
13
  </modules>
14
  <frontend>
app/code/community/Metrilo/Analytics/etc/system.xml CHANGED
@@ -17,24 +17,19 @@
17
  <show_in_store>1</show_in_store>
18
  <tab>metrilo_analytics</tab>
19
  <groups>
 
 
 
 
 
 
 
20
  <settings>
21
  <label>General settings</label>
22
  <sort_order>10</sort_order>
23
  <show_in_default>1</show_in_default>
24
  <show_in_website>1</show_in_website>
25
  <show_in_store>1</show_in_store>
26
- <comment>
27
- <![CDATA[
28
- <div id="metrilo-info">
29
- <img src="/skin/adminhtml/default/default/metrilo/favicon-metrilo.png" alt="Metrilo" />
30
- <div class="text">
31
- This module was developed by <a href="http://metrilo.com" target="_blank">Metrilo.com</a><br />
32
- If you encounter any issues, let us know at <a href="mailto:support@metrilo.com">support@metrilo.com</a>. We'll be happy to assist you!
33
- </div>
34
- </div>
35
- <div style="clear:both;"></div>
36
- ]]>
37
- </comment>
38
  <fields>
39
  <enable>
40
  <label>Enabled</label>
17
  <show_in_store>1</show_in_store>
18
  <tab>metrilo_analytics</tab>
19
  <groups>
20
+ <hint>
21
+ <sort_order>0</sort_order>
22
+ <frontend_model>metrilo_analytics/adminhtml_system_config_form_hint</frontend_model>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ </hint>
27
  <settings>
28
  <label>General settings</label>
29
  <sort_order>10</sort_order>
30
  <show_in_default>1</show_in_default>
31
  <show_in_website>1</show_in_website>
32
  <show_in_store>1</show_in_store>
 
 
 
 
 
 
 
 
 
 
 
 
33
  <fields>
34
  <enable>
35
  <label>Enabled</label>
app/design/adminhtml/default/default/template/metrilo/system/config/hint.phtml ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /** @var Metrilo_Analytics_Block_Adminhtml_System_Config_Form_Hint $this */
3
+ ?>
4
+ <div id="metrilo-info">
5
+ <img src="<?php echo $this->getSkinUrl('metrilo/favicon-metrilo.png') ?>" alt="Metrilo" />
6
+ <div class="text">
7
+ This module was developed by <a href="http://metrilo.com" target="_blank">Metrilo.com</a><br />
8
+ If you encounter any issues, let us know at <a href="mailto:support@metrilo.com">support@metrilo.com</a>. We'll be happy to assist you!<br />
9
+ Plugin version: <?php echo $this->getModuleVersion() ?>
10
+ </div>
11
+ </div>
12
+ <div style="clear:both;"></div>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Metrilo_Analytics</name>
4
- <version>1.2.4</version>
5
  <stability>stable</stability>
6
  <license>Apache Software License (ASL)</license>
7
  <channel>community</channel>
@@ -18,11 +18,11 @@
18
  * Powerful intelligence for your sales team&amp;amp;#xD;&amp;#xD;&#xD;
19
  * With Metrilo, you have an amazing real-time overview of who's doing what on your eCommerce store.&amp;amp;#xD;&amp;#xD;&#xD;
20
  * Metrilo automatically collects and analyzes your eCommerce data to use for your email campaigns.</description>
21
- <notes>Add _isAllowed method to comply with Magento standards.</notes>
22
  <authors><author><name>Murry Ivanoff</name><user>Metrilo</user><email>murry@metrilo.com</email></author><author><name>Zhivko Draganov</name><user>zhivko</user><email>zhivko@metrilo.com</email></author><author><name>Miroslav Petrov</name><user>miro</user><email>miro91tn@gmail.com</email></author><author><name>Marush Denchev</name><user>marush</user><email>avreon@gmail.com</email></author></authors>
23
- <date>2017-07-03</date>
24
- <time>14:01:13</time>
25
- <contents><target name="magecommunity"><dir name="Metrilo"><dir name="Analytics"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="d080857c4ae4de4d9bb8bccae029a238"/></dir></dir></dir></dir><file name="Head.php" hash="e310a5a89fce3f08920790ad11e79af0"/></dir><dir name="Helper"><file name="Asynchttpclient.php" hash="91af14d00df28453aadcd88ebedc948a"/><file name="Data.php" hash="dea3dd378601e212005a7ef06173d3de"/></dir><dir name="Model"><file name="Import.php" hash="a85251d30dba509ccf3e8b742fdf4385"/><file name="Observer.php" hash="35b53b63d89a51bc8a58a2def76100aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="17818655392951e904d59615eb2ead1e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2fdab5ef85143c8c30f4c3bb15628f83"/><file name="config.xml" hash="fd722b2c1136d26720ec0136d25c0138"/><file name="system.xml" hash="f9d4a7a38b56e4f167299cdb52a35230"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="metrilo"><file name="favicon-metrilo.png" hash="743558f1e49a730be9d515197a36567b"/><file name="loader.gif" hash="e05e6bb35d035cac4f3e0c8af213e9ab"/><file name="logo.png" hash="e9e54afd81384e12f77aca4eaebf5be8"/><file name="styles.css" hash="da0c07513d917e4ad08ff50814b536e1"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="metrilo"><dir name="system"><dir name="config"><file name="button.phtml" hash="ae861308ebc1460950edcac10bf8024f"/></dir></dir></dir></dir><dir name="layout"><file name="metrilo_analytics.xml" hash="0e6911e2e883992f2182969286d929b1"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="metrilo"><file name="head.phtml" hash="8bc0f1562031c7061110477cba3d662f"/></dir></dir><dir name="layout"><file name="metrilo_analytics.xml" hash="c7dcf4057bc31d906865e82159ac5eca"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Metrilo_Analytics.xml" hash="3a4dbecc4e093537f11dd4c8fa2756e7"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.1</min><max>5.6.30</max></php></required></dependencies>
28
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Metrilo_Analytics</name>
4
+ <version>1.2.5</version>
5
  <stability>stable</stability>
6
  <license>Apache Software License (ASL)</license>
7
  <channel>community</channel>
18
  * Powerful intelligence for your sales team&amp;amp;#xD;&amp;#xD;&#xD;
19
  * With Metrilo, you have an amazing real-time overview of who's doing what on your eCommerce store.&amp;amp;#xD;&amp;#xD;&#xD;
20
  * Metrilo automatically collects and analyzes your eCommerce data to use for your email campaigns.</description>
21
+ <notes>Show plugin version in hint header.</notes>
22
  <authors><author><name>Murry Ivanoff</name><user>Metrilo</user><email>murry@metrilo.com</email></author><author><name>Zhivko Draganov</name><user>zhivko</user><email>zhivko@metrilo.com</email></author><author><name>Miroslav Petrov</name><user>miro</user><email>miro91tn@gmail.com</email></author><author><name>Marush Denchev</name><user>marush</user><email>avreon@gmail.com</email></author></authors>
23
+ <date>2017-07-08</date>
24
+ <time>10:34:47</time>
25
+ <contents><target name="magecommunity"><dir name="Metrilo"><dir name="Analytics"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="d080857c4ae4de4d9bb8bccae029a238"/><file name="Hint.php" hash="e62a4311804cccaa16bbf0e9963f5b33"/></dir></dir></dir></dir><file name="Head.php" hash="e310a5a89fce3f08920790ad11e79af0"/></dir><dir name="Helper"><file name="Asynchttpclient.php" hash="91af14d00df28453aadcd88ebedc948a"/><file name="Data.php" hash="dea3dd378601e212005a7ef06173d3de"/></dir><dir name="Model"><file name="Import.php" hash="a85251d30dba509ccf3e8b742fdf4385"/><file name="Observer.php" hash="35b53b63d89a51bc8a58a2def76100aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="17818655392951e904d59615eb2ead1e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="2fdab5ef85143c8c30f4c3bb15628f83"/><file name="config.xml" hash="e65553a4b035abfdb69a715498ef24c3"/><file name="system.xml" hash="da8418ee98c15e245d3c80e96e4a33e0"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="metrilo"><file name="favicon-metrilo.png" hash="743558f1e49a730be9d515197a36567b"/><file name="loader.gif" hash="e05e6bb35d035cac4f3e0c8af213e9ab"/><file name="logo.png" hash="e9e54afd81384e12f77aca4eaebf5be8"/><file name="styles.css" hash="da0c07513d917e4ad08ff50814b536e1"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="metrilo"><dir name="system"><dir name="config"><file name="button.phtml" hash="ae861308ebc1460950edcac10bf8024f"/><file name="hint.phtml" hash="5f2b4a07a5466e41043e7cb7a3f7ded8"/></dir></dir></dir></dir><dir name="layout"><file name="metrilo_analytics.xml" hash="0e6911e2e883992f2182969286d929b1"/></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="metrilo"><file name="head.phtml" hash="8bc0f1562031c7061110477cba3d662f"/></dir></dir><dir name="layout"><file name="metrilo_analytics.xml" hash="c7dcf4057bc31d906865e82159ac5eca"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Metrilo_Analytics.xml" hash="3a4dbecc4e093537f11dd4c8fa2756e7"/></dir></target></contents>
26
  <compatible/>
27
  <dependencies><required><php><min>5.2.1</min><max>5.6.30</max></php></required></dependencies>
28
  </package>