Version Notes
Tagove will help you cut the waiting time for phone calls to reach out your customers.
Download this release
Release Info
Developer | Tagove Chat |
Extension | JTT_Tagove |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.5 to 1.0.7
- app/code/community/JTT/Tagove/Block/Script.php +122 -92
- app/code/community/JTT/Tagove/Helper/Data.php +16 -16
- app/code/community/JTT/Tagove/Model/Observer.php +94 -0
- app/code/community/JTT/Tagove/etc/config.xml +54 -54
- app/code/community/JTT/Tagove/etc/system.xml +79 -79
- app/design/frontend/base/default/layout/tagove.xml +18 -18
- app/design/frontend/base/default/template/tagove/main.phtml +0 -0
- app/etc/modules/JTT_Tagove.xml +8 -8
- package.xml +37 -37
app/code/community/JTT/Tagove/Block/Script.php
CHANGED
@@ -1,92 +1,122 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* JTTTagove extension for Magento
|
4 |
-
*
|
5 |
-
* @package JTTTagove
|
6 |
-
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
7 |
-
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
8 |
-
* @license Open Source License (OSL)
|
9 |
-
*/
|
10 |
-
|
11 |
-
/**
|
12 |
-
* JTTTagove Page Block
|
13 |
-
*/
|
14 |
-
define('TAGOVE_URL','app.tagove.com');
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
*
|
20 |
-
*
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
$result
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
'
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
$chat_code_exist
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
$
|
64 |
-
|
65 |
-
|
66 |
-
'
|
67 |
-
'
|
68 |
-
'Password'=>$tagove_password,
|
69 |
-
));
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* JTTTagove extension for Magento
|
4 |
+
*
|
5 |
+
* @package JTTTagove
|
6 |
+
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
7 |
+
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
8 |
+
* @license Open Source License (OSL)
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* JTTTagove Page Block
|
13 |
+
*/
|
14 |
+
define('TAGOVE_URL','app.tagove.com');
|
15 |
+
//define('TAGOVE_URL','surendra.dev.tagove.com');
|
16 |
+
class JTT_Tagove_Block_Script extends Mage_Core_Block_Template
|
17 |
+
{
|
18 |
+
/**
|
19 |
+
* Retrieve Code Data HTML
|
20 |
+
*
|
21 |
+
* @return string
|
22 |
+
*/
|
23 |
+
private function getPostUrlContents($url,$data){
|
24 |
+
|
25 |
+
if(function_exists('curl_init')){
|
26 |
+
$ch = curl_init();
|
27 |
+
|
28 |
+
// define options
|
29 |
+
$optArray = array(
|
30 |
+
CURLOPT_URL => 'https://'.TAGOVE_URL.'/'.$url,
|
31 |
+
CURLOPT_RETURNTRANSFER => true,
|
32 |
+
CURLOPT_POSTFIELDS =>1,
|
33 |
+
CURLOPT_SSL_VERIFYPEER =>0,
|
34 |
+
CURLOPT_POSTFIELDS=>http_build_query($data)
|
35 |
+
);
|
36 |
+
|
37 |
+
curl_setopt_array($ch, $optArray);
|
38 |
+
|
39 |
+
$result = curl_exec($ch);
|
40 |
+
return $result;
|
41 |
+
} else {
|
42 |
+
|
43 |
+
return file_get_contents('http://'.TAGOVE_URL.'/'.$url,false,stream_context_create(array(
|
44 |
+
'http' => array(
|
45 |
+
'method' => 'POST',
|
46 |
+
'header' => 'Content-type: application/x-www-form-urlencoded',
|
47 |
+
'content' => http_build_query($data)
|
48 |
+
)
|
49 |
+
)));
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
public function tagove_chat() {
|
54 |
+
|
55 |
+
$data=array();
|
56 |
+
$chat_code_exist = Mage::getStoreConfig('tagove_options/jtt_tagove_enabled/tagove_status');
|
57 |
+
|
58 |
+
if ($chat_code_exist) {
|
59 |
+
|
60 |
+
$tagove_email = Mage::getStoreConfig('tagove_options/jtt_tagove/tagove_email');
|
61 |
+
$tagove_password = Mage::getStoreConfig('tagove_options/jtt_tagove/tagove_password');
|
62 |
+
|
63 |
+
$result = $this->getPostUrlContents('user/login',array(
|
64 |
+
'api'=>'true',
|
65 |
+
'Login'=>'Login',
|
66 |
+
'Email'=>$tagove_email,
|
67 |
+
'v5'=>'1',
|
68 |
+
'Password'=>$tagove_password,
|
69 |
+
));
|
70 |
+
|
71 |
+
if(stripos($result, 'error') !== false)
|
72 |
+
{
|
73 |
+
return "Login Failed";
|
74 |
+
|
75 |
+
}
|
76 |
+
else {
|
77 |
+
|
78 |
+
// $chat_script = $result;
|
79 |
+
// $chat_code;//die;
|
80 |
+
|
81 |
+
|
82 |
+
$code = $result;
|
83 |
+
$accounts = (array)json_decode($code);
|
84 |
+
if(empty($accounts)){
|
85 |
+
|
86 |
+
return "Something went wrong, please try after sometime!";
|
87 |
+
|
88 |
+
}else {
|
89 |
+
|
90 |
+
if (sizeof($accounts) > 1) {
|
91 |
+
|
92 |
+
foreach ($accounts as $account => $value) {
|
93 |
+
$code = $value;
|
94 |
+
// $_SESSION['accOption'] .= htmlspecialchars("<option value='". $value . "'>". $account . "</option>");
|
95 |
+
|
96 |
+
}
|
97 |
+
|
98 |
+
return htmlspecialchars_decode($code);
|
99 |
+
|
100 |
+
|
101 |
+
} else {
|
102 |
+
|
103 |
+
$code = "";
|
104 |
+
|
105 |
+
foreach ($accounts as $account => $value) {
|
106 |
+
|
107 |
+
$code = $value;
|
108 |
+
|
109 |
+
}
|
110 |
+
|
111 |
+
return htmlspecialchars_decode($code);
|
112 |
+
|
113 |
+
}
|
114 |
+
|
115 |
+
}
|
116 |
+
}
|
117 |
+
|
118 |
+
}
|
119 |
+
|
120 |
+
return null;
|
121 |
+
}
|
122 |
+
}
|
app/code/community/JTT/Tagove/Helper/Data.php
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* JTTTagove extension for Magento
|
4 |
-
*
|
5 |
-
* @package JTTTagove
|
6 |
-
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
7 |
-
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
8 |
-
* @license Open Source License (OSL)
|
9 |
-
*/
|
10 |
-
|
11 |
-
/**
|
12 |
-
* JTTTagove Page Block
|
13 |
-
*/
|
14 |
-
|
15 |
-
class JTT_Tagove_Helper_Data extends Mage_Core_Helper_Abstract
|
16 |
-
{
|
17 |
}
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* JTTTagove extension for Magento
|
4 |
+
*
|
5 |
+
* @package JTTTagove
|
6 |
+
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
7 |
+
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
8 |
+
* @license Open Source License (OSL)
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* JTTTagove Page Block
|
13 |
+
*/
|
14 |
+
|
15 |
+
class JTT_Tagove_Helper_Data extends Mage_Core_Helper_Abstract
|
16 |
+
{
|
17 |
}
|
app/code/community/JTT/Tagove/Model/Observer.php
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* JTTTagove extension for Magento
|
4 |
+
*
|
5 |
+
* @package JTTTagove
|
6 |
+
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
7 |
+
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
8 |
+
* @license Open Source License (OSL)
|
9 |
+
*/
|
10 |
+
|
11 |
+
/**
|
12 |
+
* JTTTagove Page Block
|
13 |
+
*/
|
14 |
+
|
15 |
+
define('TAGOVE_URL2','app.tagove.com');
|
16 |
+
|
17 |
+
class JTT_Tagove_Model_Observer
|
18 |
+
{
|
19 |
+
|
20 |
+
private function getPostUrlContents($url,$data){
|
21 |
+
|
22 |
+
if(function_exists('curl_init')){
|
23 |
+
$ch = curl_init();
|
24 |
+
|
25 |
+
// define options
|
26 |
+
$optArray = array(
|
27 |
+
CURLOPT_URL => 'http://'.TAGOVE_URL2.'/'.$url,
|
28 |
+
CURLOPT_RETURNTRANSFER => true,
|
29 |
+
CURLOPT_POSTFIELDS =>1,
|
30 |
+
CURLOPT_POSTFIELDS=>http_build_query($data)
|
31 |
+
);
|
32 |
+
|
33 |
+
curl_setopt_array($ch, $optArray);
|
34 |
+
|
35 |
+
$result = curl_exec($ch);
|
36 |
+
return $result;
|
37 |
+
} else {
|
38 |
+
|
39 |
+
return file_get_contents('http://'.TAGOVE_URL2.'/'.$url,false,stream_context_create(array(
|
40 |
+
'http' => array(
|
41 |
+
'method' => 'POST',
|
42 |
+
'header' => 'Content-type: application/x-www-form-urlencoded',
|
43 |
+
'content' => http_build_query($data)
|
44 |
+
)
|
45 |
+
)));
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
public function adminSystemConfigChangedTagove()
|
50 |
+
{
|
51 |
+
if(isset($_POST['groups']['jtt_tagove']['fields']['tagove_email']['value'], $_POST['groups']['jtt_tagove']['fields']['tagove_password']['value'])){
|
52 |
+
|
53 |
+
$tagove_email = $_POST['groups']['jtt_tagove']['fields']['tagove_email']['value'];
|
54 |
+
$tagove_password = $_POST['groups']['jtt_tagove']['fields']['tagove_password']['value'];
|
55 |
+
|
56 |
+
|
57 |
+
/*$result = $this->getPostUrlContents('user/login',array(
|
58 |
+
'api' => 'true',
|
59 |
+
'Login' => 'Login',
|
60 |
+
'Email' => $tagove_email,
|
61 |
+
'Password' => $tagove_password,
|
62 |
+
));
|
63 |
+
|
64 |
+
|
65 |
+
|
66 |
+
if(stripos($result, 'error') !== false)
|
67 |
+
{
|
68 |
+
|
69 |
+
}
|
70 |
+
else {
|
71 |
+
|
72 |
+
|
73 |
+
$chat_script = "<script type='text/javascript'>
|
74 |
+
(function() {
|
75 |
+
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
|
76 |
+
var refferer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
|
77 |
+
var location = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
|
78 |
+
po.src = '//".TAGOVE_URL2."/chat/getstatus/(site_uid)/$result/?r='+refferer+'&l='+location;
|
79 |
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
|
80 |
+
})();</script>";
|
81 |
+
|
82 |
+
|
83 |
+
$chat_code = base64_encode($chat_script);
|
84 |
+
|
85 |
+
//Mage::getConfig()->setNode('tagove_options/jtt_tagove/tagove_chat_code', $chat_code)->saveConfig();
|
86 |
+
|
87 |
+
//$_POST['groups']['jtt_tagove']['fields']['tagove_chat_code']['value'] = $chat_code;
|
88 |
+
|
89 |
+
}*/
|
90 |
+
}
|
91 |
+
|
92 |
+
}
|
93 |
+
}
|
94 |
+
?>
|
app/code/community/JTT/Tagove/etc/config.xml
CHANGED
@@ -1,55 +1,55 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<JTT_Tagove>
|
5 |
-
<version>0.0.1</version>
|
6 |
-
</JTT_Tagove>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<blocks>
|
10 |
-
<tagove>
|
11 |
-
<class>JTT_Tagove_Block</class>
|
12 |
-
</tagove>
|
13 |
-
</blocks>
|
14 |
-
<helpers>
|
15 |
-
<tagove>
|
16 |
-
<class>JTT_Tagove_Helper</class>
|
17 |
-
</tagove>
|
18 |
-
</helpers>
|
19 |
-
<models>
|
20 |
-
<tagove>
|
21 |
-
<class>JTT_Tagove_Model</class>
|
22 |
-
</tagove>
|
23 |
-
</models>
|
24 |
-
</global>
|
25 |
-
<frontend>
|
26 |
-
<layout>
|
27 |
-
<updates>
|
28 |
-
<tagove>
|
29 |
-
<file>tagove.xml</file>
|
30 |
-
</tagove>
|
31 |
-
</updates>
|
32 |
-
</layout>
|
33 |
-
</frontend>
|
34 |
-
<adminhtml>
|
35 |
-
<acl>
|
36 |
-
<resources>
|
37 |
-
<admin>
|
38 |
-
<children>
|
39 |
-
<system>
|
40 |
-
<children>
|
41 |
-
<config>
|
42 |
-
<children>
|
43 |
-
<tagove_options>
|
44 |
-
<title>JTT Tagove Section</title>
|
45 |
-
</tagove_options>
|
46 |
-
</children>
|
47 |
-
</config>
|
48 |
-
</children>
|
49 |
-
</system>
|
50 |
-
</children>
|
51 |
-
</admin>
|
52 |
-
</resources>
|
53 |
-
</acl>
|
54 |
-
</adminhtml>
|
55 |
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<JTT_Tagove>
|
5 |
+
<version>0.0.1</version>
|
6 |
+
</JTT_Tagove>
|
7 |
+
</modules>
|
8 |
+
<global>
|
9 |
+
<blocks>
|
10 |
+
<tagove>
|
11 |
+
<class>JTT_Tagove_Block</class>
|
12 |
+
</tagove>
|
13 |
+
</blocks>
|
14 |
+
<helpers>
|
15 |
+
<tagove>
|
16 |
+
<class>JTT_Tagove_Helper</class>
|
17 |
+
</tagove>
|
18 |
+
</helpers>
|
19 |
+
<models>
|
20 |
+
<tagove>
|
21 |
+
<class>JTT_Tagove_Model</class>
|
22 |
+
</tagove>
|
23 |
+
</models>
|
24 |
+
</global>
|
25 |
+
<frontend>
|
26 |
+
<layout>
|
27 |
+
<updates>
|
28 |
+
<tagove>
|
29 |
+
<file>tagove.xml</file>
|
30 |
+
</tagove>
|
31 |
+
</updates>
|
32 |
+
</layout>
|
33 |
+
</frontend>
|
34 |
+
<adminhtml>
|
35 |
+
<acl>
|
36 |
+
<resources>
|
37 |
+
<admin>
|
38 |
+
<children>
|
39 |
+
<system>
|
40 |
+
<children>
|
41 |
+
<config>
|
42 |
+
<children>
|
43 |
+
<tagove_options>
|
44 |
+
<title>JTT Tagove Section</title>
|
45 |
+
</tagove_options>
|
46 |
+
</children>
|
47 |
+
</config>
|
48 |
+
</children>
|
49 |
+
</system>
|
50 |
+
</children>
|
51 |
+
</admin>
|
52 |
+
</resources>
|
53 |
+
</acl>
|
54 |
+
</adminhtml>
|
55 |
</config>
|
app/code/community/JTT/Tagove/etc/system.xml
CHANGED
@@ -1,80 +1,80 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<tagove translate="label" module="tagove">
|
5 |
-
<label>Tagove</label>
|
6 |
-
<sort_order>1</sort_order>
|
7 |
-
</tagove>
|
8 |
-
</tabs>
|
9 |
-
|
10 |
-
<sections>
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
<tagove_options translate="label" module="tagove">
|
15 |
-
<label>Setting</label>
|
16 |
-
<tab>tagove</tab>
|
17 |
-
<frontend_type>text</frontend_type>
|
18 |
-
<sort_order>2</sort_order>
|
19 |
-
<show_in_default>1</show_in_default>
|
20 |
-
<show_in_website>1</show_in_website>
|
21 |
-
<show_in_store>1</show_in_store>
|
22 |
-
<groups>
|
23 |
-
|
24 |
-
<jtt_tagove_enabled translate="label">
|
25 |
-
<label>Status</label>
|
26 |
-
<frontend_type>text</frontend_type>
|
27 |
-
<sort_order>1</sort_order>
|
28 |
-
<show_in_default>1</show_in_default>
|
29 |
-
<show_in_website>1</show_in_website>
|
30 |
-
<show_in_store>1</show_in_store>
|
31 |
-
<fields>
|
32 |
-
<tagove_status>
|
33 |
-
<label>Enabled</label>
|
34 |
-
<frontend_type>select</frontend_type>
|
35 |
-
<source_model>adminhtml/system_config_source_yesno</source_model>
|
36 |
-
<sort_order>1</sort_order>
|
37 |
-
<show_in_default>1</show_in_default>
|
38 |
-
<show_in_website>1</show_in_website>
|
39 |
-
<show_in_store>1</show_in_store>
|
40 |
-
</tagove_status>
|
41 |
-
</fields>
|
42 |
-
</jtt_tagove_enabled>
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
<jtt_tagove translate="label">
|
47 |
-
<label>Login With Tagove to access chat widget</label>
|
48 |
-
<frontend_type>text</frontend_type>
|
49 |
-
<sort_order>2</sort_order>
|
50 |
-
<show_in_default>1</show_in_default>
|
51 |
-
<show_in_website>1</show_in_website>
|
52 |
-
<show_in_store>1</show_in_store>
|
53 |
-
<fields>
|
54 |
-
<tagove_email>
|
55 |
-
<label>Email</label>
|
56 |
-
<frontend_type>text</frontend_type>
|
57 |
-
<sort_order>1</sort_order>
|
58 |
-
<show_in_default>1</show_in_default>
|
59 |
-
<show_in_website>1</show_in_website>
|
60 |
-
<show_in_store>1</show_in_store>
|
61 |
-
<comment>Tagove account email id.</comment>
|
62 |
-
</tagove_email>
|
63 |
-
</fields>
|
64 |
-
|
65 |
-
<fields>
|
66 |
-
<tagove_password>
|
67 |
-
<label>Password</label>
|
68 |
-
<frontend_type>password</frontend_type>
|
69 |
-
<sort_order>2</sort_order>
|
70 |
-
<show_in_default>1</show_in_default>
|
71 |
-
<show_in_website>1</show_in_website>
|
72 |
-
<show_in_store>1</show_in_store>
|
73 |
-
<comment>Tagove account password.</comment>
|
74 |
-
</tagove_password>
|
75 |
-
</fields>
|
76 |
-
</jtt_tagove>
|
77 |
-
</groups>
|
78 |
-
</tagove_options>
|
79 |
-
</sections>
|
80 |
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<tabs>
|
4 |
+
<tagove translate="label" module="tagove">
|
5 |
+
<label>Tagove</label>
|
6 |
+
<sort_order>1</sort_order>
|
7 |
+
</tagove>
|
8 |
+
</tabs>
|
9 |
+
|
10 |
+
<sections>
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
<tagove_options translate="label" module="tagove">
|
15 |
+
<label>Setting</label>
|
16 |
+
<tab>tagove</tab>
|
17 |
+
<frontend_type>text</frontend_type>
|
18 |
+
<sort_order>2</sort_order>
|
19 |
+
<show_in_default>1</show_in_default>
|
20 |
+
<show_in_website>1</show_in_website>
|
21 |
+
<show_in_store>1</show_in_store>
|
22 |
+
<groups>
|
23 |
+
|
24 |
+
<jtt_tagove_enabled translate="label">
|
25 |
+
<label>Status</label>
|
26 |
+
<frontend_type>text</frontend_type>
|
27 |
+
<sort_order>1</sort_order>
|
28 |
+
<show_in_default>1</show_in_default>
|
29 |
+
<show_in_website>1</show_in_website>
|
30 |
+
<show_in_store>1</show_in_store>
|
31 |
+
<fields>
|
32 |
+
<tagove_status>
|
33 |
+
<label>Enabled</label>
|
34 |
+
<frontend_type>select</frontend_type>
|
35 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
36 |
+
<sort_order>1</sort_order>
|
37 |
+
<show_in_default>1</show_in_default>
|
38 |
+
<show_in_website>1</show_in_website>
|
39 |
+
<show_in_store>1</show_in_store>
|
40 |
+
</tagove_status>
|
41 |
+
</fields>
|
42 |
+
</jtt_tagove_enabled>
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
<jtt_tagove translate="label">
|
47 |
+
<label>Login With Tagove to access chat widget</label>
|
48 |
+
<frontend_type>text</frontend_type>
|
49 |
+
<sort_order>2</sort_order>
|
50 |
+
<show_in_default>1</show_in_default>
|
51 |
+
<show_in_website>1</show_in_website>
|
52 |
+
<show_in_store>1</show_in_store>
|
53 |
+
<fields>
|
54 |
+
<tagove_email>
|
55 |
+
<label>Email</label>
|
56 |
+
<frontend_type>text</frontend_type>
|
57 |
+
<sort_order>1</sort_order>
|
58 |
+
<show_in_default>1</show_in_default>
|
59 |
+
<show_in_website>1</show_in_website>
|
60 |
+
<show_in_store>1</show_in_store>
|
61 |
+
<comment>Tagove account email id.</comment>
|
62 |
+
</tagove_email>
|
63 |
+
</fields>
|
64 |
+
|
65 |
+
<fields>
|
66 |
+
<tagove_password>
|
67 |
+
<label>Password</label>
|
68 |
+
<frontend_type>password</frontend_type>
|
69 |
+
<sort_order>2</sort_order>
|
70 |
+
<show_in_default>1</show_in_default>
|
71 |
+
<show_in_website>1</show_in_website>
|
72 |
+
<show_in_store>1</show_in_store>
|
73 |
+
<comment>Tagove account password.</comment>
|
74 |
+
</tagove_password>
|
75 |
+
</fields>
|
76 |
+
</jtt_tagove>
|
77 |
+
</groups>
|
78 |
+
</tagove_options>
|
79 |
+
</sections>
|
80 |
</config>
|
app/design/frontend/base/default/layout/tagove.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* JTT_Tagove extension for Magento
|
5 |
-
*
|
6 |
-
* @package JTT_Tagove
|
7 |
-
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
8 |
-
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
9 |
-
* @license Open Source License (OSL)
|
10 |
-
*/
|
11 |
-
-->
|
12 |
-
<layout>
|
13 |
-
<default>
|
14 |
-
<reference name="before_body_end">
|
15 |
-
<block type="tagove/script" name="tagove_script" template="tagove/main.phtml" after="-" />
|
16 |
-
</reference>
|
17 |
-
</default>
|
18 |
-
</layout>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* JTT_Tagove extension for Magento
|
5 |
+
*
|
6 |
+
* @package JTT_Tagove
|
7 |
+
* @author Raju Jangid (http://www.justtotaltech.co.uk/)
|
8 |
+
* @copyright Copyright (c) 2015 Just Total Tech (http://www.justtotaltech.co.uk/)
|
9 |
+
* @license Open Source License (OSL)
|
10 |
+
*/
|
11 |
+
-->
|
12 |
+
<layout>
|
13 |
+
<default>
|
14 |
+
<reference name="before_body_end">
|
15 |
+
<block type="tagove/script" name="tagove_script" template="tagove/main.phtml" after="-" />
|
16 |
+
</reference>
|
17 |
+
</default>
|
18 |
+
</layout>
|
app/design/frontend/base/default/template/tagove/main.phtml
CHANGED
File without changes
|
app/etc/modules/JTT_Tagove.xml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<JTT_Tagove>
|
5 |
-
<active>true</active>
|
6 |
-
<codePool>community</codePool>
|
7 |
-
</JTT_Tagove>
|
8 |
-
</modules>
|
9 |
</config>
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<JTT_Tagove>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
</JTT_Tagove>
|
8 |
+
</modules>
|
9 |
</config>
|
package.xml
CHANGED
@@ -1,50 +1,50 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>JTT_Tagove</name>
|
4 |
-
<version>1.0.
|
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>Tagove will help you cut the waiting time for phone calls to reach out your customers.</summary>
|
10 |
-
<description>Tagove - Live Chat Software extensions to support your customers. It
|
11 |
-
<br /><br />
|
12 |
-
<h2>Features</h2>
|
13 |
-
<ul>
|
14 |
-
<li>Enable/disable chat from backend.</li>
|
15 |
-
<li>If admin is not available end user can leave a message.</li>
|
16 |
-
<li>No need to refresh page. Real-time, one-on-one personal user/prospect/customer/shopper assistance. End users can see a product up close.</li>
|
17 |
-
<li>Easy setup require only credential of tagove account .</li>
|
18 |
-
<li>Personal Interaction with customer</li>
|
19 |
-
<li>One Click Chat and Support All Platform</li>
|
20 |
-
<li>Video Audio and Text Chat</li>
|
21 |
-
<li>Analytics of website visitor </li>
|
22 |
-
</ul>
|
23 |
-
<h2>Reqirements</h2>
|
24 |
-
<p>Just install the extension and you are all set! No additional setup required. After extension installation, one-step tagove account creation and add credential of tagove in magento system config you are instantly online and can provide support for your customers.</p>
|
25 |
-
<h2>How to install Tagove - Live Chat Software extension for Magento?</h2>
|
26 |
-
<ol>
|
27 |
-
<li>To start with extension installation, please follow <b>System / Magento Connect / Magento Connect Manager</b>.</li>
|
28 |
-
<li>
|
29 |
-
You can either search for module via Magento Connect and paste extension key to install or upload the module package directly
|
30 |
-
Tagove - Live Chat Software module will appear in the list of available extensions after the installation has been completed
|
31 |
-
</li>
|
32 |
-
<li>
|
33 |
-
Log into your Tagove existing account or create a new one (Free) on <a href
|
34 |
-
</li>
|
35 |
-
<li>To proceed with integration, click <b>
|
36 |
-
|
37 |
-
<li>Make sure <b>
|
38 |
-
<li>
|
39 |
-
Check your operator console on your web browser, log into <a href
|
40 |
-
</li>
|
41 |
-
</ol>
|
42 |
-
For questions and suggestions, please use the contact form on the <a href
|
43 |
<notes>Tagove will help you cut the waiting time for phone calls to reach out your customers.</notes>
|
44 |
<authors><author><name>Tagove Chat</name><user>tagove</user><email>info@tagove.com</email></author></authors>
|
45 |
-
<date>
|
46 |
-
<time>
|
47 |
-
<contents><target name="
|
48 |
<compatible/>
|
49 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
50 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>JTT_Tagove</name>
|
4 |
+
<version>1.0.7</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>Tagove will help you cut the waiting time for phone calls to reach out your customers.</summary>
|
10 |
+
<description>Tagove - Live Chat Software extensions to support your customers. It&apos;s a unique platform for businesses to Maximise the sales with our Live Video, Voice and Text Chat software integrated Co-browsing and Screen sharing features with your website.&amp;#xD;
|
11 |
+
&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&amp;#xD;
|
12 |
+
&amp;lt;h2&amp;gt;Features&amp;lt;/h2&amp;gt;&amp;#xD;
|
13 |
+
&amp;lt;ul&amp;gt;&amp;#xD;
|
14 |
+
&amp;lt;li&amp;gt;Enable/disable chat from backend.&amp;lt;/li&amp;gt;&amp;#xD;
|
15 |
+
&amp;lt;li&amp;gt;If admin is not available end user can leave a message.&amp;lt;/li&amp;gt;&amp;#xD;
|
16 |
+
&amp;lt;li&amp;gt;No need to refresh page. Real-time, one-on-one personal user/prospect/customer/shopper assistance. End users can see a product up close.&amp;lt;/li&amp;gt;&amp;#xD;
|
17 |
+
&amp;lt;li&amp;gt;Easy setup require only credential of tagove account .&amp;lt;/li&amp;gt;&amp;#xD;
|
18 |
+
&amp;lt;li&amp;gt;Personal Interaction with customer&amp;lt;/li&amp;gt;&amp;#xD;
|
19 |
+
&amp;lt;li&amp;gt;One Click Chat and Support All Platform&amp;lt;/li&amp;gt;&amp;#xD;
|
20 |
+
&amp;lt;li&amp;gt;Video Audio and Text Chat&amp;lt;/li&amp;gt;&amp;#xD;
|
21 |
+
&amp;lt;li&amp;gt;Analytics of website visitor &amp;lt;/li&amp;gt;&amp;#xD;
|
22 |
+
&amp;lt;/ul&amp;gt;&amp;#xD;
|
23 |
+
&amp;lt;h2&amp;gt;Reqirements&amp;lt;/h2&amp;gt;&amp;#xD;
|
24 |
+
&amp;lt;p&amp;gt;Just install the extension and you are all set! No additional setup required. After extension installation, one-step tagove account creation and add credential of tagove in magento system config you are instantly online and can provide support for your customers.&amp;lt;/p&amp;gt;&amp;#xD;
|
25 |
+
&amp;lt;h2&amp;gt;How to install Tagove - Live Chat Software extension for Magento?&amp;lt;/h2&amp;gt;&amp;#xD;
|
26 |
+
&amp;lt;ol&amp;gt;&amp;#xD;
|
27 |
+
&amp;lt;li&amp;gt;To start with extension installation, please follow &amp;lt;b&amp;gt;System / Magento Connect / Magento Connect Manager&amp;lt;/b&amp;gt;.&amp;lt;/li&amp;gt;&amp;#xD;
|
28 |
+
&amp;lt;li&amp;gt;&amp;#xD;
|
29 |
+
You can either search for module via Magento Connect and paste extension key to install or upload the module package directly.&amp;#xD;
|
30 |
+
Tagove - Live Chat Software module will appear in the list of available extensions after the installation has been completed.&amp;#xD;
|
31 |
+
&amp;lt;/li&amp;gt;&amp;#xD;
|
32 |
+
&amp;lt;li&amp;gt;&amp;#xD;
|
33 |
+
Log into your Tagove existing account or create a new one (Free) on &amp;lt;a href=&quot;http://app.tagove.com/&quot;&amp;gt;app.tagove.com&amp;lt;/a&amp;gt;.&amp;#xD;
|
34 |
+
&amp;lt;/li&amp;gt;&amp;#xD;
|
35 |
+
&amp;lt;li&amp;gt;To proceed with integration, click &amp;lt;b&amp;gt;&apos;Sysytem / Configuration&apos;&amp;lt;/b&amp;gt; link in your admin panel menu and choose &amp;lt;b&amp;gt;Tagove &amp;amp;gt; Setting&amp;lt;/b&amp;gt; from left tab.&amp;lt;/li&amp;gt;&amp;#xD;
|
36 |
+
&amp;#xD;
|
37 |
+
&amp;lt;li&amp;gt;Make sure &amp;lt;b&amp;gt;&apos;Enabled&apos;&amp;lt;/b&amp;gt; checkbox is checked in Status block, then enter your tagove account credential in block &amp;lt;b&amp;gt;Login With Tagove to access chat widget&amp;lt;/b&amp;gt; and click &amp;lt;b&amp;gt;&apos;Save Config&apos;&amp;lt;/b&amp;gt; to activate.&amp;lt;/li&amp;gt;&amp;#xD;
|
38 |
+
&amp;lt;li&amp;gt;&amp;#xD;
|
39 |
+
Check your operator console on your web browser, log into &amp;lt;a href=&quot;http://app.tagove.com/&quot;&amp;gt;Tagove App&amp;lt;/a&amp;gt; it using your credentials to appear online and start accepting chat requests.&amp;#xD;
|
40 |
+
&amp;lt;/li&amp;gt;&amp;#xD;
|
41 |
+
&amp;lt;/ol&amp;gt;&amp;#xD;
|
42 |
+
For questions and suggestions, please use the contact form on the &amp;lt;a href=&quot;http://www.tagove.com/contact/&quot;&amp;gt;contact page&amp;lt;/a&amp;gt;.</description>
|
43 |
<notes>Tagove will help you cut the waiting time for phone calls to reach out your customers.</notes>
|
44 |
<authors><author><name>Tagove Chat</name><user>tagove</user><email>info@tagove.com</email></author></authors>
|
45 |
+
<date>2017-01-06</date>
|
46 |
+
<time>13:33:35</time>
|
47 |
+
<contents><target name="magelocal"><dir name="."><file name="Tagove" hash=""/></dir></target><target name="mageetc"><dir name="modules"><file name="JTT_Tagove.xml" hash="b0cd21c6a86082e7c3a53ee2421aa505"/></dir></target></contents>
|
48 |
<compatible/>
|
49 |
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
|
50 |
</package>
|