Being able to split your page designs into reusable components that content editors can then manipulate how they want tom is one of Episervers best-selling points, These components in Episerver language are called ‘Blocks’. This section describes what blocks are is more details, how to create some and some how-to guides on creating specific blocks that you may want to implement within your project.
I have spent many an hour of my life messing around with trying to get information to be passed between different controllers in different states. A fairly common requirements is having a page that is made up of a form built up via several blocks, f[...]
Last time I discussed what a page type is, in this article EPiServer Page Types A Quick Reference Guide, today I'll talk about blocks. A website is made up from a number of different types of pages. Each of those pages are made up of a number of d[...]
One of the main benefits of using MVC is the separation between the view and the model. This separation means a block or page can have more than one view. In Episerver we have several methods available to us for rendering views. In today's article[...]
In Episerver 7.5 and above, a new feature was released that allows content editors to change the widths of blocks and pages partials. In my last article How To Make A Block Use Multiple Views ? A Partial View Controller Explained I briefly covered th[...]
One thing you will need on your first Episerver website is a method to preview blocks within the editor. Previewing a page will work as expected, but, when you try to preview a block within a ContentArea, out-of-the-box you see a 'Preview is not avai[...]
I've talked previously about how to preview blocks in Episerver, How to Preview a Block in Episerver. In today's tutorial we are going to cover previewing different renderings for your blocks based on all the available display options set on the web[...]
This post is another rare case example and, as the usual disclaimer, 99% of the time you will never need to do this. The information in this article is a working that may be required in exception circumstances. Situations like custom caching or ren[...]
When you work on a project, you will often face the challenge of needing to start work on the website before the actual HTML is ready yet to integrate. Over the past few months, I've been using a really simple trick to help speed up my development p[...]
When we work with Episerver blocks you may have heard of 'shared' blocks and 'local' blocks. In today's guide, I'm going to discuss the differences between them and go over the code required for each.
Shared Blocks... Local Blocks... Why is this So[...]