When Personalisation Breaks Rendering Parameters

Rendering parameters are used to allow editors to control the more presentation-oriented settings without editors needing to duplicate or clone their datasource items. However, I recently came on a situation where they seemed to break when an editor used personalisation to swap in a rendering that needed a different set of parameters to the original. I found a neat, if limited, solution that fit my needs and hopefully others may find it useful.

Custom Sitecore Configuration: Part 2, Objects

This post follows on from my introductory post about Sitecore configuration, where I talked about using settings and retrieving XML fragments.  In this post I talk about how you can use Sitecore configuration to instantiate and populate objects of your choosing.  This is useful for cutting down on the amount of mapping code you have […]

Custom Sitecore Configuration: Part 1, Introduction

I’ve spent quite a bit of time looking into the way that Sitecore configuration can be used.  It has some fairly novel features in it, and while it’s becoming less relevant as support for dependency injection in Sitecore matures, I don’t think it’s going anywhere.  All the same, it’s quite useful for adding flexibility to […]

Sitecore dynamic site provider

I did a bit of playing around recently with Sitecore’s SiteProvider infrastructure.  Our client wanted to be able to create new websites without needing a developer to set it up for them.  The nuts and bolts of sharing templates and renderings is already well documented, so I’m not going to go into that.  I am going […]

Unit Testing Sitecore

Unit testing is a very popular topic, and is a very good practice to adopt. Unfortunately, as anyone who has worked with it will know, some common Sitecore classes can’t be mocked or be directly instantiated. So, the logical solution is to let your unit tests access the Sitecore API and databases. This post contains some instructions on how I do this.

Sitecore Patch Files

As anyone familiar with Sitecore’s guide of recommended practices, changing the <sitecore> section of the Web.config file directly is frowned upon.  Rather, developers should use things called Sitecore configuration include files, or patch files.  By default, these are stored in the /App_Config/Includes folder of the website. There are plenty of blog articles about them on […]

Setting Sitecore ImageField

Update: this post uses an older version of the Sitecore API. For an up-to-date solution, please see this updated article. Recently I had to write something to allow users to upload their own content on a Sitecore site. Not an unusual, or especially difficult, piece of functionality but one thing that did give me a […]

Quick Update

So, I thought I’d ease into what will (hopefully) be another flurry of posting activity with a quick update on what’s been going on here recently.  If you’ve read through earlier posts on this blog then you may well know that I started working at bit10 in September 2007.  I’ve had a fantastic time working […]

Sitecore v6.0

Yesterday I took my “upgrade” certification exam to upgrade my Sitecore 5.3 certification that I obtained last August to to the recently released version 6.0. Sitecore is a highly adaptable and extremely powerful CMS that bit10 chose as its CMS of choice.  After reviewing a fair number of competing offerings (including Amaxus and Ektron), we […]

ASP.Net MVC Framework – Initial Thoughts

Having just completed a relatively large project using the newly released ASP.Net MVC Framework, I thought this would be a good time to post my thoughts on the framework.  I have to say that the bulk of my experience with MVC framework comes from my time using Ruby on Rails, so many of my perceptions […]

PHP4, IIS6 and 64-bit Windows 2003 Server

If anyone had asked me how to put these three things together a week ago, I would have cringed; my next reaction would be to suggest upgrading to PHP5, using Apache, and one flavour or another of Linux.  Unfortunately that wasn’t possible at this point so, armed with the usual developer tools (that is, the […]

Matt Gets Certified

Being my first “official” certification, I figured I’d give it a mention.  A couple of weeks ago I got sent down to London to do some developer training for a CMS that we’re going to be using quite a bit at the company I work at.  At some point, there’s also going to be some […]

My first two weeks

Well, I’ve reached the two week mark at bit10. I’m quite impressed with myself. So far, I’m really having a great time (always good where jobs are concerned), and the people are really nice too. The pub lunches, and trips to nice places like Alton Towers help too though .