Live Helper Chat support forum.. Old google groups forum can be found here

You are not logged in.


#1 2019-12-25 08:33:28

New member
Registered: 2019-12-23
Posts: 2

Page code doesn't work


When I generate the page code ... i get something like the following:

[== HTML ==]

<!-- Place this tag where you want the Live Helper Plugin to render. -->
<div id="lhc_status_container_page" ></div>

<!-- Place this tag after the Live Helper Plugin tag. -->
<script type="text/javascript">
var LHCChatOptionsPage = {'height':300,'mobile':false};
LHCChatOptionsPage.opt = {};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
var referrer = (document.referrer) ? encodeURIComponent(document.referrer.substr(document.referrer.indexOf('://')+1)) : '';
var location  = (document.location) ? encodeURIComponent(window.location.href.substring(window.location.protocol.length)) : '';
po.src = '//'+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);

of course, has the real domain name on my web page on the site

Now, the ending of the javascript code is incorrect right?

I mean, instead of

[== HTML ==]

we should have

[== HTML ==]

And with the above correction, nothing happens!, There's no console error neither.

Please help



#2 2019-12-25 09:09:34

From: Italy
Registered: 2014-04-10
Posts: 3,673

Re: Page code doesn't work

Hi venkcc I will close this topic as you started a topic already here (where you can continue).
Please do not open multiple topics.

I will wait in other topic to know what version of live helper chat are you using.
The code should be not end with

[== Undefined ==]
[== HTML ==]

AThe dubt is you are not using a recent version.
Have you tried the demo?

The software give just one embed code and it's correct and ready for be used.
You can continue in the other discussion opened by you.

lol PeopleInside - Live helper chat - free limited forum support!
wink For commercial support or GitHub [see FAQ here]
ops If you want to support this open source project, just donate [see support page]
glasses Something wrong with the forum? [contact a superhero]


Board footer