Blog

Brewing fresh Orchard Core CMS Tutorials

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...

Bootstrap 4 Carousel Widget for Orchard Core CMS

I developed a Bootstrap 4 Carousel Widget for Orchard Core CMS. It allows users to add a carousel to their Bootstrap 4 websites with no knowledge of HTML, yet at the same time, allow Orchard Core developers to modify and extend the module for easy customization...

Dynamic Theme Selection in Orchard Core CMS

While developing a new Orchard Core CMS Module I thought about dynamic theme selection in Orchard Core CMS. In the current version of Orchard CMS the administrator has the ability to preview the website using a different theme during his or her active session without changing the current theme on the website. This is a really awesome feature thankful to Orchard's support for theme selectors, which "negotiate" which theme will be displayed to the visitor at any given time based on priority. Normally this is always the currently selected theme when on the frontend or the admin theme when navigating the backend, but features can be developed to change the current theme based on culture, time of day, user role, at random, etc...

Live Chat Module for Orchard Core CMS

I developed a Live Chat Module for Orchard Core CMS. This is similar to my robots.txt module that I just developed for Orchard Core in that it has custom settings that are populated in the admin dashboard, but different in that we want the live chat to be available on every page of the website. I will be developing a Google Analytics Module for Orchard Core using the same technique...