Hide tabs and properties in edit mode

28 March 2018 EPiServer, EPiServer properties No comments

Today I’d like to show you a new extension that allows to programmatically hide tabs and properties in edit mode. Using this feature, the editor won’t see the unused controls when working with content.
Hide tabs and properties in edit mode
(more…)

Converting pages in edit mode

20 February 2018 EPiServer 3 comments

In this article I’d like to describe new Episerver extension for converting pages in edit mode. It can be useful for Editors to simplify updates of site structure and keeps links to the content.
Converting pages in edit mode
(more…)

Reverting property to a specific version

7 February 2018 EPiServer, EPiServer properties 1 comment

When editing complex types like ContentArea or XHtmlString it would be good to have preview of all available property value versions. The Editor would be able to revert the property to older version or copy property from other language or even another page. In this article I will show an extension to All Properties mode that allows reverting property value to a specific version.
reverting property to a specific version
(more…)

Switch button property

9 January 2018 EPiServer, EPiServer properties No comments

By default Episerver use dijit checkbox when rendering boolean property. I wanted to add a possibility of defining labels for true and false values. That’s why I prepared a switch button property that displays configurable label for the selection. It can be useful to highlight the selected value.
switch button property
(more…)

Icons in Edit Mode Tabs

6 January 2018 EPiServer 1 comment

I’ve implemented a small extension for edit mode. In All Properties view you can set an icon for tabs.

Icons in Edit Mode Tabs
(more…)

Additional header properties

4 January 2018 EPiServer, EPiServer properties 3 comments

Not all properties are visible in the page template and can be edited using PropertyFor helper. Some of them have to be edited through All Properties mode. I thought that it would be useful for editors to have quick access to some properties in On Page Edit. I introduced a way of adding additional header properties.
additional header properties
(more…)

Content ChildrenGrid View

27 November 2017 EPiServer 7 comments

You haven’t seen much from me for a while, it’s because I was working on a bigger feature. Haven’t include much text or code snippets this time. Rather wanted to present overall functionality. Lot of images and animated gifs. Take a look on ChildrenGrid custom view. View displays a configurable list of children for current content.
(more…)

Edit link for blocks in HTML Editor

3 September 2017 EPiServer, EPiServer properties 2 comments

When adding a block to HTML editor it’s rendered as a DIV element with name of the block. After a while it could be hard to determinate from where the block was referenced. I improved block rendering by adding “Edit” link to the block element.
HTML Editor block
(more…)

How to use SelectMany to work with flags enum

31 July 2017 EPiServer, EPiServer properties No comments

EPiServer provides a build-in SelectionFactory for enums and SelectOne attribute for selecting single value. But for flags enum we want to have a checkbox list and be able to select more than one value. In this article I’d like to show how to use SelectMany attribute for editing flags enum property.
property enum flags using SelectMany attribute
(more…)

How to turn off autopublish in ContentArea

25 July 2017 EPiServer, EPiServer properties No comments

When creating new block directly from ContentArea, the block is automatically published and added to ContentArea. This behavior is not configurable. In this article I will show how to add new block as a draft.
Creating new block from ContentArea
(more…)