Hi everyone,
in order to use facebook.comment plugin in k2 I implemented
<script type=”text/javascript”>
(function(d){
var js, id = ‘facebook-jssdk’, ref = d.getElementsByTagName(‘script’)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(‘script’); js.id = id; js.async = true;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1”;
ref.parentNode.insertBefore(js, ref);
}(document));
</script>
<div class=”fb-comments” data-href=”<?php echo JURI::getInstance()->toString(array(‘scheme’, ‘host’, ‘port’)) . $this->item->readmore_link; ?>” data-num-posts=”2″ data-width=”576″></div>
into following link php file:
templates/ja_wall/html/com_k2/ja_wall/item.php
It runs well, but how can I modorate it?
How can I hide comment I dont’t want users to see on my homepage for. example?
Best regards,
Alp