test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • jrensel Friend
    #160496

    Hi!
    I have just changed template to JA Teline IV on my joomla site and I am very satisfied with the choise.

    I have integrated facebook-comments to my joomla site. In my old template I included a small code in:
    template/html/com_content/article/default.php

    In JA Teline IV there is no article folder in: com_content-folder (in the template folder)
    I have placed the code in: ja_teline_iv/blocks/content.php

    The only problem is that the facebook comments show up in frontpage and this is not what I want.

    See frontpage here: http://godenyheter.no/
    Se a article here: http://godenyheter.no/Siste-hovedsaker/sorlandskirken-utvider-i-qbibelbeltetq

    Do you have any suggestions where to put the code so that facebook comments dont show up in frontpage?

    Best from Joe

    Ninja Lead Moderator
    #378089

    I have question: Did you fix the problem yourself already? I can’t see it on your site.

    hamlethub Friend
    #390475

    Can you post this change? I am attempting to do something similar

    Ninja Lead Moderator
    #390742

    <em>@hamlethub 239442 wrote:</em><blockquote>Can you post this change? I am attempting to do something similar</blockquote>

    You can integrate with facebook-comment here: https://developers.facebook.com/docs/reference/plugins/comments/ and hack code into <blockquote>ja_teline_iv/blocks/content.php</blockquote>

    Or you use Phoca Facebook Comments Module http://extensions.joomla.org/extensions/social-web/social-comments/15306 so you can set where this module will be displayed. In module settings, you can set that the module will be displayed only on sites with full articles (the position depends on used template)

    You can use this module as plugin too, just use the loadposition plugin which is a core Joomla! plugin which allows loading a module postion (in fact the module which is set to postion you will call with this module)

    hamlethub Friend
    #390786

    I understand. but if you want to load it inside the article, how do you have loadposition automatic for every article? is it putting it into content.php?

    thangnn1510 Friend
    #391343

    You could hack code by inserting it to componentscom_contentviewsarticletmpldefault.php.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 4 voices, and was last updated by  thangnn1510 13 years, 7 months ago.

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