World is now on Opti ID! Learn more
World is now on Opti ID! Learn more
One really big enhancement is canonical urls for your/customers content. I’m sure you all know about the problem with duplicated content, but not everyone tend to fix it. Here’s my take on it. namespace DV.HttpModules { using System; using...
Lately I’ve seen different ways of creating a menu with correct and semantic html in EPiServer. The example in the EPiServer SDK is just soooo wrong from most perspectives. I think this is the best and simplest way: " ShowRootPage="false"...
Give your editors the possibility to select a country from a drop down list. This is a really simple custom property but shows how easy it is to extend EPiServer . First we create the property... namespace DV.CustomProperties { using System; using...
If you want to mimic the “Mark page as changed”-checkbox in code it's not so obvious how to do that. PageData writeablePage = CurrentPage.CreateWritableClone(); writeablePage["PageChangedOnPublish"] = true; DataFactory.Instance.Save( writeablePage...
If you’re listening to DataFactory events like: protected void Application_Start(object sender, EventArgs e) { EPiServer.DataFactory.Instance.CreatingPage += new EPiServer.PageEventHandler(CreatingOrSavingPage); EPiServer.DataFactory.Instance.Savi...