tedgustaf.com

Code samples artiklar

Alla artiklar om Code samples

Rendering Adaptive Images in Episerver

  • Ted Nyberg
  • 29 juni 2020
  • 0

Examples of how images can be rendered to fit different designs and requirements when using the Adaptive Images add-on for Episerver.

Introduction to Adaptive Images for Episerver

  • Ted Nyberg
  • 4 februari 2020
  • 0

Developer introduction to Episerver Adaptive Images, an add-on for responsive and adaptive images in Episerver with one or more image services or DAMs integrated.

Adding regular expressions to your toolbox

  • Christoffer Sandell
  • 16 oktober 2019
  • 0

Regular expressions are commonly seen as a rather difficult subject, and more often than not developers figure out more complex solutions rather than teaching themselves Regex. Here is a simple, an...

Episerver Google Maps editor update

  • Ted Nyberg
  • 26 september 2018
  • 0

The Google Maps editor for Episerver has been updated to allow developers to customize settings such as API key, default zoom level and coordinates.

Episerver on-page edit with JavaScript frameworks

  • Ted Nyberg
  • 4 juli 2017
  • 0

JavaScript frameworks such as Angular, React, and Aurelia, are powerful for creating engaging and interactive websites. However, these frameworks tend to want to own the HTML DOM, which may have an...

Custom markdown editor for string properties in Episerver

  • Ted Nyberg
  • 16 september 2016
  • 0

Markdown is a light-weight text formatting syntax, suitable for multiple channels and content APIs, not just for web pages. In this post we implement a custom Episerver editor to provide users with...

Icon for property help texts in Episerver

  • Ted Nyberg
  • 1 september 2016
  • 0

Web editors sometimes overlook the fact that properties may have helpful descriptions available by hovering property names in edit mode. This simple example demonstrates how to add an icon in edit...

Denote required properties in Episerver

  • Ted Nyberg
  • 1 september 2016
  • 0

This code snippet shows how to add an asterisk to the property names of all required properties in Episerver.

Force form edit view for content in Episerver

  • Ted Nyberg
  • 31 augusti 2016
  • 0

This code sample demonstrates how to force form editing for specific content types in Episerver, for scenarios where on-page editing isn't practical.

Editor for string list properties in Episerver

  • Ted Nyberg
  • 14 juli 2016
  • 0

This time we're creating a custom Dojo widget as an editor for string list properties, making use of the new PropertyList type that was introduced in Episerver 9.