Home> FAQ> What is a Collection?> Staff Directory

Staff Directory Collection

You can easily create a staff directory custom collection, in three easy (sort of easy) steps:

  1. Create a custom collection form
  2. Add some 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.

Name the directory "Staff Directory."

Add the following fields:

Type: Name: Notes:
Image Image  
Name Name  
Short Answer Title  
Phone Phone  
Email Email  
Dropdown Category Include three options:
Pastoral Staff
Ministry Staff
Support Staff
Paragraph Description  

 

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

  1. Singular name: Staff
  2. Identifier: directory
  3. Icon: your choice. I suggest: glyphicons-person
  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.

 

Add some person data into your collection

As you saw with the examples of the fields above, you will need a photo and some data about each person to be in the Staff Collection. Add a few entries using the "Add Staff" option at the top right. Add several people into your collection.

 

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

Now you can decide where you want the Directory 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 "Staff Directory" custom collection.
  5. Click the Edit field in the center of the page, and paste in this code into this field area. Then click save, and then publish the page: