View Single Post
  #2  
Old 07-24-2016, 10:59 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Adding JS into header/body.tpl causes internal error

Try this:
Code:
<script type="text/javascript"> var __dcid = __dcid || [];__dcid.push(["DigiCertClickID_wrFGN2rC", "5", "l", "black", "wrFGN2rC"]); (function() { var cid=document.createElement("script");cid.async=true;cid.src="//seal.digicert.com/seals/cascade/seal.min.js"; var s = document.getElementsByTagName("script");var ls = s[(s.length - 1)]; ls.parentNode.insertBefore(cid, ls.nextSibling); } ()); </script>
Spacing and line breaks will help the Flexy template engine recognize what it is and not parse it.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.