Topic: Add Facebook Comments to CuteNews

Hello!

I want to add the Facebook Comments plugin to my website under every news. I'm beginner with CuteNews, so I would be pleased if you help me and explain what to change/edit.

Thank you in advance (and sorry for my English)! https://cutephp.com/forum/style_emoticons/default/smile.gif

2 (edited by 2012-02-29 13:37:16)

Re: Add Facebook Comments to CuteNews

https://developers.facebook.com/docs/refere...ugins/comments/
Put in URL field :

http://example.com

Replace example.com with your sitename.

Customize other selections to your needs and click Get code.

HTML5
1. Include the first code to page where showing news, right after body tag.

2. Edit your news template

add into Add comment form box (in cutenews) the code which is in the second box.
For example:

<div class="fb-comments" data-href="http://www.example.com" data-num-posts="2" data-width="470"></div>

now change the link like this:

<div class="fb-comments" data-href="http://www.example.com/index.php?subaction=showfull&id={news-id}&archive=&start_from=&" data-num-posts="2" data-width="470"></div>

Done.

Hope this works  https://cutephp.com/forum/style_emoticons/default/rolleyes.gif