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...