Wednesday, May 19, 2010

How to Add the Facebook Like button in blogger

1. Login to your Blogger Account and go to Layout > Edit HTML and click on the check box which says “Expand Widget Templates

2. Look for <data:post.body/> and immediately after that place the following code.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=standard&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
</b:if>

This code will show the Like Button on Post pages only. If you want to display it everywhere, then remove the two lines of code in red.

3. Save the template and you're done

Any queries? ..comment here .



Monday, March 8, 2010

wow posterous

Started a posterous account , which has an option to link twitter,facebook,blogger and almost everything .One post to posterous goes everywhere else on the web .One of the main advantage is we can post it via mail, that means even through mobile too . I have made an account here http://photos.munawer.in/ for sharing photos on the go through mobile