Eepohs_Snoobi - Version 1.0.3

Version Notes

Changes 1.0.3 -> 1.0.3
* (FIX) Snoobi code before tag.
* (FIX) javascript comment

Changes 1.0.1 -> 1.0.2
* (CHANGE) Improved string handling for javascript (line breaks will now be removed)
* (CHANGE) Error handling if order or address not found
* (CHANGE) Snoobi code for orders now at the bottom of the page - should make it easier to use with old templates (after_body_start -> before_body_end)

Download this release

Release Info

Developer Magento Core Team
Extension Eepohs_Snoobi
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/community/Eepohs/Snoobi/Block/Order.php CHANGED
@@ -18,12 +18,12 @@ class Eepohs_Snoobi_Block_Order extends Mage_Core_Block_Text
18
  }
19
  } else {
20
  Mage::log('Eepohs_Snoobi: Could not load order!');
21
- $this->addText('<!-- Eepohs_Snoobi: Could not load order -->');
22
  return parent::_toHtml();
23
  }
24
  } else {
25
  Mage::log('Eepohs_Snoobi: No order ID!');
26
- $this->addText('<!-- Eepohs_Snoobi: No order ID -->');
27
  return parent::_toHtml();
28
  }
29
  $customer = Mage::getSingleton('customer/session')->getCustomer();
@@ -65,7 +65,8 @@ class Eepohs_Snoobi_Block_Order extends Mage_Core_Block_Text
65
  ');
66
  } else {
67
  $this->addText('
68
- <!-- Eepohs_Snoobi: Could not get address -->');
 
69
  }
70
 
71
  foreach ($order->getAllItems() as $item) {
18
  }
19
  } else {
20
  Mage::log('Eepohs_Snoobi: Could not load order!');
21
+ $this->addText('<!-- Eepohs_Snoobi: Could not load order! -->');
22
  return parent::_toHtml();
23
  }
24
  } else {
25
  Mage::log('Eepohs_Snoobi: No order ID!');
26
+ $this->addText('<!-- Eepohs_Snoobi: No order ID! -->');
27
  return parent::_toHtml();
28
  }
29
  $customer = Mage::getSingleton('customer/session')->getCustomer();
65
  ');
66
  } else {
67
  $this->addText('
68
+ // Eepohs_Snoobi: Could not get address!
69
+ ');
70
  }
71
 
72
  foreach ($order->getAllItems() as $item) {
app/code/community/Eepohs/Snoobi/etc/config.xml CHANGED
@@ -1,7 +1,7 @@
1
  <config>
2
  <modules>
3
  <Eepohs_Snoobi>
4
- <version>1.0.2</version>
5
  </Eepohs_Snoobi>
6
  </modules>
7
 
1
  <config>
2
  <modules>
3
  <Eepohs_Snoobi>
4
+ <version>1.0.3</version>
5
  </Eepohs_Snoobi>
6
  </modules>
7
 
app/design/frontend/default/default/layout/snoobi.xml CHANGED
@@ -6,10 +6,10 @@
6
  </default>
7
  <checkout_onepage_success>
8
  <reference name="head">
9
- <block type="page/html_head" name="snoobi_js" as="snoobi_js" template="snoobi/js.phtml" />
10
  </reference>
11
  <reference name="before_body_end">
12
- <block type="snoobi/order" name="snoobi_order" as="snoobi_order" />
13
  </reference>
14
  </checkout_onepage_success>
15
  <checkout_multishipping_success>
@@ -17,7 +17,7 @@
17
  <block type="page/html_head" name="snoobi_js" as="snoobi_js" template="snoobi/js.phtml" />
18
  </reference>
19
  <reference name="before_body_end">
20
- <block type="snoobi/order" name="snoobi_order" as="snoobi_order" />
21
  </reference>
22
  </checkout_multishipping_success>
23
  </layout>
6
  </default>
7
  <checkout_onepage_success>
8
  <reference name="head">
9
+ <block type="page/html_head" name="snoobi_js" as="snoobi_js" template="snoobi/js.phtml"/>
10
  </reference>
11
  <reference name="before_body_end">
12
+ <block type="snoobi/order" name="snoobi_order" as="snoobi_order" before="snoobi_tag" />
13
  </reference>
14
  </checkout_onepage_success>
15
  <checkout_multishipping_success>
17
  <block type="page/html_head" name="snoobi_js" as="snoobi_js" template="snoobi/js.phtml" />
18
  </reference>
19
  <reference name="before_body_end">
20
+ <block type="snoobi/order" name="snoobi_order" as="snoobi_order" before="snoobi_tag" />
21
  </reference>
22
  </checkout_multishipping_success>
23
  </layout>
package.xml CHANGED
@@ -1,21 +1,25 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eepohs_Snoobi</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Snoobi&#x2019;s e-Commerce Analytics module is a Magento extension that seamlessly integrates Snoobi&#x2019;s paid analytics service with web stores.</summary>
10
  <description>Snoobi&#x2019;s e-Commerce Analytics module is a free of charge Magento extension that seamlessly integrates Snoobi&#x2019;s paid analytics service with web stores, requiring no technical knowledge and very little experience with either Magento or Snoobi&#x2019;s service. Its features include page tracking, shopping cart tracking, product tracking, coupon tracking and the analysis of visitors to increase sales.</description>
11
- <notes>Changes 1.0.1 -&gt; 1.0.2&#xD;
 
 
 
 
12
  * (CHANGE) Improved string handling for javascript (line breaks will now be removed)&#xD;
13
  * (CHANGE) Error handling if order or address not found&#xD;
14
  * (CHANGE) Snoobi code for orders now at the bottom of the page - should make it easier to use with old templates (after_body_start -&gt; before_body_end)</notes>
15
- <authors><author><name>Eepohs Consulting</name><user>auto-converted</user><email>all@eepohs.com</email></author><author><name>Marie Fischer</name><user>auto-converted</user><email>marie@eepohs.com</email></author><author><name>Tanel Raja</name><user>auto-converted</user><email>tanel.raja@eepohs.com</email></author></authors>
16
- <date>2011-05-18</date>
17
- <time>12:45:18</time>
18
- <contents><target name="magecommunity"><dir name="Eepohs"><dir name="Snoobi"><dir name="Block"><file name="Info.php" hash="9e647cd9ceaa0f7ced9ab1d9b421b15a"/><file name="Order.php" hash="4611fa9ffa930edbe491afc1055096db"/><file name="Tag.php" hash="3416a0cf8b11abbf9d146f98c51eb15e"/></dir><dir name="Helper"><file name="Data.php" hash="a8591bdd702e3cba5f39265283683816"/></dir><dir name="controllers"><file name="IndexController.php" hash="ba39d8b3656cb43c0099ed52933b1ad2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5a2c761b911570a3fc805b5330984532"/><file name="config.xml" hash="e7b793d46fcffc87b66c045cbd531c9f"/><file name="system.xml" hash="84322aeaf253d48a602560ada8d1d09e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="snoobi.xml" hash="a19c719fbf9c89dd00715d45831e92dd"/></dir><dir name="template"><dir name="snoobi"><file name="js.phtml" hash="a87dacb2466c18d48c48914bd82909ac"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eepohs_Snoobi.xml" hash="eb97d10b18ca825860bc5bd134d42ee9"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eepohs_Snoobi.csv" hash="631f85d7faa14f9dd8fe5d45539fa3f9"/></dir><dir name="et_EE"><file name="Eepohs_Snoobi.csv" hash="72883c0f49b59e40739eaf553a89466f"/></dir><dir name="nl_NL"><file name="Eepohs_Snoobi.csv" hash="f1d0f9161b9eba33c38f15d9d6b16f0d"/></dir><dir name="sv_SE"><file name="Eepohs_Snoobi.csv" hash="06592e7a451344f09c01f8017138e654"/></dir><dir name="fi_FI"><file name="Eepohs_Snoobi.csv" hash="e64cdeb2e368cb2ab1fe276880deed30"/></dir></target></contents>
19
  <compatible/>
20
  <dependencies/>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Eepohs_Snoobi</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Snoobi&#x2019;s e-Commerce Analytics module is a Magento extension that seamlessly integrates Snoobi&#x2019;s paid analytics service with web stores.</summary>
10
  <description>Snoobi&#x2019;s e-Commerce Analytics module is a free of charge Magento extension that seamlessly integrates Snoobi&#x2019;s paid analytics service with web stores, requiring no technical knowledge and very little experience with either Magento or Snoobi&#x2019;s service. Its features include page tracking, shopping cart tracking, product tracking, coupon tracking and the analysis of visitors to increase sales.</description>
11
+ <notes>Changes 1.0.3 -&gt; 1.0.3&#xD;
12
+ * (FIX) Snoobi code before tag.&#xD;
13
+ * (FIX) javascript comment&#xD;
14
+ &#xD;
15
+ Changes 1.0.1 -&gt; 1.0.2&#xD;
16
  * (CHANGE) Improved string handling for javascript (line breaks will now be removed)&#xD;
17
  * (CHANGE) Error handling if order or address not found&#xD;
18
  * (CHANGE) Snoobi code for orders now at the bottom of the page - should make it easier to use with old templates (after_body_start -&gt; before_body_end)</notes>
19
+ <authors><author><name>Marie Fischer</name><user>auto-converted</user><email>marie@eepohs.com</email></author><author><name>Tanel Raja</name><user>auto-converted</user><email>tanel.raja@eepohs.com</email></author></authors>
20
+ <date>2011-08-09</date>
21
+ <time>01:13:03</time>
22
+ <contents><target name="magecommunity"><dir name="Eepohs"><dir name="Snoobi"><dir name="Block"><file name="Info.php" hash="9e647cd9ceaa0f7ced9ab1d9b421b15a"/><file name="Order.php" hash="e87beeb33ae2b28ba2528268f1b5cc56"/><file name="Tag.php" hash="3416a0cf8b11abbf9d146f98c51eb15e"/></dir><dir name="Helper"><file name="Data.php" hash="a8591bdd702e3cba5f39265283683816"/></dir><dir name="controllers"><file name="IndexController.php" hash="ba39d8b3656cb43c0099ed52933b1ad2"/></dir><dir name="etc"><file name="adminhtml.xml" hash="5a2c761b911570a3fc805b5330984532"/><file name="config.xml" hash="68b5ab039edc7a6df0d72c06585c256d"/><file name="system.xml" hash="84322aeaf253d48a602560ada8d1d09e"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="snoobi.xml" hash="789981d2e3a527e1f194615e77764b1f"/></dir><dir name="template"><dir name="snoobi"><file name="js.phtml" hash="a87dacb2466c18d48c48914bd82909ac"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Eepohs_Snoobi.xml" hash="eb97d10b18ca825860bc5bd134d42ee9"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Eepohs_Snoobi.csv" hash="631f85d7faa14f9dd8fe5d45539fa3f9"/></dir><dir name="et_EE"><file name="Eepohs_Snoobi.csv" hash="72883c0f49b59e40739eaf553a89466f"/></dir><dir name="nl_NL"><file name="Eepohs_Snoobi.csv" hash="f1d0f9161b9eba33c38f15d9d6b16f0d"/></dir><dir name="sv_SE"><file name="Eepohs_Snoobi.csv" hash="06592e7a451344f09c01f8017138e654"/></dir><dir name="fi_FI"><file name="Eepohs_Snoobi.csv" hash="e64cdeb2e368cb2ab1fe276880deed30"/></dir></target></contents>
23
  <compatible/>
24
  <dependencies/>
25
  </package>