BlogEngine.Net Extensions and Addins Incompatibilities

by John 4. October 2011 13:35

There seems to be an abundance of BlogEngine.Net themes, extensions, and widgets...  However with new versions of BlogEngine, they added the ability to host multiple blogs.  This change has broken back wards compatibility with a lot of the extensions and widgets.

For example, I found a great extension from GravityCube.net called Lightbox.  This one had used the ExtensionSettings class inside the source for the extension plugin.  I removed the usage of the class, and the extension started to work.  new plugins use a dictionary for their settings, and look up the correct setting using the Blog's Guid.

This is the line I removed:

static protected ExtensionSettings _settings = null;

Simple Enough.  I'll post more of this type of stuff as I continue to build out my blog.

To use the lightbox inside a blog post, you would do something like this:

<a href="/blog/image.axd?picture=picture.jpg"> 
  <img src="/blog/image.axd?picture=pictureThumbnail.jpg" /> 
</a>

Its pretty straight forward to use.  I was going to post the information on his blog, but the comments were closed...

Tags: ,

BlogEngine.NET

About the author

I am a software Entrepreneur, I always have been. I spend my days developing cool new software for several customers, mostly in the Justice space. I have been developing software for clients since I was 14 (I got addicted young). I am always up for a new challenge.

I love the bleeding edge; I have lots of battle scars to prove it.  I spend all of my extra time reading, researching and pushing the limits. Some call me a work-a-holic, to which I respond that there are not enough hours in the day to learn everything I want to know.  Some might say I am forever on a knoweldge quest.

Month List