Nov
4
2010
Alright, alright… two things are inevitably true…
- According to piwik three typical searches hit my blog:
- latin tattoos (I will not write about that, no matter how many folks search for it here :-)
- open university
- the like button in blogengine.net
- Ignoring facebook is a impossible these days if you really like people to read your stuff :-)
So here it is… I hereby officially re-include the fb like-button into my blog. (and hope that you’ll use it :-)
Here is how it is done (this time in English since a lot of searches hitting my blog on this are from abroad):
- Search for the theme folder corresponding to the theme you’ve chosen in blogengine.net. Usually this is in the ~\themes\YOURTHEMENAME folder.
- Find the File PostView.ascx Sometimes some other file might also be responsible for rendering your blogpost. In case of Arthemia Pro I changed the PostViewFull.ascx
- Include the following code where appropriate:
<iframe src="http://www.facebook.com/plugins/like.php?href=<%=Post.PermaLink %>&layout=button_count&show-faces=true&width=50&height:25px&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:25px"></iframe>
That’s it, you’re done :-)