Dec 24

SnapShotI wrote a small SnapShots extension for BlogEngine.NET 1.3.

To install it, download and copy the SnapShots.cs file to the App_Code\Extensions directory.

To set your SnapShots Key, go into the Extension section of the Control Panel and click the edit hyperlink for the SnapShots extension. Enter SnapShot Key on the next page.

You can download the extension from the link below.  

Download: SnapShots.cs (2.00 kb) Updated 12/25/07

Update: There are two bugs in the BlogEngine 1.3 release related to Scalar Values in Extensions. I have submitted the patches to the BlogEngine.NET team. In the mean time, you can download the fixed files below:

Download: ExtensionParameter.cs (2.97 kb)
Download: Settings.ascx.cs (10.76 kb)

Tags:

Related posts

Comments

Vishwa

Posted on Tuesday, 25 December 2007 04:40

Thank for posting these extension scripts. When I tried to add the key after running the app, it is throwing an error in method UpdateScalarValue for index out of range.

Vishwa

Posted on Tuesday, 25 December 2007 05:42

I found the issue. Actually, both of extensions(snapshots,odiogo) are not creating the default paramter <Values/> in extentions.xml.

Phil

Posted on Tuesday, 25 December 2007 08:18

The snapshots and odiogo extensions require two patches to fix a minor bug in the 1.3 release. I have updated my original blog post with these patched files.

Vishwa

Posted on Tuesday, 25 December 2007 12:01

If you enable the SnapShots Extension, the RSS Syndication (Subscribe Menu Link) is generating an error. I checked on your blog too, it has same problem. The error is occurring in AddSnapShotScript() Method while casting current handler to page.

Phil

Posted on Tuesday, 25 December 2007 14:55

Thanks; I fixed and re-uploaded the extensions to the original posting.

Vishwa

Posted on Tuesday, 25 December 2007 16:39

Thanks Phil, I fixed it by making if (context.Items.Count > 1 & context.Items["snapshot"] == null) and that worked, but I think you came up with a better logic. Great work.

QWERTYtech

Posted on Thursday, 21 February 2008 13:41

I just downloaded your Extension pack off of www.CodePlex.com and I installed it. I went to add my SnapShot Key and the app threw an error.... What did I do wrong?????

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

Posted on Wednesday, 23 July 2008 21:11