Log in

View Full Version : CMS Facebook Like Button


Aramist
08-05-2011, 09:39 PM
Hi all !

Im trying to make a custom fb like button to my VBcms Articles, but without sucess.

IMm trying something like this:

<iframe src="http://www.facebook.com/widgets/like.php?href=http://www.YOURSITE.com/showthread.php$session[sessionurl]?p=$post[postid]&amp;show_faces=false&amp
scrolling="no" frameborder="0"
style="border:none; width:450px; height:25px"></iframe>

But I'm have not figured out how to link the correct article url, i guess.

Any clue?

Ty in advance.

--------------- Added 1312590133 at 1312590133 ---------------

Now I've tried this:

<iframe src="http://www.facebook.com/plugins/like.php?href={vb:raw article.page_url}&amp;layout=button_count&amp;show_faces=t rue&amp;action=like&amp;colorscheme=light"
scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:20px"></iframe>

But again, no sucess. =/