Version Notes
Added ability for custom chat invitations
Download this release
Release Info
Developer | Eric Witchin |
Extension | LiveHelpNow_Help_Desk_HelpOut_Tab |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.4 to 1.2.0
app/code/community/LHN/HelpOutTab/Model/Observer.php
CHANGED
@@ -20,6 +20,7 @@ class LHN_HelpOutTab_Model_Observer{
|
|
20 |
$lhn_account_number = Mage::getStoreConfig('lhn_helpouttab/general/account_number');
|
21 |
$lhn_account_number = str_replace("lhn", "", strtolower($lhn_account_number));
|
22 |
$lhn_chat_window = Mage::getStoreConfig('lhn_helpouttab/general/chat_window');
|
|
|
23 |
$lhn_department = Mage::getStoreConfig('lhn_helpouttab/general/department');
|
24 |
$lhn_autochat = Mage::getStoreConfig('lhn_helpouttab/general/autochat');
|
25 |
$lhn_theme = Mage::getStoreConfig('lhn_helpouttab/general/theme');
|
@@ -42,6 +43,7 @@ class LHN_HelpOutTab_Model_Observer{
|
|
42 |
$lhncontent .= 'var lhnAccountN = "'.$lhn_account_number.'";'.PHP_EOL;
|
43 |
$lhncontent .= 'var lhnInviteEnabled = '.$lhn_autochat.';'.PHP_EOL;
|
44 |
$lhncontent .= 'var lhnWindowN = '.$lhn_chat_window.'; '.PHP_EOL;
|
|
|
45 |
$lhncontent .= 'var lhnDepartmentN = '.$lhn_department.'; '.PHP_EOL;
|
46 |
$lhncontent .= 'var lhnTheme = "'.$lhn_theme.'"; '.PHP_EOL;
|
47 |
$lhncontent .= 'var lhnHPPanel = '.$lhn_slideout.'; '.PHP_EOL;
|
@@ -55,7 +57,7 @@ class LHN_HelpOutTab_Model_Observer{
|
|
55 |
$lhncontent .= 'var lhnLO_helpPanel_typeahead_noResults_message = "'.$lhn_no_results.'";'.PHP_EOL;
|
56 |
$lhncontent .= 'var lhnLO_helpPanel_typeahead_result_views = "'.$lhn_views.'";'.PHP_EOL;
|
57 |
$lhncontent .= '</script>'.PHP_EOL;
|
58 |
-
$lhncontent .= '<script src="//
|
59 |
|
60 |
echo $lhncontent;
|
61 |
}
|
20 |
$lhn_account_number = Mage::getStoreConfig('lhn_helpouttab/general/account_number');
|
21 |
$lhn_account_number = str_replace("lhn", "", strtolower($lhn_account_number));
|
22 |
$lhn_chat_window = Mage::getStoreConfig('lhn_helpouttab/general/chat_window');
|
23 |
+
$lhn_invitation_window = Mage::getStoreConfig('lhn_helpouttab/general/invitation_window');
|
24 |
$lhn_department = Mage::getStoreConfig('lhn_helpouttab/general/department');
|
25 |
$lhn_autochat = Mage::getStoreConfig('lhn_helpouttab/general/autochat');
|
26 |
$lhn_theme = Mage::getStoreConfig('lhn_helpouttab/general/theme');
|
43 |
$lhncontent .= 'var lhnAccountN = "'.$lhn_account_number.'";'.PHP_EOL;
|
44 |
$lhncontent .= 'var lhnInviteEnabled = '.$lhn_autochat.';'.PHP_EOL;
|
45 |
$lhncontent .= 'var lhnWindowN = '.$lhn_chat_window.'; '.PHP_EOL;
|
46 |
+
$lhncontent .= 'var lhnInviteN = '.$lhn_invitation_window.'; '.PHP_EOL;
|
47 |
$lhncontent .= 'var lhnDepartmentN = '.$lhn_department.'; '.PHP_EOL;
|
48 |
$lhncontent .= 'var lhnTheme = "'.$lhn_theme.'"; '.PHP_EOL;
|
49 |
$lhncontent .= 'var lhnHPPanel = '.$lhn_slideout.'; '.PHP_EOL;
|
57 |
$lhncontent .= 'var lhnLO_helpPanel_typeahead_noResults_message = "'.$lhn_no_results.'";'.PHP_EOL;
|
58 |
$lhncontent .= 'var lhnLO_helpPanel_typeahead_result_views = "'.$lhn_views.'";'.PHP_EOL;
|
59 |
$lhncontent .= '</script>'.PHP_EOL;
|
60 |
+
$lhncontent .= '<script src="//www.livehelpnow.net/lhn/widgets/helpouttab/lhnhelpouttab-current.min.js" type="text/javascript" id="lhnscriptho"></script>'.PHP_EOL;
|
61 |
|
62 |
echo $lhncontent;
|
63 |
}
|
app/code/community/LHN/HelpOutTab/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<LHN_HelpOutTab>
|
5 |
-
<version>1.0</version>
|
6 |
</LHN_HelpOutTab>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<LHN_HelpOutTab>
|
5 |
+
<version>1.2.0</version>
|
6 |
</LHN_HelpOutTab>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/LHN/HelpOutTab/etc/system.xml
CHANGED
@@ -40,6 +40,15 @@
|
|
40 |
<show_in_website>1</show_in_website>
|
41 |
<show_in_store>1</show_in_store>
|
42 |
</chat_window>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
<department>
|
44 |
<label>Department ID:</label>
|
45 |
<comment><![CDATA[* Must be numeric -- This is usually 0]]></comment>
|
40 |
<show_in_website>1</show_in_website>
|
41 |
<show_in_store>1</show_in_store>
|
42 |
</chat_window>
|
43 |
+
<invitation_window>
|
44 |
+
<label>Invitation Window ID:</label>
|
45 |
+
<comment><![CDATA[* Must be numeric -- This is usually 0]]></comment>
|
46 |
+
<frontend_type>text</frontend_type>
|
47 |
+
<sort_order>20</sort_order>
|
48 |
+
<show_in_default>1</show_in_default>
|
49 |
+
<show_in_website>1</show_in_website>
|
50 |
+
<show_in_store>1</show_in_store>
|
51 |
+
</invitation_window>
|
52 |
<department>
|
53 |
<label>Department ID:</label>
|
54 |
<comment><![CDATA[* Must be numeric -- This is usually 0]]></comment>
|
package.xml
CHANGED
@@ -1,27 +1,27 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>LiveHelpNow_Help_Desk_HelpOut_Tab</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>The HelpOut Tab plugin displays help desk options to visitors in a snappy right tab.</summary>
|
10 |
-
<description>LiveHelpNow is a responsive, reliable, and extremely affordable Help Desk Software for your website. The LiveHelpNow HelpOut Tab plugin displays help desk options to visitors in a snappy right tab that’s easy to spot and works intuitively- pointing customers with questions to instant answers so they can find all the information they need to make a confident purchase
|
11 |
-
|
12 |
-
The versatile HelpOut Tab works with any combination of LiveHelpNow products
|
13 |
-
|
14 |
-
• Live Chat System
|
15 |
-
• Ticket System
|
16 |
-
• Callback Request System
|
17 |
-
• Knowledge Base System
|
18 |
-
|
19 |
This FREE plugin requires a PAID LiveHelpNow Subscription.</description>
|
20 |
-
<notes>
|
21 |
-
<authors><author><name>Eric Witchin</name><user>livehelpnow</user><email>plugins@
|
22 |
-
<date>2013-
|
23 |
-
<time>
|
24 |
-
<contents><target name="magecommunity"><dir name="LHN"><dir name="HelpOutTab"><dir name="Model"><file name="Numberoptions.php" hash="69866ada2a28f913c0a95d7890361ede"/><file name="Observer.php" hash="
|
25 |
<compatible/>
|
26 |
-
<dependencies><required><php><min>5.3.0</min><max>
|
27 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>LiveHelpNow_Help_Desk_HelpOut_Tab</name>
|
4 |
+
<version>1.2.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU General Public License (GPL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>The HelpOut Tab plugin displays help desk options to visitors in a snappy right tab.</summary>
|
10 |
+
<description>LiveHelpNow is a responsive, reliable, and extremely affordable Help Desk Software for your website. The <a href="http://www.livehelpnow.net">LiveHelpNow HelpOut Tab</a> plugin displays help desk options to visitors in a snappy right tab that’s easy to spot and works intuitively- pointing customers with questions to instant answers so they can find all the information they need to make a confident purchase.
|
11 |
+
<br /><br />
|
12 |
+
The versatile HelpOut Tab works with any combination of LiveHelpNow products:
|
13 |
+
<br /><br />
|
14 |
+
• Live Chat System<br />
|
15 |
+
• Ticket System<br />
|
16 |
+
• Callback Request System<br />
|
17 |
+
• Knowledge Base System<br />
|
18 |
+
<br />
|
19 |
This FREE plugin requires a PAID LiveHelpNow Subscription.</description>
|
20 |
+
<notes>Added ability for custom chat invitations</notes>
|
21 |
+
<authors><author><name>Eric Witchin</name><user>livehelpnow</user><email>plugins@livehelpnow.com</email></author></authors>
|
22 |
+
<date>2013-11-27</date>
|
23 |
+
<time>14:31:25</time>
|
24 |
+
<contents><target name="magecommunity"><dir name="LHN"><dir name="HelpOutTab"><dir name="Model"><file name="Numberoptions.php" hash="69866ada2a28f913c0a95d7890361ede"/><file name="Observer.php" hash="764c26dc9d8b97a3d74276a1a7d5a3e7"/><file name="Themeoptions.php" hash="59cab048698fb9db808acc373d70b9f0"/><file name="Torfoptions.php" hash="0607e2cee88f601872159836b97a6cd9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="224498779875ca9fb89e3a6f24c9541a"/><file name="config.xml" hash="1a95413c775d622c05eefa4ccf3379ef"/><file name="system.xml" hash="dac8422fa4a67cf5ae2d612ab3ca6103"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LHN_HelpOutTab.xml" hash="2527101d29220ad373ee8e4572b70dd7"/></dir></target></contents>
|
25 |
<compatible/>
|
26 |
+
<dependencies><required><php><min>5.3.0</min><max>5.4.59</max></php></required></dependencies>
|
27 |
</package>
|