Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • Ninja Lead Moderator
    #510398

    This is JA Bookmark plugin but you need to check category selection on JA Bookmark plugin


    1. Select_Category
    bvk1987 Friend
    #510434

    I have the Facebook, Google and Twitter buttons back on the left, but still no Facebook comments at the bottom of the article.

    Ninja Lead Moderator
    #510491

    I could not check default.php file on com_content of your site but you can try this :

    + FB comment need script added to default.php file

    Open templates/ja_fixel/html/com_content/article/default.php file

    add


    <?php if($tplparams->get('tpl_facebook_comment', 1)): ?>
    <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_US/all.js#xfbml=1<?php echo $tplparams->get('tpl_facebook_appid', '') ? '&appId=' . $tplparams->get('tpl_facebook_appid', '') : '' ?>";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
    </script>

    <div class="fb-comments" data-href="<?php echo JUri::getInstance()->toString(array('scheme', 'host', 'port')) . $this->item->readmore_link ?>" data-num-posts="10"></div>
    <?php endif ?>

    + My screenshot will help you to clarify anything


    1. fb_comment
    bvk1987 Friend
    #510583

    That works!

Viewing 4 posts - 16 through 19 (of 19 total)

This topic contains 19 replies, has 2 voices, and was last updated by  bvk1987 11 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum