Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2013-05-09 12:57:39

Deniz Demirci
Member
Registered: 2013-05-04
Posts: 8

lhc web and opencart 1.5.5.1

If i install lhc_web client as widget in my opencart site's index.php file, lhc works perfectly, but when a guest tries to register to the site, site generates an error and can't fill the combobox of zones.
Whenever i erase the widget code from the index.php file, it returns to normal.
Thanksin advance
the widget code generated is like that:
<script type="text/javascript">var LHCChatOptions = {};LHCChatOptions.opt = {widget_height:340,widget_width:300,popup_height:520,popup_width:500};(function() {var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;po.src = 'http://eminyon.com/lhc_web/index.php/por/chat/getstatus/(click)/internal/(position)/bottom_right/(check_operator_messages)/true/(top)/350/(units)/pixels';var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);})();</script>

Note: I put it in the very end of the index.php file

https://groups.google.com/forum/#!topic … _7YVOmFPnc

Offline

#2 2013-05-09 13:06:03

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: lhc web and opencart 1.5.5.1

Hi,

You definitely should not edit your index.php file, but find page footer template and paste it at the bottom of page. It should be in the same place where you paste google analytics code.
Or you can use this http://gobycolor.lt/article/static/5 extension to embed live helper chat script smile


2013/5/9 Deniz Demirci <mdeniz...***.com>

Offline

#3 2013-05-09 13:52:04

Deniz Demirci
Member
Registered: 2013-05-04
Posts: 8

Re: lhc web and opencart 1.5.5.1

Thank you so much Remigijus, it seems to solve the problem.

9 Mayıs 2013 Perşembe 12:57:39 UTC+2 tarihinde Deniz Demirci yazdı:

Offline

Board footer