-
AuthorPosts
-
jrensel Friend
jrensel
- Join date:
- December 2007
- Posts:
- 27
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
February 21, 2011 at 9:22 am #160496Hi!
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.phpIn 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.phpThe 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-qbibelbeltetqDo you have any suggestions where to put the code so that facebook comments dont show up in frontpage?
Best from Joe
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 23, 2011 at 10:18 am #378089I have question: Did you fix the problem yourself already? I can’t see it on your site.
hamlethub Friendhamlethub
- Join date:
- February 2011
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
May 10, 2011 at 1:10 am #390475Can you post this change? I am attempting to do something similar
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 11, 2011 at 9:07 am #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)
1 user says Thank You to Ninja Lead for this useful post
hamlethub Friendhamlethub
- Join date:
- February 2011
- Posts:
- 128
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
May 11, 2011 at 12:17 pm #390786I 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 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
May 16, 2011 at 4:55 am #391343You could hack code by inserting it to componentscom_contentviewsarticletmpldefault.php.
-
AuthorPosts
This topic contains 6 replies, has 4 voices, and was last updated by thangnn1510 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum