Quantcast
Channel: LivePerson Connect : Popular Discussions - All Communities
Viewing all articles
Browse latest Browse all 2324

Joomla Removing LivePerson JavaScript Code

$
0
0

This is kind of off subject. However, this is I think the best place for it. Im having the same issues with inserting the button code. Once I add it to a module it immidiately cuts it down.

 

I tried following their 1.5 joomla integration guide....and even their options for flattening html or something which the option simply doesnt exist in 2.5.4.

 

So Im freaking out. I try to insert this

<!-- BEGIN LivePerson Button Code -->
<div id="lpButDivID-1334591168931"></div>
<script type="text/javascript" charset="UTF-8" src="https://server.iad.liveperson.net/hc/55640248/?c..."></script>
<!-- END LivePerson Button code -->
but after I hit save it deletes everything but the "div id" part. Im not an experienced coder yet...but im no noob.
Tried to install <!-- BEGIN LivePerson Monitor. --><script language='javascript'> var lpMTagConfig = {'lpServer' : "server.iad.liveperson.net",'lpNumber' : "55640248",'lpProtocol' : (document.location.toString().indexOf('https:')==0) ? 'https' : 'http'}; function lpAddMonitorTag(src){if(typeof(src)=='undefined'||typeof(src)=='object'){src=lpMTagConfig.lpMTagSrc?lpMTagConfig.lpMTagSrc:'/hcp/html/mTag.js';}if(src.indexOf('http')!=0){src=lpMTagConfig.lpProtocol+"://"+lpMTagConfig.lpServer+src+'?site='+lpMTagConfig.lpNumber;}else{if(src.indexOf('site=')<0){if(src.indexOf('?')<0)src=src+'?';else src=src+'&';src=src+'site='+lpMTagConfig.lpNumber;}};var s=document.createElement('script');s.setAttribute('type','text/javascript');s.setAttribute('charset','iso-8859-1');s.setAttribute('src',src);document.getElementsByTagName('head').item(0).appendChild(s);} if (window.attachEvent) window.attachEvent('onload',lpAddMonitorTag); else window.addEventListener("load",lpAddMonitorTag,false);</script><!-- END LivePerson Monitor. -->
to both index.html and to index.php.
does anyone have some step by step instructions where I can get some help?

Viewing all articles
Browse latest Browse all 2324

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>