I am finding that if I use Views to display my most recent node, and I have the Facebook Comments Social Plugin activated for that comment type, people can leave comments. However, the comments they leave on this front page, "stick" to this page and are not associated with the content itself.
If, however, they click the title of the most recent post, they are taken to the node's page. If they leave a comment on THIS page it does stick with the content. But I can't very well ask them to click through to the full node (which basically looks the same as the home page) in order to leave a comment.
Is there a fix for this? Is there a way to make sure that Facebook Comments are always associated with the node?
Thank you.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | facebook_comments-associate_comments_with_nodes-1807780-4.patch | 1.55 KB | jenlampton |
Comments
Comment #1
mcfilms commentedI moved this to a bug report and switched it to "major" because there apparently is a flaw in the module. It seems on the front page of a site, Facebook Comments are associated with the page and not the node. This is a problem if you have dynamic page content. People comment about this week's article, but that comment sticks with the page in the weeks to come.
Any suggestions on how I might force the Facebook Comments to associate with the node? If not, how can I remove the Facebook Comments from the front page?
Comment #2
wmostrey commentedThis is actually a feature request. The module doesn't link comments to nodes but to pages (urls really) because that's how Facebook's Comments Social Plugin works.
Comment #3
jenlamptonNo, It's definitely a bug.
If fb comments are not expected to work on any display other than the full-page, there wouldn't be any settings for anything having anything to do with different view-modes, and the comments would only appear on a node displayed on it's own page. As it is, the comments appear on any view mode, and any number of them on a single page, breaking the functionality of the module. Hence, a bug.
I need this to work on my site, so I'll try to post a possible fix shortly.
Comment #4
jenlamptonOkay, patch for the -dev version.
The solution here is to have a unique path for each stream of comments, even if the node appears as one of a list of many on the same page. I'm adding a fragment to the url with the node's unique NID.
This patch requires #1457270: Warning: ******* is unreachable
Comment #5
darthf1 commented#4 fixed the unique path issue for me. However now i get the "Warning: xxxx is unreachable." message where it was fine before.
Comment #7
wmostrey commentedI added this as a configuration option, since the url will change from
node/1tonode/1#1, losing the comments.Committed, thanks!