Navigation

Pligg Support

In link_summary.tpl find the line :

div class="storycontent"

Add the facebook code after that line and it should be where you'd like it.

The url you want to put in the facebook code would be something like this

http://www.yourdomain.com{$story_url}


This is an example of the code i use,

< iframe src="http://www.facebook.com/plugins/like.php?href=http://www.yourdomain.com{$story_url}&layout=button_count&show_faces=false&width=65&action=like&font=verdana&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:65px; height:21px;" allowTransparency="true">< /iframe>

* remove space in start and end

Possible Answers

    How can I reference the original post. So in this way, in the news aggregador, it will see the "likes" totals. That is, the original page and the aggregator.

    Is it possible? And in twitter?

    Thanks

    | Posted 192 days ago | Permalink | Hide Replies

    From his code above, use {$url} instead of {$story_url}

    | Posted 192 days ago | Permalink | Hide Replies

    Thanks consolas.

    | Posted 193 days ago | Permalink | Hide Replies

Who Upvoted this Story