How to create a channel in Craft CMS

Oscar de la Hera Gomez
A flower that represents Craft CMS with the text "Channel" beneath it.

A step by step walkthrough in creating a channel for Subscribers in Craft CMS.

The following tutorial walks you through how to create a channel that holds subscribers in Craft CMS. The tutorial forms part of our Open Source series of creating a series of API endpoint that manage the subscribers to the delasign website.

This tutorial assumes that you have created text fields for the email and name of the subscriber, as well as a lightswitch (flip switch) field to determine whether the user is subscribed or not. If you are not familiar with how you can create lightswitch or plain text fields or how we recommend that you group them, please consult the tutorials listed below.

We recommend downloading and setting up out Open Source Craft CMS starter project and carrying out the steps below.

Step One: Select Settings

A screenshot of Craft CMS with a highlight on "Settings" on the left menu sidebar.

In the side bar on the left side of the screen, select Settings.

Step Two: Select Sections

A screenshot of the Settings Craft CMS screen with a highlight on the "Sections" tile that falls under the content section.

In the Craft CMS Settings screen, select Sections under Content.

Step Three: Select + New Section

A screenshot of the Sections screen in Craft CMS. A highlight is placed on the top right of the screen on the "+ New Section" button.

In the Craft CMS Sections screen, select the +New section button on the top right of the screen.

Step Four: Create Channel

A screenshot of the Create a Channel screen. Highlighted are the section type that is set to Channel, the default status that is on and the x on the preview target - which we recommend that you click to remove the target, as a subscribers list is not a page but a dataset. Finally there is a highlight on the top right on the "Save and edit entry types" button that you must pressed once the form is complete.

In the Create a new section Craft CMS screen, name your section - this will automatically assign a handle.

After that, navigate to the Section Type and select Channel.

Subsequently, make sure that the default status for the entry is ON and remove the preview target - as this is not a web page but a dataset.

Once everything is good press the Save and edit entry types button.

Step Five: Select Default Entry Type

A screenshot of the Subscibers section entry types with a highlight on "default".

In the screen that appears, select Default under the Entry Types tab.

Step Six: Drag and drop fields

A screenshot of the default entry type screen with arrows pointing at how you can drag fields from the fields inspector on the left side of the screen into the entry type field layout.

From the fields inspector on the right side of the screen, search for and drag and drop your fields into the Content tab.

If you wish to create a separate tab to structure your fields, press + New Tab, name your tab and drag your fields into the area of the new tab that you created.

Step Seven: Save

A screenshot of the default entry type screen with a highlight placed on the "save' button on the top right of the screen. Press this when your entry type has added all the neccesary fields and tabs. A second highlight sits on the "Title Format" which appears if you uncheck "Show Title Field". Within the highlighted box sits "{email}" which is what we used to replace the title field with the email field.

Once complete press Save on the top right side of the screen.

If you navigate to Entries, Subscribers will now appear under Channels.

Please note we programmatically made the title field equal to the email field, by setting the title format to {email} (the handle of the email field).

A screenshot of the Craft CMS entries screen with the "Subscribers" channel under the channel label on the left side of the screen.

Any Questions?

We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.

delasign logo

Book a Free Consultation.

An icon of an email.

Click here to email us.

Fill in the details below to book a free consultation or to let us know about something else. Whatever it is, we are here to help.

How can we help you ?

Contact Details