Skip to content

Commit eeaaa87

Browse files
author
Dainis Tillers
committed
Fixed - show widget correctly in 1.9
1 parent 30f399c commit eeaaa87

File tree

3 files changed

+75
-7
lines changed

3 files changed

+75
-7
lines changed

Tawkto.xml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<_>
2-
<form_key>i5EhQVYD5TTaU6m4</form_key>
2+
<form_key>6tE5GGLJqnCwUULG</form_key>
33
<name>TawkTo</name>
44
<channel>community</channel>
55
<version_ids>
@@ -11,11 +11,9 @@ Tawk.to launched a beta version in Q4 2013 and mobile apps for Android and iOS a
1111
This agent-centric live chat software has been developed to meet the technical, functional, analytical, and UI requirements of the actual end user.</description>
1212
<license>OSL v3.0</license>
1313
<license_uri/>
14-
<version>1.0.0</version>
14+
<version>1.0.1</version>
1515
<stability>alpha</stability>
16-
<notes>Initial relase
17-
18-
*Allows to choose which widget you want to use</notes>
16+
<notes>Fix array issue with php &lt;= 5.3</notes>
1917
<authors>
2018
<name>
2119
<name>tawk</name>
@@ -44,7 +42,7 @@ This agent-centric live chat software has been developed to meet the technical,
4442
<max/>
4543
</max>
4644
<files>
47-
<files> </files>
45+
<files> </files>
4846
</files>
4947
</package>
5048
<extension>
@@ -67,21 +65,27 @@ This agent-centric live chat software has been developed to meet the technical,
6765
<target>magedesign</target>
6866
<target>mageetc</target>
6967
<target>magedesign</target>
68+
<target>magedesign</target>
69+
<target>magedesign</target>
7070
</target>
7171
<path>
7272
<path/>
7373
<path>Tawk</path>
7474
<path>adminhtml/default/default/template/tawk/customization.phtml</path>
7575
<path>frontend/default/default/layout/tawkwidget.xml</path>
7676
<path>modules/Tawk_Widget.xml</path>
77-
<path>frontend/default/default/template/tawk/embed.phtml</path>
77+
<path>frontend/default/default/template/tawk/</path>
78+
<path>frontend/base/default/template/tawk/</path>
79+
<path>frontend/base/default/layout/tawkwidget.xml</path>
7880
</path>
7981
<type>
8082
<type>file</type>
8183
<type>dir</type>
8284
<type>file</type>
8385
<type>file</type>
8486
<type>file</type>
87+
<type>dir</type>
88+
<type>dir</type>
8589
<type>file</type>
8690
</type>
8791
<include>
@@ -91,6 +95,8 @@ This agent-centric live chat software has been developed to meet the technical,
9195
<include/>
9296
<include/>
9397
<include/>
98+
<include/>
99+
<include/>
94100
</include>
95101
<ignore>
96102
<ignore/>
@@ -99,6 +105,8 @@ This agent-centric live chat software has been developed to meet the technical,
99105
<ignore/>
100106
<ignore/>
101107
<ignore/>
108+
<ignore/>
109+
<ignore/>
102110
</ignore>
103111
</contents>
104112
</_>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<!--
4+
/**
5+
* Tawk.to
6+
*
7+
* NOTICE OF LICENSE
8+
*
9+
* This source file is subject to the Open Software License (OSL 3.0)
10+
* that is bundled with this package in the file LICENSE.txt.
11+
* It is also available through the world-wide-web at this URL:
12+
* http://opensource.org/licenses/osl-3.0.php
13+
* If you did not receive a copy of the license and are unable to
14+
* obtain it through the world-wide-web, please send an email
15+
* to [email protected] so we can send you a copy immediately.
16+
*
17+
* @copyright Copyright (c) 2014 Tawk.to
18+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19+
*/
20+
-->
21+
22+
<layout version="0.1.0">
23+
24+
<default>
25+
<reference name="before_body_end">
26+
<block type="tawkwidget/embed"></block>
27+
</reference>
28+
</default>
29+
30+
</layout>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
/**
3+
* Tawk.to
4+
*
5+
* NOTICE OF LICENSE
6+
*
7+
* This source file is subject to the Open Software License (OSL 3.0)
8+
* that is bundled with this package in the file LICENSE.txt.
9+
* It is also available through the world-wide-web at this URL:
10+
* http://opensource.org/licenses/osl-3.0.php
11+
* If you did not receive a copy of the license and are unable to
12+
* obtain it through the world-wide-web, please send an email
13+
* to [email protected] so we can send you a copy immediately.
14+
*
15+
* @copyright Copyright (c) 2014 Tawk.to
16+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17+
*/
18+
?>
19+
<!--Start of Tawk.to Script-->
20+
<script type="text/javascript"> var $_Tawk_API={},$_Tawk_LoadStart=new Date();
21+
(function(){
22+
var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
23+
s1.async=true;
24+
s1.src='<?php echo $this->getEmbedUrl() ?>';
25+
s1.charset='UTF-8';
26+
s1.setAttribute('crossorigin','*');
27+
s0.parentNode.insertBefore(s1,s0);
28+
})();
29+
</script>
30+
<!--End of Tawk.to Script-->

0 commit comments

Comments
 (0)