talkable - Version 1.2.0

Version Notes

Extension provides:
- Invite Integration
- Post Purchase Integration
- Advocate Dashboard Integration
- Floating Widget Popup Integration

Note: Extension version 1.2 works with Talkable Integration library version 2.2 or higher.

Download this release

Release Info

Developer Talkable
Extension talkable
Version 1.2.0
Comparing to
See all releases


Code changes from version 1.1.0 to 1.2.0

app/code/community/Talkable/SocialReferrals/Helper/Data.php CHANGED
@@ -20,18 +20,6 @@ class Talkable_SocialReferrals_Helper_Data extends Mage_Core_Helper_Abstract
20
  return $this->_getTextConfigValue("general/site_id");
21
  }
22
 
23
- public function getIntegrationJsUrl()
24
- {
25
- if ($retval = $this->_getTextConfigValue("general/integration_js_url")) {
26
- return $retval;
27
- } else {
28
- return Mage::getConfig()
29
- ->loadModulesConfiguration("config.xml")
30
- ->getNode("default/socialreferrals/general")
31
- ->integration_js_url;
32
- }
33
- }
34
-
35
  //--------------------+
36
  // Talkable Campaigns |
37
  //--------------------+
20
  return $this->_getTextConfigValue("general/site_id");
21
  }
22
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  //--------------------+
24
  // Talkable Campaigns |
25
  //--------------------+
app/code/community/Talkable/SocialReferrals/etc/config.xml CHANGED
@@ -12,7 +12,7 @@
12
  <config>
13
  <modules>
14
  <Talkable_SocialReferrals>
15
- <version>1.1.0</version>
16
  </Talkable_SocialReferrals>
17
  </modules>
18
 
@@ -80,7 +80,6 @@
80
  <socialreferrals>
81
  <general>
82
  <site_id></site_id>
83
- <integration_js_url>//d2jjzw81hqbuqv.cloudfront.net/integration/talkable-2.2.min.js</integration_js_url>
84
  </general>
85
 
86
  <campaigns>
12
  <config>
13
  <modules>
14
  <Talkable_SocialReferrals>
15
+ <version>1.2.0</version>
16
  </Talkable_SocialReferrals>
17
  </modules>
18
 
80
  <socialreferrals>
81
  <general>
82
  <site_id></site_id>
 
83
  </general>
84
 
85
  <campaigns>
app/code/community/Talkable/SocialReferrals/etc/system.xml CHANGED
@@ -45,16 +45,6 @@
45
  <show_in_website>1</show_in_website>
46
  <show_in_store>1</show_in_store>
47
  </site_id>
48
-
49
- <integration_js_url translate="label">
50
- <label>Path to Integration JS file</label>
51
- <comment>(Only change this if you are sure you need to)</comment>
52
- <frontend_type>text</frontend_type>
53
- <sort_order>2</sort_order>
54
- <show_in_default>1</show_in_default>
55
- <show_in_website>1</show_in_website>
56
- <show_in_store>1</show_in_store>
57
- </integration_js_url>
58
  </fields>
59
  </general>
60
 
45
  <show_in_website>1</show_in_website>
46
  <show_in_store>1</show_in_store>
47
  </site_id>
 
 
 
 
 
 
 
 
 
 
48
  </fields>
49
  </general>
50
 
app/design/frontend/base/default/template/talkable/socialreferrals/head.phtml CHANGED
@@ -27,7 +27,7 @@
27
  _talkableq.push(["authenticate_customer", <?php echo Mage::helper("core")->jsonEncode($_helper->getCustomerData()) ?>]);
28
  //]]>
29
  </script>
30
- <script type="text/javascript" src="<?php echo $_helper->getIntegrationJsUrl() ?>"></script>
31
  <?php endif ?>
32
 
33
  <!-- End Talkable integration code -->
27
  _talkableq.push(["authenticate_customer", <?php echo Mage::helper("core")->jsonEncode($_helper->getCustomerData()) ?>]);
28
  //]]>
29
  </script>
30
+ <script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/clients/<?php echo $_helper->getSiteId() ?>.min.js"></script>
31
  <?php endif ?>
32
 
33
  <!-- End Talkable integration code -->
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>talkable</name>
4
- <version>1.1.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
@@ -20,11 +20,11 @@ See more at Talkable.com</description>
20
  - Advocate Dashboard Integration&#xD;
21
  - Floating Widget Popup Integration&#xD;
22
  &#xD;
23
- Note: Extension version 1.1 works with Talkable Integration library version 2.2 or higher.</notes>
24
  <authors><author><name>Talkable</name><user>talkable</user><email>sub@talkable.com</email></author></authors>
25
- <date>2016-03-15</date>
26
- <time>12:05:32</time>
27
- <contents><target name="magecommunity"><dir name="Talkable"><dir name="SocialReferrals"><dir name="Block"><dir name="Multishipping"><file name="Purchase.php" hash="6eaab3557bdf97f40a77c7b6e040e483"/></dir><file name="Purchase.php" hash="5cd37269372b88cec4657bf85077c1a4"/></dir><dir name="Helper"><file name="Data.php" hash="9c25df7d29303a12026c8c689ccdc6bb"/></dir><dir name="Model"><file name="Observer.php" hash="b9e5a92a24b018b14ccc64658326e92e"/></dir><dir name="controllers"><dir name="Customer"><file name="DashboardController.php" hash="3f715ff823d8b2709d3b6ee106685513"/></dir><file name="IndexController.php" hash="c08758b6a50bbc95ce09773818a6a7c4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f86a3e4bf980fa36aba8c0e33737e59"/><file name="config.xml" hash="3311fa7075df1ae0c27ea0a9636903b4"/><file name="system.xml" hash="24f2eab492ee493224ecd5dd198f3a1f"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="talkable"><file name="socialreferrals.xml" hash="c4731fc832bf3cdbe4fec6f6cd336549"/></dir></dir><dir name="template"><dir name="talkable"><dir name="socialreferrals"><file name="advocate_dashboard.phtml" hash="03011cd0bc0feaf6e1830f2137b60cf9"/><file name="floating_widget_popup.phtml" hash="a6609c2958561fd67c17b1654fcb8115"/><file name="head.phtml" hash="4e159f767e7e615b7d0f45617e242e9b"/><file name="invite.phtml" hash="443f021936f8583885e08fe444eb4693"/><file name="post_purchase.phtml" hash="755faddb0bc9b0ccceac03569348d4d3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Talkable_SocialReferrals.xml" hash="ed1152e3c169ac8e9d33219e5ec9fb47"/></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
30
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>talkable</name>
4
+ <version>1.2.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
7
  <channel>community</channel>
20
  - Advocate Dashboard Integration&#xD;
21
  - Floating Widget Popup Integration&#xD;
22
  &#xD;
23
+ Note: Extension version 1.2 works with Talkable Integration library version 2.2 or higher.</notes>
24
  <authors><author><name>Talkable</name><user>talkable</user><email>sub@talkable.com</email></author></authors>
25
+ <date>2016-04-25</date>
26
+ <time>13:31:16</time>
27
+ <contents><target name="magecommunity"><dir name="Talkable"><dir name="SocialReferrals"><dir name="Block"><dir name="Multishipping"><file name="Purchase.php" hash="6eaab3557bdf97f40a77c7b6e040e483"/></dir><file name="Purchase.php" hash="5cd37269372b88cec4657bf85077c1a4"/></dir><dir name="Helper"><file name="Data.php" hash="0649ed76123b3bc9f382423957f0efca"/></dir><dir name="Model"><file name="Observer.php" hash="b9e5a92a24b018b14ccc64658326e92e"/></dir><dir name="controllers"><dir name="Customer"><file name="DashboardController.php" hash="3f715ff823d8b2709d3b6ee106685513"/></dir><file name="IndexController.php" hash="c08758b6a50bbc95ce09773818a6a7c4"/></dir><dir name="etc"><file name="adminhtml.xml" hash="3f86a3e4bf980fa36aba8c0e33737e59"/><file name="config.xml" hash="ea56b368badea225496cec749b6979dd"/><file name="system.xml" hash="e3ef9c8b74fff498a9dc42db1a86a21c"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="talkable"><file name="socialreferrals.xml" hash="c4731fc832bf3cdbe4fec6f6cd336549"/></dir></dir><dir name="template"><dir name="talkable"><dir name="socialreferrals"><file name="advocate_dashboard.phtml" hash="03011cd0bc0feaf6e1830f2137b60cf9"/><file name="floating_widget_popup.phtml" hash="a6609c2958561fd67c17b1654fcb8115"/><file name="head.phtml" hash="c9c14a8f4f92662881dfd9935afc70c5"/><file name="invite.phtml" hash="443f021936f8583885e08fe444eb4693"/><file name="post_purchase.phtml" hash="755faddb0bc9b0ccceac03569348d4d3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Talkable_SocialReferrals.xml" hash="ed1152e3c169ac8e9d33219e5ec9fb47"/></dir></target></contents>
28
  <compatible/>
29
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
30
  </package>