- // Posted on Jan 15, 2008 by
Danny
-
Comments (60)
I set out early today to add a few social bookmarking links to my blog, but then decided that I'd take this task one step further and create an extension for BlogEngine.NET. I also created a generic version that will allow you to plug this code (via a UserControl) into your blog as long as you have control over the source code. The extension is very configurable and allows you to choose between several different ways to display them. The image included in the full post shows an example of each of the display types. Another nice feature with the extension is that you can decide which links to display and the order they appear - all which can be configured with the new Extension Manager featured in version 1.3. All images are obviously included in the download.
[Images Provided by FastIcon]
Display Styles
Extension Settings
SocialBookmarks Extension.zip (91.86 kb)
SocialBookmarks (Generic).zip (90.63 kb)
Installation Steps for the BlogEngine.NET Extension
- Add the SocialBookmarks.cs file to your App_Code/Extensions directory
- Add the SocialBookmarks Image Directory to your website
Note: You can place this directory anywhere in your website, however you must leave the "circle" and "square" directories inside of the "socialbookmarks" directory for the paths to properly map. You can configure the path to the "socialbookmarks" image directory in the extension settings. - Done! Check out your blog and see your changes. =]
Installation Steps for the Generic Version
- Copy/Move the "SocialBookmarks" folder into your images directory
- Copy/Move the "socialbookmarks.ascx" user control into your project
- Copy the code from the "Add to Post File.txt" file into your project (Configure the "src" property)
- Configure the 3 values in your "socialbookmarks.ascx" file (Image Path, Website URL, Post Title)
- Done! Check out your blog and see your changes. =]
