Version Notes
Support details statistic
Download this release
Release Info
Developer | Woomio |
Extension | Woo |
Version | 1.1.6 |
Comparing to | |
See all releases |
Code changes from version 1.1.5 to 1.1.6
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-install-1.1.5.php → data-install-1.1.6.php} +1 -1
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.10-1.1.5.php → data-upgrade-1.0.10-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.11-1.1.5.php → data-upgrade-1.0.11-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.12-1.1.5.php → data-upgrade-1.0.12-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.0-1.1.5.php → data-upgrade-1.1.0-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.1-1.1.5.php → data-upgrade-1.1.1-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.2-1.1.5.php → data-upgrade-1.1.2-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.3-1.1.5.php → data-upgrade-1.1.3-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.4-1.1.5.php → data-upgrade-1.1.4-1.1.6.php} +2 -2
- app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.5-1.1.6.php +36 -0
- app/code/local/Woomio/Tracker/etc/config.xml +1 -1
- app/code/local/Woomio/Tracker/sql/tracker_setup/{install-1.1.5.php → install-1.1.6.php} +0 -0
- app/design/frontend/base/default/layout/tracker.xml +1 -1
- app/design/frontend/base/default/template/woomio_tracker/tracking.phtml +1 -1
- app/etc/modules/Woomio_Tracker.xml +1 -1
- package.xml +4 -4
app/code/local/Woomio/Tracker/data/tracker_setup/{data-install-1.1.5.php → data-install-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Installing woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Installing woomio plugin 1.1.6. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.10-1.1.5.php → data-upgrade-1.0.10-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.0.10. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.11-1.1.5.php → data-upgrade-1.0.11-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.0.11. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.0.12-1.1.5.php → data-upgrade-1.0.12-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.0.12. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.0-1.1.5.php → data-upgrade-1.1.0-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.0. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.1-1.1.5.php → data-upgrade-1.1.1-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.1. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.2-1.1.5.php → data-upgrade-1.1.2-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.2. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.3-1.1.5.php → data-upgrade-1.1.3-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.3. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/{data-upgrade-1.1.4-1.1.5.php → data-upgrade-1.1.4-1.1.6.php}
RENAMED
@@ -12,7 +12,7 @@ if(is_numeric($data_key) === false) {
|
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
-
error_log("Updating to woomio plugin 1.1.
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
@@ -28,7 +28,7 @@ if(is_numeric($data_key) === false) {
|
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
-
$configModel->saveConfig('tracker/general/data_key', $
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
12 |
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.4. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
|
17 |
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
|
28 |
if($response !== false) {
|
29 |
$configModel = new Mage_Core_Model_Config();
|
30 |
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
//Make sure cache gets updated with the new config
|
33 |
$configModel->reinit();
|
34 |
Mage::app()->reinitStores();
|
app/code/local/Woomio/Tracker/data/tracker_setup/data-upgrade-1.1.5-1.1.6.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
function w_error_handler_1105($errno, $errstr, $errfile, $errline, $errcontext) {
|
3 |
+
error_log('An error occurred registering with woomio backend, and was bypassed. ' . $errno . ': ' . $errstr);
|
4 |
+
return true;
|
5 |
+
}
|
6 |
+
|
7 |
+
//Check if data_key is already in config and that it is a number
|
8 |
+
$data_key = Mage::getStoreConfig('tracker/general/data_key');
|
9 |
+
if(is_numeric($data_key) === false) {
|
10 |
+
$email = Mage::getStoreConfig('trans_email/ident_general/email');
|
11 |
+
$domain = Mage::getStoreConfig('web/unsecure/base_url');
|
12 |
+
$lang = substr(Mage::getStoreConfig('general/locale/code'), 0, 2);
|
13 |
+
$name = Mage::getStoreConfig('trans_email/ident_general/name');
|
14 |
+
|
15 |
+
error_log("Updating to woomio plugin 1.1.6 from 1.1.5. Email: " . $email . "; Domain: " . $domain . "; Lang: " . $lang . "; Name: " . $name);
|
16 |
+
|
17 |
+
$setup_callback_url = 'https://www.woomio.com/endpoints/RetailerSignup?name=' . urlencode($name) . '&domain=' . urlencode($domain) . '&country=' . urlencode($lang) . '&email=' . urlencode($email) . '&platform=1';
|
18 |
+
|
19 |
+
//Ignore errors returned by the server
|
20 |
+
$context = stream_context_create(array(
|
21 |
+
'http' => array('ignore_errors' => true)
|
22 |
+
));
|
23 |
+
|
24 |
+
set_error_handler('w_error_handler_1105');
|
25 |
+
$response = @file_get_contents($setup_callback_url, false, $context);
|
26 |
+
restore_error_handler();
|
27 |
+
|
28 |
+
if($response !== false) {
|
29 |
+
$configModel = new Mage_Core_Model_Config();
|
30 |
+
//We save to default since the plugin can only be one in a multistore setup anyhow
|
31 |
+
$configModel->saveConfig('tracker/general/data_key', $response, 'default', 0);
|
32 |
+
//Make sure cache gets updated with the new config
|
33 |
+
$configModel->reinit();
|
34 |
+
Mage::app()->reinitStores();
|
35 |
+
}
|
36 |
+
}
|
app/code/local/Woomio/Tracker/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Woomio_Tracker>
|
5 |
-
<version>1.1.
|
6 |
</Woomio_Tracker>
|
7 |
</modules>
|
8 |
<frontend>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Woomio_Tracker>
|
5 |
+
<version>1.1.6</version>
|
6 |
</Woomio_Tracker>
|
7 |
</modules>
|
8 |
<frontend>
|
app/code/local/Woomio/Tracker/sql/tracker_setup/{install-1.1.5.php → install-1.1.6.php}
RENAMED
File without changes
|
app/design/frontend/base/default/layout/tracker.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
-
<layout version="1.1.
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
<block type="tracker/tracking" name="tracking" as="tracker_tracking_head" template="woomio_tracker/tracking.phtml" />
|
1 |
<?xml version="1.0"?>
|
2 |
+
<layout version="1.1.6">
|
3 |
<default>
|
4 |
<reference name="head">
|
5 |
<block type="tracker/tracking" name="tracking" as="tracker_tracking_head" template="woomio_tracker/tracking.phtml" />
|
app/design/frontend/base/default/template/woomio_tracker/tracking.phtml
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
$VERSION = '1.1.
|
3 |
$DATAR = Mage::getStoreConfig('tracker/general/data_key');
|
4 |
?>
|
5 |
<?php if($DATAR):?>
|
1 |
<?php
|
2 |
+
$VERSION = '1.1.6';
|
3 |
$DATAR = Mage::getStoreConfig('tracker/general/data_key');
|
4 |
?>
|
5 |
<?php if($DATAR):?>
|
app/etc/modules/Woomio_Tracker.xml
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
<Woomio_Tracker>
|
5 |
<active>true</active>
|
6 |
<codePool>local</codePool>
|
7 |
-
<version>1.1.
|
8 |
</Woomio_Tracker>
|
9 |
</modules>
|
10 |
</config>
|
4 |
<Woomio_Tracker>
|
5 |
<active>true</active>
|
6 |
<codePool>local</codePool>
|
7 |
+
<version>1.1.6</version>
|
8 |
</Woomio_Tracker>
|
9 |
</modules>
|
10 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Woo</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.woomio.com">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
@@ -23,9 +23,9 @@ Compatibility
|
|
23 |
Woomio is fully compatible with all Magento versions and modules.</description>
|
24 |
<notes>Support details statistic </notes>
|
25 |
<authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
|
26 |
-
<date>2015-08-
|
27 |
-
<time>
|
28 |
-
<contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/><file name="Tracking.php" hash="1e3cb6eb08e18f13913b3a172571603d"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="1051776a9a12c70554447141cdc906b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="f832fec73719f37b02ecdd09ff6b790a"/></dir><dir name="data"><dir name="tracker_setup"><file name="data-install-1.1.
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
31 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Woo</name>
|
4 |
+
<version>1.1.6</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.woomio.com">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
23 |
Woomio is fully compatible with all Magento versions and modules.</description>
|
24 |
<notes>Support details statistic </notes>
|
25 |
<authors><author><name>Woomio</name><user>Woomio</user><email>developer@woomio.com</email></author></authors>
|
26 |
+
<date>2015-08-18</date>
|
27 |
+
<time>09:59:45</time>
|
28 |
+
<contents><target name="magelocal"><dir name="Woomio"><dir name="Tracker"><dir name="Block"><file name="Index.php" hash="949b7c689724a7eeeba5168a9cf03507"/><file name="Tracking.php" hash="1e3cb6eb08e18f13913b3a172571603d"/></dir><dir name="Helper"><file name="Data.php" hash="53a3a643e1eea3a72e02b5c64daa9edd"/></dir><dir name="Model"><file name="Observer.php" hash="1051776a9a12c70554447141cdc906b5"/></dir><dir name="controllers"><file name="IndexController.php" hash="f832fec73719f37b02ecdd09ff6b790a"/></dir><dir name="data"><dir name="tracker_setup"><file name="data-install-1.1.6.php" hash="32795a04d0e94394182203360d5a79cb"/><file name="data-upgrade-1.0.10-1.1.6.php" hash="a6d03f2fed98b80606492516909cabe3"/><file name="data-upgrade-1.0.11-1.1.6.php" hash="da520315da60f86aafeac17f4cae3ec7"/><file name="data-upgrade-1.0.12-1.1.6.php" hash="c828db25628da5739a41341b2934d5b9"/><file name="data-upgrade-1.1.0-1.1.6.php" hash="4260b434c65751f763cdfb8891fe67f2"/><file name="data-upgrade-1.1.1-1.1.6.php" hash="d1acd8bd934f141f42092d019fca414d"/><file name="data-upgrade-1.1.2-1.1.6.php" hash="6039751de373ce45ad818e9cbf69c675"/><file name="data-upgrade-1.1.3-1.1.6.php" hash="f2d0afccf85901e707ce2e1632708a12"/><file name="data-upgrade-1.1.4-1.1.6.php" hash="002eb1ea073547c6db62f9239402a6ef"/><file name="data-upgrade-1.1.5-1.1.6.php" hash="1219df73e6a1d6ee806fb8abd1b48dbb"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f4f46675a9901fece5c8b74bb44f7d27"/><file name="config.xml" hash="ee0145f5590aa7946343b70d34e9ee9a"/></dir><dir name="sql"><dir name="tracker_setup"><file name="install-1.1.6.php" hash="655bbf18c1da631e72f068d26ea42f86"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="tracker.xml" hash="fabefc844657e5eca96ff9a6bff71a4a"/></dir><dir name="template"><dir name="woomio_tracker"><file name="tracking.phtml" hash="0cd1b8ddf7d743f6a967bbfe32044e79"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Woomio_Tracker.xml" hash="da5af9591bfe0efd72462a49ba3f03c4"/></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
31 |
</package>
|