Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Topic closed
Hello
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 = '//www.mysite.com/lhc_web/index.php/chat/getstatusembed?r='+referrer+'&l='+location;
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
of course, mysite.com 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 ==]
})();
</script>
we should have
[== HTML ==]
});
</script>
And with the above correction, nothing happens!, There's no console error neither.
Please help
Thanks
Offline
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?
https://livehelperchat.com/demo-12c.html
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.
});
</script>
PeopleInside - Live helper chat - free limited forum support!
For commercial support or GitHub [see FAQ here]
If you want to support this open source project, just donate [see support page]
Something wrong with the forum? [contact a superhero]
Offline
Pages: 1
Topic closed