SimpleUpdates Support Site

Getting Started, Helpful Tips, and FAQs

Home> Start Here> Black Admin Bar on Left> Settings> Collections> Custom Collections> Community Events Collection

Community Events Collection

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

1) Create a custom collection form

2) Add some sample data into your collection

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

This collection demonstrates a "more info" button where the user could click to expand the table to see the address and other details on an event. (This could be useful to other types of collections you may want to build.)

 

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 HTML code below will function properly.

1) Form Title: Community Events

2) Add field. Type: Date. Name the field: Date/Time (required)

3) Add field. Type: Short Answer. Name the field: Title (required)

4) Add field. Type: Paragraph. Name the field: Description

5) Add field. Type: Yes/No. Name the field: Approved

6) Add field. Type: Short Answer. Name the field: More Info

7) Add field. Type: Address. Name the field: Location

8) Add field. Type: Short Answer. Name the field: Cost


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

1) Singular name: Event

2) Identifier: events

3) Icon: your choice. I suggest: fa-calendar-check-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.


Add some Event data into your collection

Add a few entries using the "Add Event" option at the top right. Add several events 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 "Community Events" 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: