A feature I often feel is lacking from EPiServer is the ability to browse the site in ‘preview mode’. An editor may wish to save several pages without publishing and subsequently view the site to preview the changes prior to publishing. This can be done from within edit mode, by clicking save and publish, however editing a page will edit the latest published version rather than the latest unsaved page.
Read the rest…
Custom Context Menu Items and Preview Mode
EPiServer custom filters
EPiServer page filters provide a mechanism to remove pages from a page collection. By developing custom filters, you can provide your own rules for page filters. Here are a few useful filters.
Read the rest…
EPiServer site configuration with validation
Almost every EPiServer site I build requires some configuration settings, most notably links to pages such as login, registration etc. Theres plenty of ways these values can be set, but I tend to use the Start page to store these values. Usually within a custom “Site Configuration” tab. To date, this has proven to be an effective approach to managing configuration.
When adding new required properties to the site configuration section, it’s easy to forget to set the values – which could potentially result in broken pages. To get around the risk of being a little forgetful I have written a class to check for missing values before the site loads. Should any required properties on the start page be missing, an error page will display a short message with details of which properties are blank. Read the rest…
Declaring property types with PageTypeBuilder
One of the first things you’ll need to discover when working with PageTypeBuilder is how to declare each property type. To save time, I keep a sample page type class from which i can copy property types. Here they are Read the rest…
LinkCollections and PageTypeBuilder
To date, I have only run into one issue with PageTypeBuilder – although support for all standard EPiServer property types is advertised, the property type resolver didn’t seem to recognise LinkCollections.
If you are experiencing the same issues, heres a quick fix. Read the rest…
Discovering PageTypeBuilder
I’ve been working with EPiServer for around 4 years now and had heard Joel Abrahamsson’s PageType Bulder mentioned a handful of times. However, I only truly discovered PageTypeBuilder a few weeks back, and I have to say, it has absolutely revolutionised the way I work with EPiServer.