- // Posted on Jan 31, 2008 by
Danny
-
Comments (16)
For years I have found useful tools/tricks from online collections of links and resources and I recently decided I wanted to be able to easily do this in BlogEngine.NET. Much like the QuickerLinks extension from ckincincy I envisioned collecting my links in one centralized area and being able to quickly distribute them through posts. However, I also had a few other features in mind...
- Link Categories
- Link Category Descriptions
- Link Descriptions
- Centralized Links Toolbox Page
Enter my new Toolbox extension! You can view a live example of this extension on my toolbox page. I only have one category listed at this time as I plan to release new links each week under a variety of categories. Let's get our hands dirty now and talk about the setup of this extension.
Part 1 - Deploy the Code
First download the zip file that contains our admin pages, Xml data file, and BlogEngine.NET extension class file. Deploy each file to their respect location (see the Installation Notes text file in the zip download for more details). You then need to deploy the following line of code to your Web.sitemap file.
1: <siteMapNode url="~/admin/pages/Toolbox.aspx" title="Toolbox" description="" roles="administrators, editors"/>
That's it! We are now ready to utilize the Toolbox extension. I will be creating a screencast shortly and will update this post with that video showing how to get started with the extension. The most important step is creating a new page for your toolbox collection to be displayed on and update our extension settings. I have created a page titled "toolbox" and you can see in the second screenshot below that the value is entered in my settings. There is another setting that allows you to toggle whether link descriptions are displayed. Enjoy!
Admin Page Screenshot
Toolbox Extension Settings Screenshot
Download Toolbox.zip (8.64 kb)
Download Screencast (.wmv)
Update: Bug fixed in App_Code/Toolbox.cs for serving multiple links in a post.
Another Update: See my comment below on the bug fixes for the toolbox extension.
