Adding a like button to a Drupal site
I couldn't find a module for that so I added the code to the tpl.php file
Gary A. Pryde
9:53 AM
Care to share the code with a non coder? Pastebin?
Benjamin Shell
9:54 AM
you can get the code from facebook, but it's just this format:
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php print $absolute_url; ?>" layout="button_count" font="lucida grande"></fb:like>
Shawn DeArmond
9:54 AM
http://drupalbin.com
Benjamin Shell
9:54 AM
they have variously style options though
Gary A. Pryde
9:54 AM
cool I'll get to work on it have a great day everyone!
Sloane DellOrto
9:56 AM
Gary you can create buttons using sharethis.com too - create an account for your client and then you can create the type you want (we usually use FB, twitter and email) - then embed the code and add the script to head (per BEn's comment above)...