News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

Looking for <body> tag for Facebook Page Plugin

Started by premiersports, March 07, 2016, 05:41:41 PM

Previous topic - Next topic

premiersports

Hi

I am new to abantecart, I am trying to make a new block for a Facebook page plugin, but cannot see where I can add the Javascript code. I am using FoxY theme, I tried to paste it into footer.tpl but it made my footer disappear. Can anyone help?

The code I need to paste is:
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.5&appId=853252508102802";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -