Using a single domain strategy with multiple languages in EPiServer

Introduction This post covers one way of enforcing a domain strategy for multi-language (or multi-division) sites. There are two common scenarios for multi-language site domain strategies: Use... [ Read full article ]

04 April 2008  4 Comments


Using LINQ and EPiServer

Just as a brief proof of concept I decided to use a LINQ statement to retrieve and sort a list of EPiServer pages. If you haven't yet come across LINQ I would recommend Scott Guthrie's post on using... [ Read full article ]

10 March 2008  0 Comments


Modify and publish a page programmatically

Inspired by Marek's post on modifying existing pages I  decided to complement my post on programmatically publishing new pages with a post on how to modify and publish existing pages in... [ Read full article ]

06 March 2008  1 Comments


Create and publish a page programmatically

This post explains in detail how to programmatically create a page in EPiServer CMS 5. It also shows how to publish a page through code, even when the current user lacks the necessary... [ Read full article ]

05 March 2008  2 Comments


Search by language branch in EPiServer

This post is a complement to my previous post about searching pages with EPiServer. I have gotten a few questions about how to limit a page search to include pages from a specific language branch.... [ Read full article ]

02 March 2008  2 Comments


Search for EPiServer pages based on properties

This post aims to clearly illustrate a way of searching for EPiServer pages based on property values. By specifying search criteria and a place to start the search you'll get a PageDataCollection... [ Read full article ]

26 February 2008  4 Comments


Check to see if a page exists for a specific language branch

Have you ever wanted to know if a specific EPiServer page exists for a specific language? I recently came across an implementation that looked something like this:try { DataFactory. Instance.... [ Read full article ]

11 February 2008  2 Comments


Programmatically configure customErrors redirects

I previously posted a possible solution for handling 404 exceptions in EPiServer websites, but here's an alternative and possibly more elegant way of configuring custom error redirects for... [ Read full article ]

09 February 2008  4 Comments


How to get the friendly URL of a page in EPiServer CMS

Maybe there are other posts about this, but I thought I'd share an easy way of getting the friendly URL of a page since I've gotten questions about it on numerous occasions:public static string... [ Read full article ]

07 February 2008  5 Comments


Handle 404 exceptions in EPiServer CMS

As many of you know, there is a comprehensive 404 handler available for download through EPiCode. However, I just wanted a simple way of specifying a PageID and have that page act as a 404... [ Read full article ]

07 February 2008  9 Comments


If you're getting full postbacks with ASP.NET AJAX and EPiServer 4.62

After having 1) referenced System. Web. Extensions and 2) added all the necessary entries to web. config, we still got full postbacks when submitting through an UpdatePanel in an EPiServer 4.62... [ Read full article ]

07 February 2008  1 Comments


Use EPiServer Manager when upgrading to CMS 5 SP1

... or read this once you've ignored that piece of advice Eager to update to EPiServer CMS SP1 I got a bit careless. I finished my development locally, published and tested it on our staging server... [ Read full article ]

06 February 2008  1 Comments


Disable URL rewriting for specific URLs

There comes a time when you need to prohibit URL rewriting for specific URLs within your EPiServer CMS website. For example, I've implemented an ashx handler that is used to deliver vCard files on... [ Read full article ]

17 January 2008  4 Comments


Status property always returns VersionStatus.Published

I ran into some interesting anomalies involving "Access denied" when trying to fetch published pages using the GetChildren() method. I tried to determine whether or not a page was published by... [ Read full article ]

10 January 2008  2 Comments


Unable to send e-mail without local SMTP server

When you try to send e-mail through an external SMTP server using the System. Net. Mail namespace classes, you may encounter an error saying "Cannot get IIS pickup directory". Often this has to do... [ Read full article ]

12 December 2007  2 Comments


Ted Nyberg (Hallvarsson & Halvarsson)

About me

I work for the corporate communications consultancy Hallvarsson & Halvarsson in Stockholm, Sweden.

My main focus areas are architecture, design and implementation of online applications such as public web sites and intranets.

Live Messenger

Hallvarsson & Halvarsson logo
 MCPD, MCTS and MCP logos


Syndications


Archive


Tag cloud