Facebook comment


Avatar: UDIENTSZ82

2014-10-05 10:12

i have try install plugin facebook comment QC 5.2... but there newd new theme.. i have try convert script with default theme... it not work.... actually i would like put facebook commentby each product... how to make new theme so that facebook work.... and where should i put this script at QC 5.2

// displaying subpages
<div class="clear"> </div><h3 id="commentTitle"><?php echo $GLOBALS['lang']['Facebook_title']; ?></h3>
<div id="facebookComments">
<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//all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

<div class="fb-comments" data-href="<?php echo $_SERVER['HTTP_HOST'].'/'.$aData['sLinkName']; ?>" data-num-posts="3" data-width="650" data-order-by="time"></div>

» Quick.Cart v5.x

Back to top
about us | contact