Code a la Mode banner

Building for Multiple Sitecore Versions With .NET Core

One of the most important factors in authoring a successful Sitecore Marketplace module is maintaining compatibility with new Sitecore versions. This post goes over how to utilize .NET Core’s simplified csproj footprint and implicit package dependency resolution to build your project against multiple Sitecore versions in one step. Automate the dev-ops part of maintaining modules so you can just have fun and focus on the code.

Read More

Custom Sitecore Pipeline Processor to Allow Dynamically Binding Multiple Placeholder Settings Items to a Single Placeholder Key

This post is part of a series

  1. Structuring placeholder keys and settings in a multi-site Sitecore implementation using out-of-the-box functionality
  2. Custom pipeline processor to allow dynamically binding multiple placeholder settings items to a single placeholder key

Building upon the Placeholder Overrides functionality described in the last post, this post describes a small customization that enables any page template to bind multiple placeholder settings items to the same placeholder key. This is very useful in multi-site implementations.

Read More

How to Structure Placeholder Keys and Settings in a Multi-Site Sitecore Implementation

This post is part of a series

  1. Structuring placeholder keys and settings in a multi-site Sitecore implementation using out-of-the-box functionality
  2. Custom pipeline processor to allow dynamically binding multiple placeholder settings items to a single placeholder key

A multi-site Sitecore implementation is when multiple different websites are deployed into the same Sitecore instance. Each site has its own unique set of renderings and templates. However, even sites that look and function completely different may still share a common set of generic renderings, like grid structures or an image carousel.

This makes management of placeholder keys and placeholder settings items tricky. We want to reuse the same renderings across multiple sites and page types, but the rules about what can be inserted where vary for different sites. This post goes over how to solve this challenge with a commonly forgotten out-of-the-box Sitecore feature called “Placeholder Overrides”.

Read More

Sitecore Flow - the Benefits of Versioning Your Sitecore Environments

This post is part of a series

  1. Project Organization - Beyond Helix
  2. “Sitecore Flow” - The benefits of versioning your Sitecore environments

Put aside everything you know about using git because this post explores a completely untraditional method. This method enables you to roll back failed deployments in seconds. Additionally, it automates the clean up of obsolete files.

Read More

Extending Coveo's "Numeric Slider Facet" Component to Search Over Multiple Fields - Part 2

Today we will finish building a custom Coveo slider facet that filters based on whether the numeric range of a Sitecore item overlaps with the numeric range specified by the user. In Part 1 we extended an out-of-the-box Hive slider facet with extra fields and validation by creating Sitecore items and code-behind classes for the new rendering and settings. Today we will focus on my favorite part of the customization process - the JavaSript portion.

Read More