Nov
4
2010

Putting the “like”-button back into my blog

imageAlright, 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):

 

  1. Search for the theme folder corresponding to the theme you’ve chosen in blogengine.net. Usually this is in the ~\themes\YOURTHEMENAME folder.
  2. 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
  3. Include the following code where appropriate:

<iframe src="http://www.facebook.com/plugins/like.php?href=<%=Post.PermaLink %>&amp;layout=button_count&amp;show-faces=true&amp;width=50&amp;height:25px&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:100px; height:25px"></iframe>

That’s it, you’re done :-)

Pingbacks and trackbacks (1)+

Kommentare sind geschlossen

Was soll das hier?

Das hier ist ein sogenanntes Web-Log (oder Blog) in dem Dirk Primbs sich selbstdarstellerisch, gelegentlich witzig und manchmal auch zynisch-unfreundlich über eine breite Spanne an Themen ausläßt. Von Religion über Politik bis Technik, Fernstudium und Patchwork 2.0 reicht die Bandbreite, macht da aber nicht halt. Ein Kraut-und-Rübenblog sozusagen. Trotzdem interessant, glaubt Dirk...

Bleib in Kontakt: