Sostanza_LiveHelp - Version 1.5.0

Version Notes

Security patches support Added. New plugin configuration with dynamic js button.

Download this release

Release Info

Developer a.laciura@sostanza.it
Extension Sostanza_LiveHelp
Version 1.5.0
Comparing to
See all releases


Code changes from version 1.0.5 to 1.5.0

app/code/community/Sostanza/Livehelp/.DS_Store DELETED
Binary file
app/code/community/Sostanza/Livehelp/Block/Adminhtml/Config/Source/Buttons.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ class Sostanza_Livehelp_Block_Adminhtml_Config_Source_Buttons
3
+ extends Mage_Adminhtml_Block_Abstract
4
+ implements Varien_Data_Form_Element_Renderer_Interface
5
+ {
6
+ protected $_livehelpID = false;
7
+ public function getLivehelpID()
8
+ {
9
+ if ($this->_livehelpID === false)
10
+ $this->_livehelpID = Mage::getStoreConfig('livehelp/widget/lhid');
11
+
12
+ return $this->_livehelpID;
13
+ }
14
+ public function render(Varien_Data_Form_Element_Abstract $element)
15
+ {
16
+ $id=$this->getLivehelpID();
17
+ if($id!=""){
18
+ $buttonSignUp = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array(
19
+ 'label' => $this->__('Login as Agent'),
20
+ 'onclick' => "window.open('http://server.livehelp.it/mobile/index2.asp?id=".$id."', '_blank');",
21
+ 'class' => 'go',
22
+ 'type' => 'button',
23
+ ))
24
+ ->toHtml();}
25
+
26
+ $buttonDashboard = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array(
27
+ 'label' => $this->__('Livehelp Dashboard'),
28
+ 'onclick' => "window.open('http://server.livehelp.it/', '_blank');",
29
+ 'class' => 'go',
30
+ 'type' => 'button',
31
+
32
+ ))
33
+ ->toHtml();
34
+ $buttonSite = $this->getLayout()->createBlock('adminhtml/widget_button')->setData(array(
35
+ 'label' => $this->__('Livehelp Site'),
36
+ 'onclick' => "window.open('http://www.livehelp.it?ref=mag_console/', '_blank');",
37
+ 'class' => 'go',
38
+ 'type' => 'button',
39
+
40
+ ))
41
+ ->toHtml();
42
+ return $html . '<p>' . $buttonSignUp . '&nbsp;' . $buttonDashboard . '&nbsp;' . $buttonSite . '</p>';
43
+
44
+ }
45
+ }
app/code/community/Sostanza/Livehelp/Block/Functions.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Sostanza_Livehelp_Block_Functions extends Mage_Core_Block_Template
4
+ {
5
+ protected $_livehelpID = false;
6
+ protected $_method = false;
7
+ protected $_dynamic = false;
8
+ protected $_button = false;
9
+ protected $_position = false;
10
+
11
+ public function isActive()
12
+ {
13
+ return Mage::getStoreConfigFlag('livehelp/widget/active') && $this->getLivehelpID();
14
+ }
15
+ public function getLivehelpID()
16
+ {
17
+ if ($this->_livehelpID === false)
18
+ $this->_livehelpID = Mage::getStoreConfig('livehelp/widget/lhid');
19
+
20
+ return $this->_livehelpID;
21
+ }
22
+ public function getWidgetMethod()
23
+ {
24
+ if ($this->_method === false)
25
+ $this->_method = Mage::getStoreConfig('livehelp/widget/method');
26
+ return $this->_method;
27
+ }
28
+ public function isCool()
29
+ {
30
+ return Mage::getStoreConfigFlag('livehelp/widget/method') && $this->getWidgetMethod();
31
+ }
32
+
33
+ public function getButton()
34
+ {
35
+ if ($this->_button === false)
36
+ $this->_button = Mage::getStoreConfig('livehelp/classicconfig/button_live');
37
+ return $this->_button;
38
+ }
39
+ public function getPosition()
40
+ {
41
+ if ($this->_position === false)
42
+ $this->_position = Mage::getStoreConfig('livehelp/classicconfig/button_position');
43
+ return $this->_position;
44
+ }
45
+ public function getDynamic()
46
+ {
47
+ if ($this->_dynamic === false)
48
+ $this->_dynamic = Mage::getStoreConfig('livehelp/advancedconfig/filter');
49
+ return $this->_dynamic;
50
+ }
51
+
52
+ }
app/code/community/Sostanza/Livehelp/Block/Livehelp.php DELETED
@@ -1,116 +0,0 @@
1
- <?php
2
- /**
3
- * Sostanza LiveHelp� chat
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 info@sostanza.it so we can send you a copy immediately.
14
- *
15
- * @category Sostanza
16
- * @package Sostanza_LiveHelp
17
- * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php
22
- class Sostanza_Livehelp_Block_Livehelp extends Mage_Core_Block_Abstract implements Mage_Widget_Block_Interface
23
- {
24
-
25
- protected function _toHtml()
26
- {
27
- $posizione=$this->getData('posizione');
28
- $bottone=$this->getData('bottone');
29
- $generatore = $this->getData('generatore');
30
- $ID = $this->getData('sostanza_livehelpID');
31
- $session['id']=$ID;
32
- if (empty($ID)) {
33
- return '';
34
- }
35
-
36
- if($generatore=="")
37
- {
38
- switch ($bottone)
39
- {
40
-
41
- case 'link':
42
- $href="<A HREF='#' OnClick='apri_livehelp(); return(false);'><font face=verdana size=2><B><u>Richiedi ASSISTENZA in chat</u></B></font></A>";
43
- break;
44
- case 'omino livehelp':
45
- $href='<A HREF="#" OnClick="apri_livehelp(); return(false);"><img border="0" src="http://server.livehelp.it/admin/logo_livehelp.asp?bottone=12&gruppo='.$ID.'&stanza="></A>';
46
- break;
47
- case 'bottone rosso':
48
- $href="<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=1&gruppo=".$ID."&stanza='></A>";
49
- break;
50
- case 'bottone con ragazza':
51
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=9&gruppo=".$ID."&stanza='></A>";
52
- break;
53
- case 'bottone con fumetto':
54
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=3&gruppo=".$ID."&stanza='></A>";
55
- break;
56
- case 'bottone con fumetto en':
57
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=7&gruppo=".$ID."&stanza='></A>";
58
- break;
59
- case 'bottone rosa':
60
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=8&gruppo=".$ID."&stanza='></A>";
61
- break;
62
- case 'bottone grigio-verde':
63
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=9&gruppo=".$ID."&stanza='></A>";
64
- break;
65
- case 'bottone grigio-rosso':
66
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=10&gruppo=".$ID."&stanza='></A>";
67
- break;
68
-
69
- case'bottone rosso EN':
70
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=17&gruppo=".$ID."&stanza='></A>";
71
- break;
72
- case'bottone grigio verde EN':
73
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=14&gruppo=".$ID."&stanza='></A>";
74
- break;
75
- case 'bottone grigio rosso EN':
76
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=20&gruppo=".$ID."&stanza='></A>";
77
- break;
78
- case 'bottone con ragazza green':
79
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=18&gruppo=".$ID."&stanza='></A>";
80
- break;
81
- case 'bottone con ragazza red':
82
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=19&gruppo=".$ID."&stanza='></A>";
83
- break;
84
- case 'non perdere tempo EN':
85
- $href = "<A HREF='#' OnClick='apri_livehelp(); return(false);'><img border='0' src='http://server.livehelp.it/admin/logo_livehelp.asp?bottone=15&gruppo=".$ID."&stanza='></A>";
86
- break;
87
-
88
- }
89
-
90
- switch ($posizione)
91
- {
92
- case 'bottom-left fixed':
93
- $span='<span style="display:block; bottom:0px; left:0px; position:fixed;z-index:15000;" id="LH2013">';
94
- break;
95
- case 'bottom-right fixed':
96
- $span='<span style="display:block; bottom:0px; right:0px; position:fixed;z-index:15000;" id="LH2013">';
97
- break;
98
- case 'inside':
99
- $span='<span id="LH2013">';
100
- break;
101
- }
102
- $html="<!-- INIZIO CODICE LiveHelp Copyright 1997 - 2014 www.livehelp.it Sostanza srl -->
103
- <SCRIPT language=javascript> function apri_livehelp() {var d=new Date(); nuovo_LiveHelp_".$ID."=window.open
104
- ('http://server.livehelp.it/client_user/default.asp?provenienza='+ escape(document.location.href)
105
- +'&info=&template=&stanza=".$stanza."&ID=".$ID."&gruppo=Assistenza&nick=&x=' + d.valueOf(),'LiveHelpwin1_".$ID."',
106
- 'status=no,location=no,toolbar=no,width=600,height=465,resizable=yes'); nuovo_LiveHelp_".$ID.".focus();} </SCRIPT>
107
- ".$span.$href."</span>
108
- <!-- FINE CODICE LiveHelp -->";
109
-
110
- // $html = $generatore;
111
- }
112
- else $html = $generatore;
113
- return $html;
114
-
115
- }
116
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Sostanza/Livehelp/Helper/Data.php CHANGED
@@ -1,25 +1,4 @@
1
  <?php
2
- /**
3
- * Sostanza LiveHelp� chat
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 info@sostanza.it so we can send you a copy immediately.
14
- *
15
- * @category Sostanza
16
- * @package Sostanza_LiveHelp
17
- * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
18
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
19
- */
20
- ?>
21
- <?php
22
  class Sostanza_Livehelp_Helper_Data extends Mage_Core_Helper_Abstract
23
- {
24
- /*******/
25
- }
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  class Sostanza_Livehelp_Helper_Data extends Mage_Core_Helper_Abstract
3
+ {
4
+ }
 
app/code/community/Sostanza/Livehelp/Model/Config/Source/GetCool.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Sostanza_Livehelp_Model_Config_Source_GetCool
4
+ {
5
+
6
+ protected $_livehelpID = false;
7
+
8
+ public function getLivehelpID() {
9
+
10
+ if($this->_livehelpID === false)
11
+
12
+ $this->_livehelpID = Mage::getStoreConfig('livehelp/widget/lhid');
13
+
14
+
15
+
16
+ return $this->_livehelpID;
17
+
18
+ }
19
+
20
+ public function toOptionArray()
21
+ {
22
+ $curl = curl_init();
23
+
24
+ $id=$this->getLivehelpID();
25
+ curl_setopt_array($curl, array(
26
+ CURLOPT_RETURNTRANSFER => 1,
27
+ CURLOPT_URL => 'http://server.livehelp.it/admin/widget_elenco_ajax.asp?idgruppo='.$id
28
+ ));
29
+
30
+ $resp = curl_exec($curl);
31
+
32
+ curl_close($curl);
33
+ $resp= substr_replace($resp ,"",-1);
34
+ $resp="0=>Choose a widget...,".$resp;
35
+ $asArr = explode(',', $resp);
36
+
37
+ foreach( $asArr as $val ){
38
+ $tmp = explode( '=>', $val );
39
+ $finalArray[ $tmp[0] ] = $tmp[1];
40
+ }
41
+ return $finalArray;
42
+
43
+ }
44
+ }
45
+ ?>
app/code/community/Sostanza/Livehelp/Model/Config/Source/GetLivehelpButton.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Sostanza_Livehelp_Model_Config_Source_getLivehelpButton
4
+ {
5
+
6
+
7
+ protected $_livehelpID = false;
8
+
9
+ public function getLivehelpID() {
10
+
11
+ if($this->_livehelpID === false)
12
+
13
+ $this->_livehelpID = Mage::getStoreConfig('livehelp/widget/lhid');
14
+
15
+
16
+
17
+ return $this->_livehelpID;
18
+
19
+ }
20
+ public function toOptionArray()
21
+ {
22
+
23
+ $curl = curl_init();
24
+ $id=$this->getLivehelpID();
25
+
26
+ curl_setopt_array($curl, array(
27
+ CURLOPT_RETURNTRANSFER => 1,
28
+ CURLOPT_URL => 'http://server.livehelp.it/admin/widget_elenco_ajax_magento.asp?idgruppo='.$id.'&bot=1'
29
+ ));
30
+ // Send the request & save response to $resp
31
+ $resp = curl_exec($curl);
32
+ // Close request to clear up some resources
33
+ curl_close($curl);
34
+
35
+
36
+ $resp="0=>Choose a button...,".$resp;
37
+ $asArr = explode(',', $resp);
38
+
39
+ foreach( $asArr as $val ){
40
+ $tmp = explode( '=>', $val );
41
+ $finalArray[ $tmp[0] ] = $tmp[1];
42
+ }
43
+ return $finalArray;
44
+
45
+ }
46
+ }
47
+ ?>
app/code/community/Sostanza/Livehelp/Model/Config/Source/GetLivehelpPosition.php ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Sostanza_Livehelp_Model_Config_Source_GetLivehelpPosition
4
+ {
5
+ /**
6
+ * Options getter
7
+ *
8
+ * @return array
9
+ */
10
+ public function toOptionArray()
11
+ {
12
+ return array(
13
+ array('value' => '0', 'label' => Mage::helper('livehelp')->__('Choose the position...')),
14
+ array('value' => 'l', 'label' => Mage::helper('livehelp')->__('Integrated in website graphic')),
15
+ array('value' => '2', 'label' => Mage::helper('livehelp')->__('Fixed at the bottom right')),
16
+ array('value' => '3', 'label' => Mage::helper('livehelp')->__('Fixed at the bottom left')),
17
+ );
18
+ }
19
+ }
app/code/community/Sostanza/Livehelp/controllers/Adminhtml/CustomController.php DELETED
@@ -1 +0,0 @@
1
- <?php
2
  * Sostanza LiveHelp® chat
3
  *
4
  * NOTICE OF LICENSE
5
  *
6
  * This source file is subject to the Open Software License (OSL 3.0)
7
  * that is bundled with this package in the file LICENSE.txt.
8
  * It is also available through the world-wide-web at this URL:
9
  * http://opensource.org/licenses/osl-3.0.php
10
  * If you did not receive a copy of the license and are unable to
11
  * obtain it through the world-wide-web, please send an email
12
  * to info@sostanza.it so we can send you a copy immediately.
13
  *
14
  * @category Sostanza
15
  * @package Sostanza_LiveHelp
16
  * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
17
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
18
  */
19
  public function indexAction()
20
  {
21
  $this->loadLayout()
22
  ->_setActiveMenu('mycustomtab')
23
  ->_title($this->__('Index Action'));
24
 
25
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/widget_instance/");
26
  $url = $key;
27
  $this->renderLayout();
28
  }
29
 
30
  public function listAction()
31
  {
32
  $this->loadLayout()
33
  ->_setActiveMenu('mycustomtab')
34
  ->_title($this->__('List Action'));
35
  //$url = 'http://server.livehelp.it/admin/main.asp';
36
  // $this->getResponse()->setRedirect($url);
37
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/custom/chat");
38
  $url = $key;
39
  $this->getResponse()->setRedirect($url);
40
  $this->renderLayout();
41
  }
42
  public function aboutAction()
43
  {
44
  $this->loadLayout()
45
  ->_setActiveMenu('mycustomtab')
46
  ->_title($this->__('About Action'));
47
  /* $url = "<script type='text/javascript'>window.open('http://www.livehelp.it/vedit/pagina.asp?pagina=1395')</script>";
48
  // $this->getResponse()->setRedirect('http://magentogiulia.ilbello.com/index.php/admin');
49
  $url2 = '/index.php/admin/widget_instance/index/key/'.$key2;*/
50
 
51
  $url = $key;
52
  $this->getResponse()->setRedirect($url);
53
 
54
  //$this->loadLayout();
55
  $this->renderLayout();
56
  }
57
  {
58
 
59
  /**
60
  * Retrieve the read connection
61
  */
62
  $readConnection = $resource->getConnection('core_read');
63
 
64
  /**
65
  * Retrieve our table name
66
  */
67
  //$sku = $readConnection->fetchOne($query);
68
 
69
  $this->loadLayout()
70
  ->_setActiveMenu('mycustomtab')
71
  ->_title($this->__('Chat Action'));
72
  ->createBlock('core/text', 'example-block')
73
  ->setText('clicca <a href="'.$url.'" target="blank">qui</a> per chattare<br/>');
74
  ->createBlock('core/text', 'example-block2')
75
  ->setText('clicca <a href="http://server.livehelp.it/admin/main.asp" target="blank">qui</a> per amministrare il tuo account<br/>');
76
  ->createBlock('core/text', 'example-block3')
77
  ->setText('clicca <a href="http://www.livehelp.it/index.asp?lingua=EN" target="blank">qui</a> per andare sul sito livehelp');
78
  <tr>
79
  <td><h1>What is LiveHelp®?</h1>
80
  <td rowspan="3"><img src="http://www.livehelp.it/vedit/15/img/business-opportunity.png"></td>
81
  </tr>
82
  <tr>
83
  <td>
84
  </tr>
85
  <tr>
86
  <td><a href="'.$url.'" target="blank"><button>Agent\'s login</button></a>
87
  </tr>
88
  ->createBlock('core/text', 'example-block4')
89
  ->setText($html);
90
  $this->renderLayout();
91
  }
 
0
  * Sostanza LiveHelp® chat
1
  *
2
  * NOTICE OF LICENSE
3
  *
4
  * This source file is subject to the Open Software License (OSL 3.0)
5
  * that is bundled with this package in the file LICENSE.txt.
6
  * It is also available through the world-wide-web at this URL:
7
  * http://opensource.org/licenses/osl-3.0.php
8
  * If you did not receive a copy of the license and are unable to
9
  * obtain it through the world-wide-web, please send an email
10
  * to info@sostanza.it so we can send you a copy immediately.
11
  *
12
  * @category Sostanza
13
  * @package Sostanza_LiveHelp
14
  * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
15
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
16
  */
17
  public function indexAction()
18
  {
19
  $this->loadLayout()
20
  ->_setActiveMenu('mycustomtab')
21
  ->_title($this->__('Index Action'));
22
 
23
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/widget_instance/");
24
  $url = $key;
25
  $this->renderLayout();
26
  }
27
 
28
  public function listAction()
29
  {
30
  $this->loadLayout()
31
  ->_setActiveMenu('mycustomtab')
32
  ->_title($this->__('List Action'));
33
  //$url = 'http://server.livehelp.it/admin/main.asp';
34
  // $this->getResponse()->setRedirect($url);
35
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/custom/chat");
36
  $url = $key;
37
  $this->getResponse()->setRedirect($url);
38
  $this->renderLayout();
39
  }
40
  public function aboutAction()
41
  {
42
  $this->loadLayout()
43
  ->_setActiveMenu('mycustomtab')
44
  ->_title($this->__('About Action'));
45
  /* $url = "<script type='text/javascript'>window.open('http://www.livehelp.it/vedit/pagina.asp?pagina=1395')</script>";
46
  // $this->getResponse()->setRedirect('http://magentogiulia.ilbello.com/index.php/admin');
47
  $url2 = '/index.php/admin/widget_instance/index/key/'.$key2;*/
48
 
49
  $url = $key;
50
  $this->getResponse()->setRedirect($url);
51
 
52
  //$this->loadLayout();
53
  $this->renderLayout();
54
  }
55
  {
56
 
57
  /**
58
  * Retrieve the read connection
59
  */
60
  $readConnection = $resource->getConnection('core_read');
61
 
62
  /**
63
  * Retrieve our table name
64
  */
65
  //$sku = $readConnection->fetchOne($query);
66
 
67
  $this->loadLayout()
68
  ->_setActiveMenu('mycustomtab')
69
  ->_title($this->__('Chat Action'));
70
  ->createBlock('core/text', 'example-block')
71
  ->setText('clicca <a href="'.$url.'" target="blank">qui</a> per chattare<br/>');
72
  ->createBlock('core/text', 'example-block2')
73
  ->setText('clicca <a href="http://server.livehelp.it/admin/main.asp" target="blank">qui</a> per amministrare il tuo account<br/>');
74
  ->createBlock('core/text', 'example-block3')
75
  ->setText('clicca <a href="http://www.livehelp.it/index.asp?lingua=EN" target="blank">qui</a> per andare sul sito livehelp');
76
  <tr>
77
  <td><h1>What is LiveHelp®?</h1>
78
  <td rowspan="3"><img src="http://www.livehelp.it/vedit/15/img/business-opportunity.png"></td>
79
  </tr>
80
  <tr>
81
  <td>
82
  </tr>
83
  <tr>
84
  <td><a href="'.$url.'" target="blank"><button>Agent\'s login</button></a>
85
  </tr>
86
  ->createBlock('core/text', 'example-block4')
87
  ->setText($html);
88
  $this->renderLayout();
89
  }
app/code/community/Sostanza/Livehelp/etc/adminhtml.xml CHANGED
@@ -1,61 +1,43 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <menu>
4
- <mycustomtab module="livehelp" translate="title">
5
- <title>LiveHelp®</title>
6
- <sort_order>10000</sort_order>
7
- <children>
8
- <index module="livehelp" translate="title">
9
- <title>Configure widget</title>
10
- <sort_order>1</sort_order>
11
- <action>adminhtml/custom</action>
12
- </index>
13
- <list module="livehelp" translate="title">
14
- <title>Dashboard</title>
15
- <sort_order>2</sort_order>
16
- <action>adminhtml/custom/list</action>
17
- </list>
18
- <chat module="livehelp" translate="title">
19
- <title>Agent's login</title>
20
- <sort_order>3</sort_order>
21
- <action>adminhtml/custom/chat</action>
22
- </chat>
23
- <about module="livehelp" translate="title">
24
- <title>About LiveHelp®</title>
25
- <sort_order>4</sort_order>
26
- <action>adminhtml/custom/about</action>
27
- </about>
28
- </children>
29
- </mycustomtab>
30
- </menu>
31
- <acl>
32
- <resources>
33
- <admin>
34
- <children>
35
- <custom translate="title" module="livehelp">
36
- <title>My Controller</title>
37
- <sort_order>-100</sort_order>
38
- <children>
39
- <index translate="title">
40
- <title>Index Action</title>
41
- <sort_order>1</sort_order>
42
- </index>
43
- <list translate="title">
44
- <title>List Action</title>
45
- <sort_order>2</sort_order>
46
- </list>
47
- <chat translate="title">
48
- <title>Chat Action</title>
49
- <sort_order>3</sort_order>
50
- </chat>
51
- <about translate="title">
52
- <title>About Action</title>
53
- <sort_order>3</sort_order>
54
- </about>
55
- </children>
56
- </custom>
57
- </children>
58
- </admin>
59
- </resources>
60
- </acl>
61
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <menu>
4
+ <livehelp module="livehelp" translate="title">
5
+ <title>LiveHelp®</title>
6
+ <sort_order>10000</sort_order>
7
+ <children>
8
+ <index module="livehelp" translate="title">
9
+ <title>Configure plugin</title>
10
+ <sort_order>1</sort_order>
11
+ <action>adminhtml/system_config/edit/section/livehelp</action>
12
+ </index>
13
+ </children>
14
+ </livehelp>
15
+ </menu>
16
+ <acl>
17
+ <resources>
18
+ <admin>
19
+ <children>
20
+ <sostanza_livehelp>
21
+ <children>
22
+ <livehelp>
23
+ <title>livehelp</title>
24
+ <sort_order>50</sort_order>
25
+ </livehelp>
26
+ </children>
27
+ </sostanza_livehelp>
28
+ <system>
29
+ <children>
30
+ <config>
31
+ <children>
32
+ <livehelp>
33
+ <title>Sostanza livehelp</title>
34
+ </livehelp>
35
+ </children>
36
+ </config>
37
+ </children>
38
+ </system>
39
+ </children>
40
+ </admin>
41
+ </resources>
42
+ </acl>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  </config>
app/code/community/Sostanza/Livehelp/etc/config.xml CHANGED
@@ -1,30 +1,42 @@
1
- <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
  <Sostanza_Livehelp>
5
- <version>1.0.0</version>
6
- <cache_lifetime>0</cache_lifetime>
7
  </Sostanza_Livehelp>
8
  </modules>
9
  <global>
 
 
 
 
 
10
  <helpers>
11
  <livehelp>
12
  <class>Sostanza_Livehelp_Helper</class>
13
  </livehelp>
14
  </helpers>
15
- <blocks>
16
  <livehelp>
17
- <class>Sostanza_Livehelp_Block</class>
18
  </livehelp>
19
- </blocks>
20
  </global>
 
 
 
 
 
 
 
 
 
21
  <admin>
22
  <routers>
23
  <adminhtml>
24
- <use>admin</use>
25
  <args>
26
  <modules>
27
- <foo_bar before="Mage_Adminhtml">Sostanza_Livehelp_Adminhtml</foo_bar>
28
  </modules>
29
  </args>
30
  </adminhtml>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
  <config>
3
  <modules>
4
  <Sostanza_Livehelp>
5
+ <version>1.2.0</version>
 
6
  </Sostanza_Livehelp>
7
  </modules>
8
  <global>
9
+ <blocks>
10
+ <livehelp>
11
+ <class>Sostanza_Livehelp_Block</class>
12
+ </livehelp>
13
+ </blocks>
14
  <helpers>
15
  <livehelp>
16
  <class>Sostanza_Livehelp_Helper</class>
17
  </livehelp>
18
  </helpers>
19
+ <models>
20
  <livehelp>
21
+ <class>Sostanza_Livehelp_Model</class>
22
  </livehelp>
23
+ </models>
24
  </global>
25
+ <frontend>
26
+ <layout>
27
+ <updates>
28
+ <livehelp>
29
+ <file>livehelp.xml</file>
30
+ </livehelp>
31
+ </updates>
32
+ </layout>
33
+ </frontend>
34
  <admin>
35
  <routers>
36
  <adminhtml>
 
37
  <args>
38
  <modules>
39
+ <livehelp before="Mage_Adminhtml">Sostanza_Livehelp_Adminhtml</livehelp>
40
  </modules>
41
  </args>
42
  </adminhtml>
app/code/community/Sostanza/Livehelp/etc/system.xml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <livehelp_config module="livehelp" translate="label">
5
+ <label>Livehelp®</label>
6
+ <sort_order>1</sort_order>
7
+ </livehelp_config>
8
+ </tabs>
9
+ <sections>
10
+ <livehelp translate="label" module="livehelp">
11
+ <label>Configure plugin</label>
12
+ <tab>livehelp_config</tab>
13
+ <frontend_type>text</frontend_type>
14
+ <sort_order>10</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <buttons>
20
+ <frontend_model>livehelp/adminhtml_config_source_buttons</frontend_model>
21
+ <sort_order>0</sort_order>
22
+ <show_in_default>1</show_in_default>
23
+ <show_in_website>1</show_in_website>
24
+ <show_in_store>1</show_in_store>
25
+ </buttons>
26
+ <widget module="livehelp" translate="label">
27
+ <label>Settings</label>
28
+ <frontend_type>text</frontend_type>
29
+ <sort_order>10</sort_order>
30
+ <show_in_default>1</show_in_default>
31
+ <show_in_website>1</show_in_website>
32
+ <show_in_store>1</show_in_store>
33
+ <fields>
34
+ <active module="livehelp" translate="label">
35
+ <label>Enable Livehelp®</label>
36
+ <frontend_type>select</frontend_type>
37
+ <source_model>adminhtml/system_config_source_yesno</source_model>
38
+ <sort_order>1</sort_order>
39
+ <show_in_default>1</show_in_default>
40
+ <show_in_website>1</show_in_website>
41
+ <show_in_store>1</show_in_store>
42
+ </active>
43
+ <lhid module="livehelp" translate="label">
44
+ <label>Livehelp® ID</label>
45
+ <frontend_type>text</frontend_type>
46
+ <sort_order>2</sort_order>
47
+ <show_in_default>1</show_in_default>
48
+ <show_in_website>1</show_in_website>
49
+ <show_in_store>1</show_in_store>
50
+ <comment><![CDATA[This is the 5 digit key found in your subscribe email. <b>Click "Save Config"</b> to update the widget configuration dropdown widgets.<br /> ]]>
51
+ </comment>
52
+ <depends>
53
+ <active>1</active>
54
+ </depends>
55
+ </lhid>
56
+ <method module="livehelp" translate="label">
57
+ <label>I want to use the easy way configuration</label>
58
+ <frontend_type>select</frontend_type>
59
+ <source_model>adminhtml/system_config_source_yesno</source_model>
60
+ <sort_order>3</sort_order>
61
+ <show_in_default>1</show_in_default>
62
+ <show_in_website>1</show_in_website>
63
+ <show_in_store>1</show_in_store>
64
+ </method>
65
+ </fields>
66
+ </widget>
67
+ <advancedconfig module="livehelp" translate="label">
68
+ <label>Widget Configuration: The new cool way</label>
69
+ <frontend_type>text</frontend_type>
70
+ <sort_order>20</sort_order>
71
+ <show_in_default>1</show_in_default>
72
+ <show_in_website>1</show_in_website>
73
+ <show_in_store>1</show_in_store>
74
+ <depends>
75
+ <widget_method>2</widget_method>
76
+ </depends>
77
+ <comment><![CDATA[If you have set a list of dinamic widget in <a href="http://server.livehelp.it" target=blank>Livehelp® dashboard</a>, you can select one below]]></comment>
78
+ <fields>
79
+ <filter module="livehelp" translate="label comment">
80
+ <label>Choose a dynamic js widget</label>
81
+ <frontend_type>select</frontend_type>
82
+ <source_model>livehelp/config_source_GetCool</source_model>
83
+ <comment><![CDATA[The list of your widgets. <b>Click "Save Config"</b> if you don't see any widget.]]></comment>
84
+ <sort_order>3</sort_order>
85
+ <show_in_default>2</show_in_default>
86
+ <show_in_website>1</show_in_website>
87
+ <show_in_store>1</show_in_store>
88
+ </filter>
89
+
90
+ </fields>
91
+ </advancedconfig>
92
+ <classicconfig module="livehelp" translate="label comment">
93
+ <label>Widget Configuration: The old easy way</label>
94
+ <frontend_type>text</frontend_type>
95
+ <sort_order>30</sort_order>
96
+ <show_in_default>2</show_in_default>
97
+ <show_in_website>1</show_in_website>
98
+ <show_in_store>1</show_in_store>
99
+ <fields>
100
+ <button_live module="livehelp" translate="label comment">
101
+ <label>Choose a button</label>
102
+ <frontend_type>select</frontend_type>
103
+ <!-- scelgo il tipo di congifurazione-->
104
+ <source_model>livehelp/config_source_getLivehelpButton</source_model>
105
+ <comment><![CDATA[The image of the button.]]></comment>
106
+ <sort_order>1</sort_order>
107
+ <show_in_default>1</show_in_default>
108
+ <show_in_website>1</show_in_website>
109
+ <show_in_store>1</show_in_store>
110
+ </button_live>
111
+ <button_position module="livehelp" translate="label comment">
112
+ <label>Position</label>
113
+ <frontend_type>select</frontend_type>
114
+ <source_model>livehelp/config_source_GetLivehelpPosition</source_model>
115
+ <comment><![CDATA[The position in the page of the button.]]></comment>
116
+ <sort_order>2</sort_order>
117
+ <show_in_default>1</show_in_default>
118
+ <show_in_website>1</show_in_website>
119
+ <show_in_store>1</show_in_store>
120
+ </button_position>
121
+ </fields>
122
+ </classicconfig>
123
+ </groups>
124
+ </livehelp>
125
+ </sections>
126
+ </config>
app/code/community/Sostanza/Livehelp/etc/widget.xml DELETED
@@ -1,123 +0,0 @@
1
- <widgets>
2
- <livehelp_livehelp type="livehelp/livehelp" translate="name description" module="livehelp">
3
- <name>LiveHelp® assistant</name>
4
- <description>Add LiveHelp® to your website.</description>
5
- <js></js>
6
- <parameters>
7
- <sostanza_livehelpID>
8
- <label>LiveHelp® ID</label>
9
- <visible>1</visible>
10
- <required>1</required>
11
- <type>text</type>
12
- <description><![CDATA[
13
- <a target="_blank" href="http://www.livehelp.it/vedit/15/landing-page.asp?campagna=magento">
14
- create an account</a> and paste the LiveHelp® ID.
15
- ]]></description>
16
- </sostanza_livehelpID>
17
- <bottone>
18
- <label>Choose the button</label>
19
- <visible>1</visible>
20
- <required>1</required>
21
- <type>select</type>
22
- <values>
23
- <link translate="label">
24
- <value>link</value>
25
- <label>link</label>
26
- </link>
27
- <omino translate="label">
28
- <value>omino livehelp</value>
29
- <label>omino livehelp</label>
30
- </omino>
31
- <rosso translate="label">
32
- <value>bottone rosso</value>
33
- <label>bottone rosso</label>
34
- </rosso>
35
- <ragazza translate="label">
36
- <value>bottone con ragazza</value>
37
- <label>bottone con ragazza</label>
38
- </ragazza>
39
- <fumetto translate="label">
40
- <value>bottone con fumetto</value>
41
- <label>bottone con fumetto</label>
42
- </fumetto>
43
- <fumetto_en translate="label">
44
- <value>bottone con fumetto en</value>
45
- <label>bottone con fumetto en</label>
46
- </fumetto_en>
47
- <rosa translate="label">
48
- <value>bottone rosa</value>
49
- <label>bottone rosa</label>
50
- </rosa>
51
- <grigio_verde translate="label">
52
- <value>bottone grigio-verde</value>
53
- <label>bottone grigio-verde</label>
54
- </grigio_verde>
55
- <grigio_rosso translate="label">
56
- <value>bottone grigio-rosso</value>
57
- <label>bottone grigio-rosso</label>
58
- </grigio_rosso>
59
- <bottone_rosso_EN translate="label">
60
- <value>bottone rosso EN</value>
61
- <label>bottone rosso EN</label>
62
- </bottone_rosso_EN>
63
- <bottone_grigio_verde_EN translate="label">
64
- <value>bottone grigio verde EN</value>
65
- <label>bottone grigio verde EN</label>
66
- </bottone_grigio_verde_EN>
67
- <bottone_grigio_rosso_EN translate="label">
68
- <value>bottone grigio rosso EN</value>
69
- <label>bottone grigio rosso EN</label>
70
- </bottone_grigio_rosso_EN>
71
- <bottone_con_ragazza_green translate="label">
72
- <value>bottone con ragazza green</value>
73
- <label>bottone con ragazza green</label>
74
- </bottone_con_ragazza_green>
75
- <bottone_con_ragazza_red translate="label">
76
- <value>bottone con ragazza red</value>
77
- <label>bottone con ragazza red</label>
78
- </bottone_con_ragazza_red>
79
- <non_perdere_tempo_EN translate="label">
80
- <value>non perdere tempo EN</value>
81
- <label>non perdere tempo EN</label>
82
- </non_perdere_tempo_EN>
83
- </values>
84
- <description>
85
- Choose the button to display on frontend
86
- </description>
87
- </bottone>
88
- <posizione>
89
- <label>Choose position</label>
90
- <visible>1</visible>
91
- <required>1</required>
92
- <type>select</type>
93
- <values>
94
- <left translate="label">
95
- <value>bottom-left fixed</value>
96
- <label>bottom-left fixed</label>
97
- </left>
98
- <right translate="label">
99
- <value>bottom-right fixed</value>
100
- <label>bottom-right fixed</label>
101
- </right>
102
- <inside translate="label">
103
- <value>inside</value>
104
- <label>inside</label>
105
- </inside>
106
- </values>
107
- <description>
108
- Choose the position of the button.
109
- </description>
110
- </posizione>
111
- <generatore>
112
- <label>Paste the html code for advanced configuration</label>
113
- <visible>1</visible>
114
- <required>0</required>
115
- <type>textarea</type>
116
- <description>go to the<![CDATA[
117
- <a target="_blank" href="http://server.livehelp.it/admin/default.asp?noarg">
118
- dashboard</a>.
119
- ]]></description>
120
- </generatore>
121
- </parameters>
122
- </livehelp_livehelp>
123
- </widgets>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Sostanza/Livehelp/livehelp_magento_guide.pdf DELETED
Binary file
app/design/frontend/base/default/layout/livehelp.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout>
3
+ <default>
4
+ <reference name="head">
5
+ <block type="livehelp/functions" name="livehelp_generator" template="livehelp/widget.phtml" />
6
+ </reference>
7
+
8
+ </default>
9
+ </layout>
app/design/frontend/base/default/template/livehelp/widget.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ($this->isActive()){
3
+ if ($this->isCool()){
4
+
5
+ ?>
6
+
7
+ <!-- Start LiveHelp Code Copyright 1997 - 2015 www.livehelp.it Sostanza srl -->
8
+ <SCRIPT language=javascript> function apri_livehelp() {var d=new Date(); nuovo_LiveHelp_<?php echo $this->getLivehelpID(); ?>=window.open('http://server.livehelp.it/client_user_resp/?provenienza='+ escape(document.location.href) +'&info=&template=10314&stanza=&ID=<?php echo $this->getLivehelpID(); ?>&gruppo=Assistenza&nick=&x=' + d.valueOf(),'LiveHelpwin1_<?php echo $this->getLivehelpID(); ?>', 'status=no,location=no,toolbar=no,width=600,height=465,resizable=yes'); nuovo_LiveHelp_<?php echo $this->getLivehelpID(); ?>.focus();} </SCRIPT>
9
+ <?php
10
+ if ($this->getPosition() != "0"){
11
+ if ($this->getPosition() == "1"){
12
+ $span = "<span id='LH2013'>";
13
+ }
14
+ if ($this->getPosition() == "2"){
15
+ $span = "<span style='display:block; bottom:0px; right:0px; position:fixed;z-index:15000;' id='LH2013'>";
16
+ }
17
+ if ($this->getPosition() == "3"){
18
+ $span = "<span style='display:block; bottom:0px; left:0px; position:fixed;z-index:15000;' id='LH2013'>";
19
+ }
20
+ echo $span;?>
21
+ <A HREF="#" OnClick="apri_livehelp(); return(false);"><img border="0" src="http://server.livehelp.it/admin/logo_livehelp.asp?bottone=<?php echo $this->getButton(); ?>&gruppo=<?php echo $this->getLivehelpID(); ?>&stanza="></A></span>
22
+ <!-- End LiveHelp code -->
23
+ <?php }?>
24
+ <?php
25
+ }else{
26
+
27
+ if ($this->getDynamic()!="0"){
28
+ ?>
29
+ <!-- Start LiveHelp activation widget - http://www.livehelp.it -->
30
+ <script type="text/javascript">
31
+ function LHready(){if(document.readyState == "complete"){(function(){ var lh=document.createElement("script");
32
+ lh.type="text/javascript"; lh.async=true;
33
+ lh.src="//server.livehelp.it/widgetjs/<?php echo $this->getLivehelpID(); ?>/<?php echo $this->getDynamic(); ?>.js?x=" + 1*new Date();
34
+ var node=document.getElementsByTagName("script")[0];
35
+ node.parentNode.insertBefore(lh,node);
36
+ })();} else {setTimeout('LHready()',150);}} LHready();
37
+ </script>
38
+ <?php
39
+ }
40
+ }
41
+ }?>
app/etc/modules/Sostanza_Livehelp.xml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Sostanza_Livehelp>
5
- <active>true</active>
6
- <codePool>community</codePool>
7
- </Sostanza_Livehelp>
8
- </modules>
9
- </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Sostanza_Livehelp>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Sostanza_Livehelp>
8
+ </modules>
9
+ </config>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sostanza_LiveHelp</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Livehelp for chat support</summary>
10
- <description>LiveHelp&amp;amp;#xAE; is the customer care service in which the company operator answers to customers' and prospects' questions directly in a real-time chat.</description>
11
- <notes>Added english button</notes>
12
  <authors><author><name>Alessandro La Ciura</name><user>alaciura</user><email>a.laciura@sostanza.it</email></author></authors>
13
- <date>2014-09-05</date>
14
- <time>12:32:09</time>
15
- <contents><target name="magecommunity"><dir name="Sostanza"><dir name="Livehelp"><dir name="Block"><file name="Livehelp.php" hash="79d4087024c9e0f0e116cc9364a6755f"/></dir><dir name="Helper"><file name="Data.php" hash="98334f85f503ecce4828aa25feeba4ee"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomController.php" hash="04447a1ff88085b8fcd32dd42d26223c"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="cbf52b8d3c14274c029097096f169e1b"/><file name="config.xml" hash="c245ef2a299a65440d97f2a514b60a7a"/><file name="widget.xml" hash="e011bdba9c38116690fd1edf4e9563e1"/></dir><file name="livehelp_magento_guide.pdf" hash="b78ca838407d7742be4e87b918a2ad20"/><file name=".DS_Store" hash="f41f525169d6272ff2c77dc5440285c6"/></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sostanza_Livehelp.xml" hash="b1746da8a328bf3aada246bd68bee59b"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sostanza_LiveHelp</name>
4
+ <version>1.5.0</version>
5
  <stability>stable</stability>
6
  <license>OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Livehelp for chat support.</summary>
10
+ <description>LiveHelp&amp;amp; is the customer care service in which the company operator answers to customers' and prospects' questions directly in a real-time chat.</description>
11
+ <notes>Security patches support Added. New plugin configuration with dynamic js button.</notes>
12
  <authors><author><name>Alessandro La Ciura</name><user>alaciura</user><email>a.laciura@sostanza.it</email></author></authors>
13
+ <date>2015-12-02</date>
14
+ <time>16:31:32</time>
15
+ <contents><target name="magecommunity"><dir name="Sostanza"><dir name="Livehelp"><dir name="Block"><dir name="Adminhtml"><dir name="Config"><dir name="Source"><file name="Buttons.php" hash="f451d7bd1d3407bde94d62e883e4ff03"/></dir></dir></dir><file name="Functions.php" hash="eee18361d5885bca72e9a5ca0df123a2"/></dir><dir name="Helper"><file name="Data.php" hash="02dcb95a2e4f313a6441f1c0778bdbf1"/></dir><dir name="Model"><dir name="Config"><dir name="Source"><file name="GetCool.php" hash="6c5a81784a9850032c70877fd017dd42"/><file name="GetLivehelpButton.php" hash="51baf3c4be6be8e4e424325ab93313ba"/><file name="GetLivehelpPosition.php" hash="59393c3e30f5f94565eb581844f922d2"/></dir></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="f25d6bb4d60701e09a46780311123964"/><file name="config.xml" hash="e9c538003755e5d3aca16d66d7a516b3"/><file name="system.xml" hash="b7f9b516f0fa5e80a70330a1a36c0339"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="livehelp.xml" hash="4cada04c2d968e0721a69c5287678889"/></dir><dir name="template"><dir name="livehelp"><file name="widget.phtml" hash="d679cd3a4dbc5302b7db09ee56009add"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sostanza_Livehelp.xml" hash="e233123489b59007400da8a42e60b0fa"/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>