Episerver Content Areas

A content area is a specialised Episerver property type that allows content editors to add dynamic components (like blocks) into CMS pages.  It is very common that you may need to customise this property, say to add integration with the bootstrap framework.  This section describes content areas in more details and covers some techniques to customise it.


Episerver 7 : Extra divs in content area how to remove them ?

In Episerver 7 onwards, you may notice that the CMS injects two tags above and below all content areas.  When it comes to keeping a static design in-sync with your CMS site, very often you will get broken styles and a lot of crazyness. The extras are[...]


How to Create a Custom Content Area Validator in Episerver?

In some projects, you may want to add some form of custom validation in your content areas, for example you may only want to allow 5 blocks in a carousel, or, you only want certain blocks to be allowed.  In Episerver there isn't a very easy way to do[...]


How To Restrict The Blocks Allowed Within A Content Area In Episerver

A common requirement on most websites is to restrict what blocks can be added to different content areas.  On most projects we usually implement a carousel.  To add a new slider into a carousel is usually done by adding a slide block into a content a[...]


The Best Way to Compare Two Content References in Episerver

In this guide, we're going to talk a bit about ContentReferences, the different ways you can compare them and then give advice about the recommended approach. I came across a snippet of code that, from first glance, looks reasonable but caused a subt[...]


What Is The Difference Between An Episerver Page and an Episerver Block?

The first concept you need to learn when working with Episerver CMS is Pages and Blocks.  If you have worked with any types of CMS before, then pages are pretty self-explanatory.  A website will be built out of several page types/templates.  A standa[...]

Back to top