Liquid Filters for Orchard Core CMS A custom liquid filter for Orchard Core CMS.

Custom Liquid Filters in Orchard Core CMS

Project Description

The Caesar Cipher liquid filter was initially made for fun on a relaxing Sunday afternoon at Starbucks while we were learning how to develop custom liquid filters in our themes and modules for Orchard Core CMS. This was back in the early days of 2018 when Orchard Core CMS was still in beta. However, now we use it as part of our Orchard Core training classes and presentations to teach other developers how to create modules and liquid filters in Orchard Core CMS.

The Caesar Cipher liquid filter is installed via a custom Orchard Core CMS module that is enabled from the Orchard Core dashboard. Once enabled, it installs a Caesar Cipher liquid filter that can be used in any shape that supports the liquid template language.

During our Orchard Core CMS training classes and presentations we often demonstrate the new liquid filter by creating a custom widget with a TextField, HtmlField or HtmlBodyPart and then encipher the body of the text via the Caesar Cipher liquid filter as part of the widget's custom template. This not only demonstrates the power of liquid filters in Orchard Core CMS, but also reinforces how to create custom templates for content types in Orchard Core CMS!

David Hayden talks more about the Caesar Cipher liquid filter for Orchard Core CMS.

Project Details