Adding a Twitter Profile Widget in BlogEngine.NET

If you’ve ever gone to my blog over the years you’ll know that I’m not much of a widget guy.  I like a simple sidebar with only the essentials. As Twitter has become a more important element in Digital Daily I decided to finally do the deed and put a Twitter Profile widget on my blog.  The Profile widget displays your avatar and last few tweets.

Here’s what the Twitter Profile Widget looks like on my blog.  You’ve seen it elsewhere 100’s of times, I’m sure.

I took five minutes to add the widget.  Seriously. And most of that time was in setting the colors and dimensions.

Here’s the Twitter Widgets page, a section of Twitter Goodies.  Select “My Website” then the “Profile Widget.” Enter a few fields to specify dimensions and select colors, then “Finish and Grab Code.”  At that point you will copy and paste that HTML into your BlogEngine.NET theme’s site.master page.

Look for the following code in site.master.

<div id=”sidepanel”>
    <blog:WidgetZone runat=”server” ID=”rightzone” />
</div>

Paste the HTML from the Twitter Widget form either above or below the <blog:WidgetZone /> line. Simple, like most everything involved in using BlogEngine.NET.

Oh yeah, you can follow me on Twitter at http://twitter.com/daveburkevt. I think I’m required to say that at the end of a blog post about Twitter widgets.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.