Blog entries posted during 2009

Part 8: Preparing for launch – Create an EPiServer site from scratch

by: Frederik Vig

This is the last part of Create an EPiServer site from scratch. We’ve come a long way, almost finishing our site! What we have left is doing some testing and deploying it to our production server. Client side performance testing When doing... [ Read full article ]

24 December 2009  0 Comments

Part 7: Creating the Sitemap page – Create an EPiServer site from scratch

by: Frederik Vig

We’re soon ready to launch or site. One thing that is missing is the Sitemap page. This is a page that will help our users find what they’re looking for, and give them a nice overview of the site structure. Create a new page type with these settin... [ Read full article ]

22 December 2009  0 Comments

Part 6: Creating the XForm page – Create an EPiServer site from scratch

by: Frederik Vig

The XForm page will help our editors collect data from their users. Editors can easily customize their forms the way that they want, and decide how to store the data (in a database, by email etc). Lets create a new page type. using EPiServer.Core;... [ Read full article ]

19 December 2009  0 Comments

Part 5: Creating the search page – Create an EPiServer site from scratch

by: Frederik Vig

Today we’re implementing our sites search page. This will be a very standard search page with nothing fancy. Instead I’ve included some links that’ll help you extend this search page even more. Quick search We already have the markup for the quick... [ Read full article ]

16 December 2009  0 Comments

Part 4: Creating the standard page – Create an EPiServer site from scratch

by: Frederik Vig

In this part we’re going to create the standard page. We’ll use this page type for most of our site, from news to other stuff. As always start by taking a look at what you’re about to implement: style.html. It contains all the common scenarios tha... [ Read full article ]

13 December 2009  0 Comments

Part 3: Creating the start page – Create an EPiServer site from scratch

by: Frederik Vig

In this part we’re creating the start page for our site. Lets start by taking a look at the page we’re implementing. We have one featured news story at the top, followed by a list of 4 news stories. Lets start with that. Create the page type, by... [ Read full article ]

10 December 2009  0 Comments

Extending PageData with some cool Html Helpers

by: Frederik Vig

I’ve been reading up on ASP.NET MVC recently. One of the things I love about ASP.NET MVC is the control we as developers have over our markup. ASP.NET MVC doesn’t use server controls, instead it relies heavily on extension methods for generating... [ Read full article ]

07 December 2009  0 Comments

Part 2: Creating a foundation – Create an EPiServer site from scratch

by: Frederik Vig

In this part we’re going to build our sites foundation. The first thing we’re going to do is take a look at the ready made template that we’re tasked with implementing. This is the template that we’re going to implement: Jungleland. Go over and ta... [ Read full article ]

07 December 2009  0 Comments

Part 1: Setting up the development environment – Create an EPiServer site from scratch

by: Frederik Vig

In this first part I’m taking you through setting up everything on a new computer. Most likely you’ll have done some of this before, in that case feel free to skip to the parts that interest you. If all this is new to you, I would install everythi... [ Read full article ]

04 December 2009  0 Comments

Introduction – Create an EPiServer site from scratch

by: Frederik Vig

This is the first post in a special Christmas blog series. The series will consist of 9 posts (including this), showing you how to create an EPiServer site from scratch! I’ll update the code along the way, completing it all with the last post (the... [ Read full article ]

01 December 2009  0 Comments

Extending EPiServer Categories

by: Frederik Vig

The other day I asked a question on twitter Is there an easy way of getting all the selected categories from a sub-category in EPiServer for a page? If you use CurrentPage.Categories or (CategoryList)CurrentPage["MyCategoryProperty"], you’ll get a... [ Read full article ]

27 November 2009  0 Comments

Removing duplicates from a PageDataCollection

by: Frederik Vig

Today I had to remove duplicate pages from a PageDataCollection. I checked for a method that would help me with this in the SDK, but couldn’t find one. I then went to the Filters namespace to see if there was a filter for this, but no luck. I then... [ Read full article ]

27 November 2009  0 Comments

Flash and Flash Video EPiServer Dynamic Content

by: Frederik Vig

I’ve extended Allan Thræn’s Insert Flash elements in the Editor as Dynamic Content, to now use swfobject for a more standards-friendly way of embedding Flash. I’ve also added support for videos, by using Flowplayer, which is a popular Flash Video... [ Read full article ]

17 November 2009  0 Comments

Better breadcrumb trail

by: Frederik Vig

I often install the Public Templates when setting up a new EPiServer project. They contain some good code that I reuse in various parts of a new site. One thing that I’ve copied and modified is the code for the breadcrumb (breadcrumb.ascx). By... [ Read full article ]

14 November 2009  0 Comments

The SelectedTemplate and duplicate code

by: Frederik Vig

The SelectedTemplate is used in the MenuList and PageList EPiServer web controls. It is a template used for displaying selected items in navigation lists. This is a nice template to have, but sometimes it is an overkill to use it. Say when you onl... [ Read full article ]

11 November 2009  0 Comments

Specify your preferred external URL in EPiServer

by: Frederik Vig

Here’s a little SEO tip – search engines give you a penalty for having duplicate content. Duplicate content can be different urls going to the same content, eg: [ Read full article ]

07 November 2009  0 Comments

EPiCode.Extensions new EPiCode Community Project

by: Frederik Vig

I’m a huge fan of extension methods. In every project I have at least a couple of them. Always adding new ones. If you read other blogs you see that I’m not the only one. We all have a couple of classes with extension methods we use in our project... [ Read full article ]

01 November 2009  0 Comments

SlideShare Dynamic Content

by: Frederik Vig

In previous posts I’ve blogged about the SlideShare API. In this post I’m going to show how you can use it to create a Dynamic Content Plugin that lets your editors choose a presentation from and display it on their web page. Before... [ Read full article ]

25 October 2009  0 Comments

EPiServer FindPagesWithCriteria and FindAllPagesWithCriteria

by: Frederik Vig

I didn’t know about the FindAllPagesWithCriteria method until today. There is a subtle, but very important difference between the two. FindPagesWithCriteria will filter out pages the requester does not have access to and that are not published,... [ Read full article ]

21 October 2009  0 Comments

Sending confirmation email to the user when using EPiServer XForms

by: Frederik Vig

Plenty of websites have contact forms or other forms that the user fills out to either make a request or provide feedback. This is something that many sites use instead of making their email address public available. To avoid receiving to much spa... [ Read full article ]

17 October 2009  0 Comments

Creating an EPiServer Plugin

by: Frederik Vig

In EPiServer you can use plugins to extend the UI with new functionality for administrators and editors. You have 10 different types (in EPiServer CMS5 R2 SP2) to choose from. These are: ActionWindow – Item in listing on action window in edit mode... [ Read full article ]

08 October 2009  0 Comments

Creating a mobile version of a web site

by: Frederik Vig

When building web sites we has developers or designers have to take into consideration all the different types of devices that can be used to access the web sites we create. Not just PC or Mac with Internet Explorer, Firefox, Safari, Opera, Jaws, ... [ Read full article ]

04 October 2009  0 Comments

Creating a Custom EPiServer Paging Control

by: Frederik Vig

Earlier I wrote about the PageList control from EPiServer, I mentioned in that post that the markup and functionality that the PagingControl renders is not the best. For instance it will not work without JavaScript enabled on the client (for searc... [ Read full article ]

20 September 2009  0 Comments

Extending search field with suggestion box

by: Frederik Vig

Disclaimer: In this example I’ve kept the code simple to make it easier to read and to give you an idea of how you might approach something like this with EPiServer. This code should not be used in production scenarios since it will use a lot of... [ Read full article ]

17 September 2009  0 Comments

Custom Property: ShareIt

by: Frederik Vig

Update (12.09.2009) Updated the CSS code a little Added new social media sites Changed some of the icons Added Norwegian language support Download the updated code. You’ve probably seen the addthis/sharethis toolbars on various sites that lets you... [ Read full article ]

07 September 2009  0 Comments

EPiServer web controls: MenuList and PageTree

by: Frederik Vig

Other posts in this series: EPiServer web controls: Property EPiServer web controls: PageList EPiServer web controls: NewsList Both the MenuList and PageTree controller are controllers that you’ll come across when building the navigation for your... [ Read full article ]

16 August 2009  0 Comments

EPiServer web controls: NewsList

by: Frederik Vig

Other posts in this series: EPiServer web controls: Property EPiServer web controls: PageList EPiServer web controls: MenuList and PageTree The NewsList control differs from controls like the PageList with its template options. It has four templat... [ Read full article ]

25 July 2009  0 Comments

EPiServer web controls: PageList

by: Frederik Vig

Other posts in this series: EPiServer web controls: Property EPiServer web controls: NewsList EPiServer web controls: MenuList and PageTree The PageList is very similar to other data controls you’re familiar with like the Repeater. It has a few co... [ Read full article ]

20 July 2009  0 Comments

EPiServer filter – part 2: create your own filter

by: Frederik Vig

If you haven’t, be sure to check out EPiServer filter – part 1. In one of my project I had a bunch of categories and needed to filter a PageDataCollection to find pages that had one or more of the categories. Out of the box EPiServer has no filter... [ Read full article ]

28 June 2009  0 Comments

EPiServer Extension Methods part 2

by: Frederik Vig

EPiServer Extension Methods part 1 From LinkItemCollection to PageDataCollection public static PageDataCollection ToPageDataCollection(this LinkItemCollection linkItemCollection) { var pageDataCollection = new PageDataCollection(); foreach (var... [ Read full article ]

16 June 2009  0 Comments

EPiServer filter – part 1

by: Frederik Vig

Often we need to filter some of the pages in our PageDataCollection. Perhaps we wish to only show the pages that are published or that the user has access to. For this EPiServer has a few filter classes. Below you’ll find a some examples. More... [ Read full article ]

28 May 2009  0 Comments

Master Pages and EPiServer CurrentPage property

by: Frederik Vig

When you use user controls or web forms in your EPiServer web application you usually inherit from either UserControlBase or TemplatePage. Which gives you, among other things, the CurrentPage property. The problem is when you need the CurrentPage... [ Read full article ]

20 May 2009  0 Comments

EPiServer Link Collection Property

by: Frederik Vig

In EPiServer CMS 5 R2, EPiServer added a new property called the link collection. This property allows you to add links to web pages, documents and e-mail addresses. For a nice overview see this post: EPiServer 5 R2 and Link Collection property In... [ Read full article ]

18 May 2009  0 Comments

Frederik Vig

About me

I currently work as a System Developer for Geta in Oslo, Norway. I mainly write about things I work with, which are – .NET and web technologies.



Tag cloud

EPiTrace logger