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.1 |
Comparing to | |
See all releases |
Code changes from version 1.2.0 to 1.2.1
app/code/community/Talkable/SocialReferrals/Helper/Data.php
CHANGED
@@ -24,19 +24,6 @@ class Talkable_SocialReferrals_Helper_Data extends Mage_Core_Helper_Abstract
|
|
24 |
// Talkable Campaigns |
|
25 |
//--------------------+
|
26 |
|
27 |
-
/**
|
28 |
-
* @return bool Whether or not Talkable Integration is enabled
|
29 |
-
*/
|
30 |
-
public function isEnabled()
|
31 |
-
{
|
32 |
-
return (
|
33 |
-
$this->isInviteEnabled() ||
|
34 |
-
$this->isPostPurchaseEnabled() ||
|
35 |
-
$this->isAdvocateDashboardEnabled() ||
|
36 |
-
$this->isFloatingWidgetPopupEnabled()
|
37 |
-
);
|
38 |
-
}
|
39 |
-
|
40 |
/**
|
41 |
* @return bool Whether or not Post Purchase Integration is enabled
|
42 |
*/
|
24 |
// Talkable Campaigns |
|
25 |
//--------------------+
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
/**
|
28 |
* @return bool Whether or not Post Purchase Integration is enabled
|
29 |
*/
|
app/code/community/Talkable/SocialReferrals/etc/config.xml
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Talkable_SocialReferrals>
|
15 |
-
<version>1.2.
|
16 |
</Talkable_SocialReferrals>
|
17 |
</modules>
|
18 |
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Talkable_SocialReferrals>
|
15 |
+
<version>1.2.1</version>
|
16 |
</Talkable_SocialReferrals>
|
17 |
</modules>
|
18 |
|
app/design/frontend/base/default/template/talkable/socialreferrals/head.phtml
CHANGED
@@ -11,24 +11,23 @@
|
|
11 |
|
12 |
<?php $_helper = $this->helper("socialreferrals") ?>
|
13 |
|
14 |
-
|
15 |
-
<!-- Begin Talkable integration code -->
|
16 |
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
|
|
26 |
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
<?php endif ?>
|
32 |
-
|
33 |
-
<!-- End Talkable integration code -->
|
34 |
<?php endif ?>
|
|
|
|
11 |
|
12 |
<?php $_helper = $this->helper("socialreferrals") ?>
|
13 |
|
14 |
+
<!-- Begin Talkable integration code -->
|
|
|
15 |
|
16 |
+
<?php if ($_helper->getSiteId() == ""): ?>
|
17 |
+
<!-- Talkable Site ID is blank, check your Talkable extension settings -->
|
18 |
+
<script type="text/javascript" src="//d2jjzw81hqbuqv.cloudfront.net/integration/talkable-2.2.min.js"></script>
|
19 |
+
<?php else: ?>
|
20 |
+
<script type="text/javascript">
|
21 |
+
//<![CDATA[
|
22 |
+
var _talkableq = _talkableq || [];
|
23 |
+
_talkableq.push(["init", {
|
24 |
+
site_id: "<?php echo $_helper->getSiteId() ?>"
|
25 |
+
}]);
|
26 |
|
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.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
@@ -22,9 +22,9 @@ See more at Talkable.com</description>
|
|
22 |

|
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-
|
26 |
-
<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="
|
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.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/mit-license.php">MIT License</license>
|
7 |
<channel>community</channel>
|
22 |

|
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-05-31</date>
|
26 |
+
<time>09:42:54</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="15445d2b9dd202461b507464b5b191ce"/></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="f16b04e72a9eb200efae0516d52de5de"/><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="8e840da2a95bf27301eabc57ffd57250"/><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>
|