Home> FAQ> What is a Collection?> Devotional Collection

Devotional Collection

Creating a devotional custom collection requires three steps:

  1. Create a custom collection form
  2. Choose and import the data into your collection
  3. Create a custom collection page, and paste in the page code

Create a custom collection form

Go to Settings -> Custom Collection, and add a custom collection.

Note: it is important that you use these exact field types and names so that the import and the code below will function properly.
  1. Form Title: Devotional
  2. Add field. Type: Date. Name the field: Date (which is the default)
  3. Add field. Type: Short Answer. Name the field: Title
  4. Add field. Type: Short Answer. Name the field: Author
  5. Add field. Type: Paragraph. Name the field: Content

Before you save the form, you'll need to enter some data into the "Settings" tab:

  1. Singular name: Devotional
  2. Identifier: devotional
  3. Icon: your choice. I suggest: fa-lightbulb-o
  4. API Access: none

Now, you can save the custom collection. Notice you will also see this custom collection in your Admin sidebar. Find the new option and select it to go to the collection.

Choose and import the data into your collection

Now you get to import the content for the year that has the devotional content you want to display. We have some options below. Choose one and download it. You want to download it, not view it, so you may have to right-click and choose "download linked file". We will use this file from your computer to import to the custom collection you just made.

On your website, you will see in the sidebar, the collection name. You already clicked on it, and there you will see a list of the items in the collection. Since you just created it, you will need to import from one of the above sample data files. Click Import, and then select the file from your computer to import. Click next, and then finish. Wait till the process completes, and then you will see the list with the data imported.

 

Create a custom collection page, and paste in the page code

Now you can decide where you want the devotional page to be. You can navigate to the parent page, and then click "Create" to make a new child page at that location.

  1. Add a new page.
  2. Choose the "Custom Collection" page type.
  3. Select the template you want to use for the display page.
  4. Select the "Devotional" custom collection.
  5. Click the Edit field in the center of the page, and paste in this code into this field area. Click save, and then publish the page.