Sostanza_LiveHelp - Version 1.0.2

Version Notes

Translation improvement

Download this release

Release Info

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


Code changes from version 1.0.1 to 1.0.2

app/code/community/Sostanza/Livehelp/controllers/Adminhtml/CustomController.php CHANGED
@@ -1 +1 @@
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 = '/index.php/admin/widget_instance/index/key/'.$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 = '/index.php/admin/custom/chat/key/'.$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 = '/index.php/admin/custom/chat/key/'.$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>Start assisting</button></a>
87
  </tr>
88
  ->createBlock('core/text', 'example-block4')
89
  ->setText($html);
90
  $this->renderLayout();
91
  }
 
92
  * Sostanza LiveHelp® chat
93
  *
94
  * NOTICE OF LICENSE
95
  *
96
  * This source file is subject to the Open Software License (OSL 3.0)
97
  * that is bundled with this package in the file LICENSE.txt.
98
  * It is also available through the world-wide-web at this URL:
99
  * http://opensource.org/licenses/osl-3.0.php
100
  * If you did not receive a copy of the license and are unable to
101
  * obtain it through the world-wide-web, please send an email
102
  * to info@sostanza.it so we can send you a copy immediately.
103
  *
104
  * @category Sostanza
105
  * @package Sostanza_LiveHelp
106
  * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
107
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
108
  */
109
  public function indexAction()
110
  {
111
  $this->loadLayout()
112
  ->_setActiveMenu('mycustomtab')
113
  ->_title($this->__('Index Action'));
114
 
115
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/widget_instance/");
116
  $url = '/index.php/admin/widget_instance/index/key/'.$key;
117
  $this->renderLayout();
118
  }
119
 
120
  public function listAction()
121
  {
122
  $this->loadLayout()
123
  ->_setActiveMenu('mycustomtab')
124
  ->_title($this->__('List Action'));
125
  //$url = 'http://server.livehelp.it/admin/main.asp';
126
  // $this->getResponse()->setRedirect($url);
127
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/custom/chat");
128
  $url = '/index.php/admin/custom/chat/key/'.$key;
129
  $this->getResponse()->setRedirect($url);
130
  $this->renderLayout();
131
  }
132
  public function aboutAction()
133
  {
134
  $this->loadLayout()
135
  ->_setActiveMenu('mycustomtab')
136
  ->_title($this->__('About Action'));
137
  /* $url = "<script type='text/javascript'>window.open('http://www.livehelp.it/vedit/pagina.asp?pagina=1395')</script>";
138
  // $this->getResponse()->setRedirect('http://magentogiulia.ilbello.com/index.php/admin');
139
  $url2 = '/index.php/admin/widget_instance/index/key/'.$key2;*/
140
 
141
  $url = '/index.php/admin/custom/chat/key/'.$key;
142
  $this->getResponse()->setRedirect($url);
143
 
144
  //$this->loadLayout();
145
  $this->renderLayout();
146
  }
147
  {
148
 
149
  /**
150
  * Retrieve the read connection
151
  */
152
  $readConnection = $resource->getConnection('core_read');
153
 
154
  /**
155
  * Retrieve our table name
156
  */
157
  //$sku = $readConnection->fetchOne($query);
158
 
159
  $this->loadLayout()
160
  ->_setActiveMenu('mycustomtab')
161
  ->_title($this->__('Chat Action'));
162
  ->createBlock('core/text', 'example-block')
163
  ->setText('clicca <a href="'.$url.'" target="blank">qui</a> per chattare<br/>');
164
  ->createBlock('core/text', 'example-block2')
165
  ->setText('clicca <a href="http://server.livehelp.it/admin/main.asp" target="blank">qui</a> per amministrare il tuo account<br/>');
166
  ->createBlock('core/text', 'example-block3')
167
  ->setText('clicca <a href="http://www.livehelp.it/index.asp?lingua=EN" target="blank">qui</a> per andare sul sito livehelp');
168
  <tr>
169
  <td><h1>What is LiveHelp®?</h1>
170
  <td rowspan="3"><img src="http://www.livehelp.it/vedit/15/img/business-opportunity.png"></td>
171
  </tr>
172
  <tr>
173
  <td>
174
  </tr>
175
  <tr>
176
  <td><a href="'.$url.'" target="blank"><button>Agent\'s login</button></a>
177
  </tr>
178
  ->createBlock('core/text', 'example-block4')
179
  ->setText($html);
180
  $this->renderLayout();
181
  }
 
1
  * Sostanza LiveHelp® chat
2
  *
3
  * NOTICE OF LICENSE
4
  *
5
  * This source file is subject to the Open Software License (OSL 3.0)
6
  * that is bundled with this package in the file LICENSE.txt.
7
  * It is also available through the world-wide-web at this URL:
8
  * http://opensource.org/licenses/osl-3.0.php
9
  * If you did not receive a copy of the license and are unable to
10
  * obtain it through the world-wide-web, please send an email
11
  * to info@sostanza.it so we can send you a copy immediately.
12
  *
13
  * @category Sostanza
14
  * @package Sostanza_LiveHelp
15
  * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
16
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
  */
18
  public function indexAction()
19
  {
20
  $this->loadLayout()
21
  ->_setActiveMenu('mycustomtab')
22
  ->_title($this->__('Index Action'));
23
 
24
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/widget_instance/");
25
  $url = '/index.php/admin/widget_instance/index/key/'.$key;
26
  $this->renderLayout();
27
  }
28
 
29
  public function listAction()
30
  {
31
  $this->loadLayout()
32
  ->_setActiveMenu('mycustomtab')
33
  ->_title($this->__('List Action'));
34
  //$url = 'http://server.livehelp.it/admin/main.asp';
35
  // $this->getResponse()->setRedirect($url);
36
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/custom/chat");
37
  $url = '/index.php/admin/custom/chat/key/'.$key;
38
  $this->getResponse()->setRedirect($url);
39
  $this->renderLayout();
40
  }
41
  public function aboutAction()
42
  {
43
  $this->loadLayout()
44
  ->_setActiveMenu('mycustomtab')
45
  ->_title($this->__('About Action'));
46
  /* $url = "<script type='text/javascript'>window.open('http://www.livehelp.it/vedit/pagina.asp?pagina=1395')</script>";
47
  // $this->getResponse()->setRedirect('http://magentogiulia.ilbello.com/index.php/admin');
48
  $url2 = '/index.php/admin/widget_instance/index/key/'.$key2;*/
49
 
50
  $url = '/index.php/admin/custom/chat/key/'.$key;
51
  $this->getResponse()->setRedirect($url);
52
 
53
  //$this->loadLayout();
54
  $this->renderLayout();
55
  }
56
  {
57
 
58
  /**
59
  * Retrieve the read connection
60
  */
61
  $readConnection = $resource->getConnection('core_read');
62
 
63
  /**
64
  * Retrieve our table name
65
  */
66
  //$sku = $readConnection->fetchOne($query);
67
 
68
  $this->loadLayout()
69
  ->_setActiveMenu('mycustomtab')
70
  ->_title($this->__('Chat Action'));
71
  ->createBlock('core/text', 'example-block')
72
  ->setText('clicca <a href="'.$url.'" target="blank">qui</a> per chattare<br/>');
73
  ->createBlock('core/text', 'example-block2')
74
  ->setText('clicca <a href="http://server.livehelp.it/admin/main.asp" target="blank">qui</a> per amministrare il tuo account<br/>');
75
  ->createBlock('core/text', 'example-block3')
76
  ->setText('clicca <a href="http://www.livehelp.it/index.asp?lingua=EN" target="blank">qui</a> per andare sul sito livehelp');
77
  <tr>
78
  <td><h1>What is LiveHelp®?</h1>
79
  <td rowspan="3"><img src="http://www.livehelp.it/vedit/15/img/business-opportunity.png"></td>
80
  </tr>
81
  <tr>
82
  <td>
83
  </tr>
84
  <tr>
85
  <td><a href="'.$url.'" target="blank"><button>Start assisting</button></a>
86
  </tr>
87
  ->createBlock('core/text', 'example-block4')
88
  ->setText($html);
89
  $this->renderLayout();
90
  }
91
+ <?php
92
  * Sostanza LiveHelp® chat
93
  *
94
  * NOTICE OF LICENSE
95
  *
96
  * This source file is subject to the Open Software License (OSL 3.0)
97
  * that is bundled with this package in the file LICENSE.txt.
98
  * It is also available through the world-wide-web at this URL:
99
  * http://opensource.org/licenses/osl-3.0.php
100
  * If you did not receive a copy of the license and are unable to
101
  * obtain it through the world-wide-web, please send an email
102
  * to info@sostanza.it so we can send you a copy immediately.
103
  *
104
  * @category Sostanza
105
  * @package Sostanza_LiveHelp
106
  * @copyright Copyright 2014 Sostanza s.r.l (http://www.sostanza.it)
107
  * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
108
  */
109
  public function indexAction()
110
  {
111
  $this->loadLayout()
112
  ->_setActiveMenu('mycustomtab')
113
  ->_title($this->__('Index Action'));
114
 
115
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/widget_instance/");
116
  $url = '/index.php/admin/widget_instance/index/key/'.$key;
117
  $this->renderLayout();
118
  }
119
 
120
  public function listAction()
121
  {
122
  $this->loadLayout()
123
  ->_setActiveMenu('mycustomtab')
124
  ->_title($this->__('List Action'));
125
  //$url = 'http://server.livehelp.it/admin/main.asp';
126
  // $this->getResponse()->setRedirect($url);
127
  $key = Mage::helper("adminhtml")->getUrl("adminhtml/custom/chat");
128
  $url = '/index.php/admin/custom/chat/key/'.$key;
129
  $this->getResponse()->setRedirect($url);
130
  $this->renderLayout();
131
  }
132
  public function aboutAction()
133
  {
134
  $this->loadLayout()
135
  ->_setActiveMenu('mycustomtab')
136
  ->_title($this->__('About Action'));
137
  /* $url = "<script type='text/javascript'>window.open('http://www.livehelp.it/vedit/pagina.asp?pagina=1395')</script>";
138
  // $this->getResponse()->setRedirect('http://magentogiulia.ilbello.com/index.php/admin');
139
  $url2 = '/index.php/admin/widget_instance/index/key/'.$key2;*/
140
 
141
  $url = '/index.php/admin/custom/chat/key/'.$key;
142
  $this->getResponse()->setRedirect($url);
143
 
144
  //$this->loadLayout();
145
  $this->renderLayout();
146
  }
147
  {
148
 
149
  /**
150
  * Retrieve the read connection
151
  */
152
  $readConnection = $resource->getConnection('core_read');
153
 
154
  /**
155
  * Retrieve our table name
156
  */
157
  //$sku = $readConnection->fetchOne($query);
158
 
159
  $this->loadLayout()
160
  ->_setActiveMenu('mycustomtab')
161
  ->_title($this->__('Chat Action'));
162
  ->createBlock('core/text', 'example-block')
163
  ->setText('clicca <a href="'.$url.'" target="blank">qui</a> per chattare<br/>');
164
  ->createBlock('core/text', 'example-block2')
165
  ->setText('clicca <a href="http://server.livehelp.it/admin/main.asp" target="blank">qui</a> per amministrare il tuo account<br/>');
166
  ->createBlock('core/text', 'example-block3')
167
  ->setText('clicca <a href="http://www.livehelp.it/index.asp?lingua=EN" target="blank">qui</a> per andare sul sito livehelp');
168
  <tr>
169
  <td><h1>What is LiveHelp®?</h1>
170
  <td rowspan="3"><img src="http://www.livehelp.it/vedit/15/img/business-opportunity.png"></td>
171
  </tr>
172
  <tr>
173
  <td>
174
  </tr>
175
  <tr>
176
  <td><a href="'.$url.'" target="blank"><button>Agent\'s login</button></a>
177
  </tr>
178
  ->createBlock('core/text', 'example-block4')
179
  ->setText($html);
180
  $this->renderLayout();
181
  }
app/code/community/Sostanza/Livehelp/etc/adminhtml.xml CHANGED
@@ -11,12 +11,12 @@
11
  <action>adminhtml/custom</action>
12
  </index>
13
  <list module="livehelp" translate="title">
14
- <title>Go to administator panel</title>
15
  <sort_order>2</sort_order>
16
  <action>adminhtml/custom/list</action>
17
  </list>
18
  <chat module="livehelp" translate="title">
19
- <title>Go assisting!</title>
20
  <sort_order>3</sort_order>
21
  <action>adminhtml/custom/chat</action>
22
  </chat>
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>
app/code/community/Sostanza/Livehelp/etc/widget.xml CHANGED
@@ -91,7 +91,7 @@
91
  <type>textarea</type>
92
  <description>go to the<![CDATA[
93
  <a target="_blank" href="http://server.livehelp.it/admin/default.asp?noarg">
94
- administrator panel</a>.
95
  ]]></description>
96
  </generatore>
97
  </parameters>
91
  <type>textarea</type>
92
  <description>go to the<![CDATA[
93
  <a target="_blank" href="http://server.livehelp.it/admin/default.asp?noarg">
94
+ dashboard</a>.
95
  ]]></description>
96
  </generatore>
97
  </parameters>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Sostanza_LiveHelp</name>
4
- <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>livehelp chat support</summary>
10
- <description>LiveHelp provides fast reliable live chat to assist customers. No setup fees. Fully customizable.</description>
11
- <notes>first release</notes>
12
  <authors><author><name>Alessandro La Ciura</name><user>alaciura</user><email>a.laciura@sostanza.it</email></author></authors>
13
  <date>2014-03-24</date>
14
- <time>14:10:14</time>
15
- <contents><target name="magecommunity"><dir name="Sostanza"><dir name="Livehelp"><dir name="Block"><file name="Livehelp.php" hash="2271c5eede6e0e8e668824e3d1f22830"/></dir><dir name="Helper"><file name="Data.php" hash="98334f85f503ecce4828aa25feeba4ee"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomController.php" hash="2dcc8754c3f7fed801865fd98a9b5dcc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="546b4895a86e9e692c7bb87a638fdfe9"/><file name="config.xml" hash="c245ef2a299a65440d97f2a514b60a7a"/><file name="widget.xml" hash="cc7036ebfc164780b4b1a98de0ce5666"/></dir><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.1.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.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL-3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Livehelp for chat support</summary>
10
+ <description>LiveHelp&#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>Translation improvement</notes>
12
  <authors><author><name>Alessandro La Ciura</name><user>alaciura</user><email>a.laciura@sostanza.it</email></author></authors>
13
  <date>2014-03-24</date>
14
+ <time>14:33:49</time>
15
+ <contents><target name="magecommunity"><dir name="Sostanza"><dir name="Livehelp"><dir name="Block"><file name="Livehelp.php" hash="2271c5eede6e0e8e668824e3d1f22830"/></dir><dir name="Helper"><file name="Data.php" hash="98334f85f503ecce4828aa25feeba4ee"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="CustomController.php" hash="e316907804f49adced4f8ecbdb98804e"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="cbf52b8d3c14274c029097096f169e1b"/><file name="config.xml" hash="c245ef2a299a65440d97f2a514b60a7a"/><file name="widget.xml" hash="9d482662b5fc28dfa637256c71ccfd63"/></dir><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.1.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7</min><max>1.8.1</max></package></required></dependencies>
18
  </package>