Clearing the Umbraco ImageGen Cache

Alternative Title: How to recursively delete sub-folders of a given name (and their contents) from the Windows command line.

ImageGen, the popular image resizing and manipulation component for Umbraco creates a folder called 'Cached' in each media item's folder. This contains an XML file detailing the contents of the cache, along with the cached images themselves.

Sometimes, it's handy to clear these cached folders (when transferring a large site from one server to another, for example), but there's no automatic way of doing this.

continue reading >
17 August

Microsoft Surface: Keyboard Function Lock

The Microsoft Surface is (in my opinion) a great piece of hardware. I was an avid user of the original Surface RT, and now I'm trying out the Pro 2. I'm attempting to use this as a full-time desktop replacement. As such, and as a regular user of keyboard shortcuts, easy access to function keys is really important to me.

Unfortunately, the Type Cover keyboard relegates the function keys (F1-F12) to secondary keys, requiring the 'Fn' key to be pressed simultaneously.

Fortunately, this behaviour can be altered. Simply press 'Fn + Caps Lock' and hey presto, your function keys now behave like function keys. You can, of course, still access each button's other function by holding down the 'Fn' key (so 'Mute' becomes 'Fn + F3', for example) or reverse the whole thing again by pressing 'Fn + Caps Lock' once more.

continue reading >
28 October

Using RenderTemplate for On-Page Widgets in Umbraco

Much has been written about creating 'widgets' or sidebar panels in Umbraco.

In a recent project, we decided to implement our on-page widgets as 'pages' in the Umbraco content tree. This has a number of advantages. Users can be provided with a number of different templates and edit the content with familiar tools. It also means that we can create a central 'pool' of widgets which can then be added to pages using a content picker.


continue reading >
28 September