plugin

Visual Studio Build Progress in the Windows 7 Task Bar: Creating a Small VS 2010 AddIn

Windows 7 introduces a whole bunch of cool features, as I've mentioned here previously. Sometimes the simplest ones are the most effective, however, and there's nothing simpler or more effective than the in-taskbar progress indicator. If you haven't seen this already, when you copy a file in Windows Explorer, download a file using IE, or perform any of a number of similar actions that might take a while to complete, the progress information is displayed in the task bar icon for that application.

[img_assist|nid=116|title=Windows 7 Taskbar Progress|desc=This screenshot also illustrates the "Icon and Text" display mode|link=none|align=center|width=400|height=234]

Message Passing 2

As a follow-up to my previous post on message passing in a plug-in framework, I thought I'd post my solution to the problem. Now that I've finally reached a solution, that is...!

[Note: It would be worth reading the first post to get an idea of what I was trying to do. ]

[img_assist|nid=26|title=|desc=|link=node|align=none|width=480|height=318]

Rating filter module for Drupal

One of the things I do with my blog is to review stuff that I've bought or seen or read or listened to. As a result, I wanted to be able to rate this stuff as a concise summary of my view of it.

There are a couple of Drupal modules available that could help me out with this, such as review, bookreview and moviereview, but these are all in various stages of death, and I didn't necessarily want all the extra, sometimes stuff-specific, functionality of those modules, so I sat down last night and wrote myself a little filter module that nicely converts ratings of the form [x/y] to stars. It handles half stars and everything.

The following implementation is a very simple one: it deliberately doesn't expose any settings to the administrator or the user. As such, the default out-of-the-box behaviour is all that is available. No, you can't customise or change the images. No, you can't customise the ratings input formats (e.g., using percentages). No, you can't do anything but replace the [x/y] with x whole stars and y-x empty stars. However, it's a pretty good introduction to developing for Drupal, so here goes.

Subscribe to RSS - plugin