Archive of 2009 November
-
Extending EPiServer Categories
Posted on November 27, 2009 by Frederik Vig in EPiServerThe 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, you'll get all the selected categories in...
Continue reading this entry → -
Removing duplicates from a PageDataCollection
Posted on November 27, 2009 by Frederik Vig in C#, EPiServerToday 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...
Continue reading this entry → -
Flash and Flash Video EPiServer Dynamic Content
Posted on November 17, 2009 by Frederik Vig in EPiServerI'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...
Continue reading this entry → -
Better breadcrumb trail
Posted on November 14, 2009 by Frederik Vig in EPiServer, Web designI 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...
Continue reading this entry → -
The SelectedTemplate and duplicate code
Posted on November 11, 2009 by Frederik Vig in EPiServerThe 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...
Continue reading this entry → -
Specify your preferred external URL in EPiServer
Posted on November 7, 2009 by Frederik Vig in EPiServerHere'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: http://www.example.com/tags/episerver/sort=newest http://www.example.com/tags/episerver/sort=oldest http://www.example.com/tags/episerver/ These are all pointing to the same content. The problem with this...
Continue reading this entry → -
EPiCode.Extensions new EPiCode Community Project
Posted on November 1, 2009 by Frederik Vig in EPiServerI'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...
Continue reading this entry →