adding facebook comments to datatables

adding facebook comments to datatables

simplemansimpleman Posts: 6Questions: 2Answers: 1
edited January 2017 in Free community support

Hi,

I am trying to give a css pop up on every row so that clients can add a 'comment' using facebook. At this point if I comment on row1 then it appears on every other row if I go to that row and click comment which opens a css popup and shows the comments.

I am tyring to follow this http://socialmouths.com/2012/02/16/add-facebook-comments-to-your-blog/

It all works until I add '<div data-href=”<?php the_permalink() ?>” data-num-posts=”10″ data-width=”550″></div>'. Then it breaks.

Has any one succesfully implement social plugins and if yes can you please share? :)

Thanks!

Regards,
Rajesh

Answers

  • simplemansimpleman Posts: 6Questions: 2Answers: 1

    I figured that this is the link that is breaking 'the_permalink()'. I need this so that each row will have a unique comments for that row.

    Imagine each row is a university name and you want to comment on that university on that row. So if I comment on 'uni 1' right now then this comment appears on every other university too which is not good. So any idea would be great!!

  • simplemansimpleman Posts: 6Questions: 2Answers: 1

    any one? :)

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin

    We'd really need a link to a page showing the issue please.

    Allan

This discussion has been closed.