A blog about computer stuff

  • EPiServer start page language based on visitor's IP

    Got tasked with determining and showing start page language based on visitor's IP on a EPiServer 7.13 Web Forms site.

    Added Saturday 6 September 2014 11:29

  • XML Sitemap from EPiServer Scheduled Job

    A quick post on how to write a valid sitemap.xml file to disk. I used this approach in a scheduled job for EPiServer.

    Added Friday 31 January 2014 16:19

  • Partial Routing with EPiServer 7 and Web Forms

    Saw this post on EPiServer World about routing and friendly URLs and in that case external data. I had done something similiar so I simplified and extracted into an Alloy project.

    Added Tuesday 26 November 2013 13:37

  • DropDownList Category Picker in EPiServer 7

    A client needed the editors to be able to select one category from a SELECT box. I knew there were some built-in controls to make things like this easy in EPiServer 7.

    Added Friday 17 May 2013 16:18

  • One way to import pages from EPiServer 4 to 7

    I was given the task to import pages from EPiServer 4.6 to a new EPiServer 7 site. Access was limited and I had no possibility to modify the code or configuration of the 4.6 project. I went for a solution where an export package was used.

    Added Wednesday 13 March 2013 14:19

  • Analyzing SQL Server database size

    I recently posted a reply about Reducing database size at EPiServer World and thought I'd assemble some queries that come in handy when analyzing a database gone huge.

    Added Monday 18 February 2013 23:36

  • Avoid uppercase letters in your EPiServer page URL

    For a number of reasons it's widely recommended to use all lowercase URL's inside a web site. Unfortunately EPiServer out of the box uses the same casing as the entered PageName (unless you modify the URL manually).

    Added Wednesday 16 January 2013 18:20

  • Page Type Builder and TinyMCE global settings

    A complete example of how to manage global TinyMCE settings for your XHTML-string properties.

    Added Wednesday 5 September 2012 09:17

  • Issues when upgrading to EPiServer CMS 6 R2

    CMS 6 R2 has been around for a while and I have completed a bunch of upgrades. There are a lot of issues that might or might not affect the site you are upgrading.

    Added Wednesday 30 November 2011 14:39

  • EPiServer User Picker Property that uses the built-in Membership Browser

    Maybe I have poor Googling skills but I couldn't find a simple user picker property anywhere. We had some examples at work but they involved a custom user control and too much javascript.

    Added Friday 5 November 2010 11:28

  • Remember to configure CmsAdmins in EPiServer 6

    Tried to reach the search settings admin view but didn't get access. Snooping around led me to a new EPiServer 6 group name setting.

    Added Wednesday 29 September 2010 13:55

  • Retrieving an EPiServer 6 global setting value

    You added some property settings to your custom property and created a couple of global settings for the editor to choose from. Then you find out you want to get hold of the setting values in code. Here's how you fetch them.

    Added Tuesday 20 July 2010 10:03

  • Replacing the TinyMCE table plugin in EPiServer 6

    I got the task to replace the TinyMCE table plugin with a stripped down version optimized by a colleague.

    Added Tuesday 22 June 2010 00:10

  • Using Dynamic Data Store related to an EPiServer 6 page

    We decided to build a poll function using a Question page type and an Option page type to put below. For each option we thought the new Dynamic Data Store related to an EPiServer page - the Page Object Manager - would be a neat thing to use as storage for the votes.

    Added Wednesday 16 June 2010 08:00

  • Alter default InitOptions for TinyMCE in EPiServer 6

    The default config options set by CreateDefaultInitOptions() aren't really what you need to help editors create correctly marked up content. Luckily the guys at EPiServer have a way to tweak 'em.

    Added Thursday 20 May 2010 16:15

  • Brilliant graphic design in HP printer setup

    Installed three HP printer drivers and got three different directories in Progam Files (HP, Hewlett_Packard and Hewlett-Packard). This was not the only ugly thing about it though.

    Added Thursday 8 April 2010 10:04

  • Vary EPiServer cache by all querystring parameters

    I had a EPiServer CMS 5 R2 project where there was a lot of templates lifted in from an older solution. It was very querystring intensive so I needed to get away from specifying each querystring-parameter in the httpCacheVaryByParams setting and still enjoy public caching.

    Added Friday 29 January 2010 12:34

  • Using XmlTextWriter to output RSS with MVC

    I converted some code from a Web Form project that was using the XmlTextWriter class to generate RSS. Here's what I ended up with to get it working from a Controller in a ASP.NET MVC 1.0 project.

    Added Wednesday 23 December 2009 12:37

  • How to create a role task by code in EPiServer

    After failing duplicating the ParallelApproval Workflow I looked into creating a task by code in the project instead. Didn't find much documentation online so here's my initial Proof of Concept to fill the gap.

    Added Monday 14 December 2009 16:41

  • Error code 8004402f installing Vista Service Pack 2

    I was unable to install Vista Service Pack 2 but after a number of tries finally found what the problem was.

    Added Thursday 9 July 2009 22:00