Blog

Brewing fresh Orchard Core CMS Tutorials

Taxonomies in Orchard Core CMS

Taxonomies was recently added to Orchard Core. You can add taxonomies to your Orchard Core Website by enabing the Taxonomies Module from the administrator dashboard under Configuration -> Modules. Once enabled, you can create taxonomies and taxonomy terms and associate the taxonomy terms to content types using a Taxonomy Field. In this Orchard Core Tutorial I will use taxonomies to classify movies in my movie library by genres...

Recipe Migrations in Orchard Core CMS

Awhile back I developed an Orchard Core Module that creates a Bootstrap 4 Carousel Widget for Orchard Core CMS Websites. The module uses the traditional IContentDefinitionManager in Orchard CMS, because Recipe Migrations were not available. Recently Recipe Migrations were added to Orchard Core so I took it for a spin and developed a custom Orchard Core Module that creates a Bootstrap 4 Card Widget. In this tutorial I will show you how to configure Recipe Migrations for your custom Orchard Core Modules...

Custom Color Picker TextField Editor for Orchard Core CMS

Orchard Core CMS has a number of built-in TextField editors: Standard, Multi-line, Icon Picker, and Predefined List. I was curious what it took to develop a custom text editor so I spent a couple of hours at Starbucks this past weekend developing a custom Color Picker for Orchard Core CMS...

Orchard Core CMS GraphQL using GraphiQL

GraphQL was recently added to Orchard Core CMS and I have been eager to try it out. Turns out the development team made this really easy to try by including GraphiQL in the Orchard Core Administrator Dashboard. GraphiQL is a graphical interactive in-browser GraphQL IDE that allows developers to easily create and experiment with various queries without having to use the API. In this tutorial I will discuss GraphQL and GraphiQL in Orchard Core CMS. In later tutorials, I will explore more advanced queries and the GraphQL APIs...

Modifying Our Custom Orchard Core Widget

In the last Orchard Core Tutorial I developed a custom Alert Widget that allows one to easily create a Bootstrap Alert Component in an Orchard Core CMS Website with no knowledge of HTML. While giving a presentation using that example, an attendee asked "how would you make the alert dismissible?" I coded the answer live and thought it would be a good follow-up post. In this tutorial I will be modifying the custom Alert Widget so the user has the option of making it dismissible...

Develop a Custom Widget In Orchard Core CMS

I'm really excited about this next tutorial where I demonstrate one way to develop a custom widget for Orchard Core CMS. Again, we will be using The Blog Theme since it ships with Orchard Core. This is the 3rd part of a series on theme development in Orchard Core. In the first part, I customized the Article Content Type to allow authors to choose and display a custom background image for each article in The Blog Theme. In the second part, I created a new zone for The Blog Theme, where I will place the custom widget I develop today. In all these tutorials I am deliberately using the Templates Module in Orchard Core that allows us to create templates in the database from the administrative backend. These templates override the templates in the themes. Let's get started...

Adding a New Zone to The Blog Theme Layout in Orchard Core CMS

In the last tutorial I enhanced The Blog Theme in Orchard Core by adding the ability to select a background image for each article. This was accomplished by adding a new Media Field to the Article Content Type and overriding the existing template to display the chosen background image. I want to continue this idea by adding a new zone to the layout of The Blog Theme. This will provide more flexibility as to where I can display shapes as well as reinforce overriding theme templates using The Templates Module in the Orchard Core CMS Admin Dashboard...

Overriding Theme Shapes with Templates in Orchard Core CMS

Orchard Core CMS has a few built-in themes. One is called The Blog Theme. The theme comes with a setup recipe that enables a number of features as well as creates a working blog. In addition to a blog, the setup recipe also creates a custom content type, called Article...

Using the Content Picker in Liquid Templates in Orchard Core CMS

The Content Picker was recently released for Orchard Core CMS. I want to share a tip on how to use the content picker in a Liquid Template (or view), because it's a bit different from how we used it in Orchard CMS (first version of Orchard)...

Role Layer Rule Orchard Core CMS Module

I developed a custom Orchard Core CMS Module that provides a role layer rule. The rule, which is a GlobalMethod, allows administrators to specify that all widgets in a particular layer are only displayed to users who are in a specified role. The rule can be used to restrict certain information and functionality to customers, authors, administrators, etc...