Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I enable my comments within admin/settings/fb/social/comments and set it for the desired content-types, absolutely nothing happens. I don't see the facebook comment form showing up, still drupal's default comment form is there. If I check the html-source of the respective page there's also no trace of a tag.
Am I overlooking something?
Comment | File | Size | Author |
---|---|---|---|
#16 | node-articlephp.txt | 2.25 KB | mennonot |
Comments
Comment #1
ataliba CreditAttribution: ataliba commentedHello,
You created a preset ?
/admin/build/fb_social_presets
Created a preset here and activate then on the types of content you need to show the facebook comments.
Comment #2
mixhael CreditAttribution: mixhael commentedThis option is not available for me.... Think this is in the newer version and I'm running an older one, however when I installed that new version I got database errors that the fb_social_preset table wasn't available
Comment #3
mixhael CreditAttribution: mixhael commentedOk, so I upgraded now to the 2.0 version. Created a presets which applies facebook comments to the respective content types.
Same thing. Nothing shows up, just the old comment box
Comment #4
mixhael CreditAttribution: mixhael commentedAnyone?
Comment #5
ferdi CreditAttribution: ferdi commentedAny other module you have installed that may conflict ? What browser are you using ?
thanks!
Comment #6
mixhael CreditAttribution: mixhael commentedThe weird thing is that creating a preset for the likebox (by creating a block) works. But with the comments just nothing happens. Should I have made changes to a template somewhere? Should I disable regular comments first?
Comment #7
mixhael CreditAttribution: mixhael commentedJust read this tooltip in the general facebook social settings:
Seeing the Make sure that the "Connect URL" matches your domain exactly. mentioning: could it there to be the problem? I've set it to the official domain, but am running my website still on a temporarily-url...
Comment #8
mixhael CreditAttribution: mixhael commentedSo modified the url. Same problem :(
Comment #9
ferdi CreditAttribution: ferdi commentedCan you export the preset and paste it here ?
Comment #10
mixhael CreditAttribution: mixhael commentedOr course, here it is:
Comment #11
ferdi CreditAttribution: ferdi commentedLooks good. You should expect to see the comment box when you look nodes (not teasers) of type blog, dossier, simplenews, petition, poll. To answer your question, you dont need api key or modify any template file for the comment box to show up. What browser are you using and do you have any other facebook related module installed ?
thanks!
Comment #12
mixhael CreditAttribution: mixhael commentedHey Ferdi,
That's exactly where I'm expecting them to show up, but unfortunately they don't.
I'm using the latest google chrome (and firefox the same result), but I think it's not browser related, because if I look at the html source, there's no trace of a
<fb:comment>...</fb:comment>
-tagAnd no: no other related modules installed.
Really really clueless
Comment #13
mixhael CreditAttribution: mixhael commentedCould it be that it's because my nodes are built with panels?
Comment #14
mixhael CreditAttribution: mixhael commentedFerdi, I read this thread: http://drupal.org/node/789948, which speaks of adding facebook comments via panels (add panel > miscellaneous). However, I haven't got this option.
Comment #15
ferdi CreditAttribution: ferdi commentedYes, I see a couple of similar issues. There seems to be a problem when using panels module.
Comment #16
mennonot CreditAttribution: mennonot commentedI had this same problem. The comment box wasn't showing up. For me, despite what Comment #11 above says, the issue does seem to be with a template file in my theme.
For example, when I removed the template for my "articles" content type at /sites/all/themes//node-article.tpl.php the comment box started showing up.
How can I get commenting working and keep my theming templates for my various content types? I'm guessing the issue is that the template file I have removed some important variable. I've attached the template in question.
Comment #17
ferdi CreditAttribution: ferdi commentedNo, this is should work independent from the template file. are you using panels too ?
thanks
Comment #18
mennonot CreditAttribution: mennonot commentedNope, I'm not using panels. I can confirm that when I uploaded the node-article.tpl.php attached above, the comment box stopped showing up.
Comment #19
mennonot CreditAttribution: mennonot commentedI tracked down the problem in the node-article.tp.php template. The template I was working with (attached above) did not print the $content variable, which apparently this module requires. The solution is to add in a call to the Facebook social comment plug-in directly where I wanted the plug-in to show up:
<?php print $node->content['fb_social_comments_facebook_comments']['#value']; ?>
Comment #20
DamienMcKennaThe module needs some solid Panels integration. Something like #2374123: Added a simple Panels pane wrapper for presets would be a reasonable starting point.