EPiServer

Image property with media component

2 October 2018 EPiServer, EPiServer properties No comments

In this article I’d like to show a custom implementation of image property. There are already few blog posts and code snippets about improved image editor, but most of them focus on showing thumbnail for selected image. In my code I refactored image selection dialog and replaced content tree with media component. It can be useful for Editors, because media component has many features that can improve their work.
image property
(more…)

View on website in new window

20 September 2018 EPiServer No comments

Today I’d like to show very small extension that can be useful for some editors. In edit mode, when clicking “view on website”, the page is opened in same window. Of course using quick navigation button Editors can go back to the same edit place, but for some people this behavior can be annoying. I prepared few lines of code, that allows to open pages in new window.
view on website
(more…)

D&D local blocks

6 September 2018 EPiServer, EPiServer properties No comments

In one of my previous articles I showed a small improvement for Editors. They could create a page shortcut using D&D from page tree. This time I’d like to show another feature related with D&D. I implemented functionality of populating local blocks properties from shared block instance. Editor can drop shared block on the local block to copy all properties.
D&D for local blocks preview
(more…)

Fixed gadgets

13 August 2018 EPiServer No comments

Episerver gives a flexible way of adding and rearranging gadgets in edit mode. Editors can select which gadgets should be displayed, change their position and size. But for some editing scenarios we would like to force specific gadgets to be displayed for all editors and behave similar to the “Page tree”. Those fixed gadgets should should be added automatically when Editor logs-in to the edit mode and it should not be possible to remove them. I prepared a small snippet that allow you to make this work.
(more…)

Grouping properties using header

3 April 2018 EPiServer, EPiServer properties No comments

There are few ways for grouping properties in edit mode. You could place properties that should be grouped in a separate tabs. Another option is to define new block type that contains related properties and use the block on page. But when you don’t want to have too many tabs or block types you could try to use my custom implementation. In this article I will show functionality of grouping properties using header.
Grouping properties using header
(more…)

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…)