Menu
Prayer Requests

You can easily create a Prayer Requests custom collection, in four easy (sort of easy) steps:

1) Create a custom collection
2) Create a Form in the Forms collection to match the Custom Collection
3) Create a Prayer Request page, and add in page content and  code (we'll show you how)
4) Fill out the form (for testing), export the Prayer Form data to the  Prayer Collection.

1) Create a custom collection (    )

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.

A) Form Title: Prayer Requests
B) Add field. Type: Name. Name the field: Name (which is the default)
C) Add field. Type: Date. Name the field: Date (which is the default)
D) Add field. Type: Drop-down. Name the field "Category" and put in these drop-down options: 
Comfort
Death
Fear
Finances
Forgiveness
Guidance
Guilty
Healing
Help
Hope
Patience
Salvation
Wisdom
Worried
Other

E) Add field. Type: Short Answer. Name the field: Title
F) Add field. Type: Paragraph. Name the field: Request
G) Add field. Type: Yes/No toggle. Name the field: Make Public

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

A) HTML Identifier: requests
B) Icon: your choice. I suggest: glyphicons-fire
C) Singular name: Request
D) Title Field: None
E) Featured image field: None
F) API Access: noneNow, 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.

2) Create a Form in the Forms 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.

A) Form Title: Prayer Requests
B) Add field. Type: Name. Name the field: Name (which is the default)
C) Add field. Type: Date. Name the field: Date (which is the default)
D) Add field. Type: Drop-down. Name the field "Category" and put in these drop-down options: 
Comfort
Death
Fear
Finances
Forgiveness
Guidance
Guilty
Healing
Help
Hope
Patience
Salvation
Wisdom
Worried
Other

E) Add field. Type: Short Answer. Name the field: Title
F) Add field. Type: Paragraph. Name the field: Request
G) Add field. Type: Yes/No toggle. Name the field: Make Public
H) Click the "Advanced" tab in the upper right corner and add in your prayer team members in the "Email Notification" section.
Note: Members that are not available in the "notification" list will need to be added as a website user (any level).

3) Create a Prayer Request page and add in the  page content and code

Now, decide where you want the Prayer Request page to be and create it if it doesn't already exist or edit it if it already exist.  Complete the next steps, A-G.

A) Add a new page.
B) Choose the "Page" page type.
C) Select the template you want to use for the display page.
D) Add i your Title.
E) Copy and paste the following Content and reword for your needs. We inserted  a Column Block (set to 2 columns):

Welcome to our prayer page!

Do you have a concern you would like us to join you in prayer for? You may share your request with us by filling out the submission form.

Our Prayer Ministry Team will pray over each and every request!

If you you wish to make the request public be sure to check the "Make Public" check box. This will allow others to also pray for your request. If you do not want your request to be public, simply set this option to "No" and it will only be viewed by our prayer team.

We reserve the right to not publish some requests. Requests that are too graphic or identify other people through the information or circumstances may be edited before posting for the public or not posted at all.

It is a pleasure for the members of our team to pray for every request weather it is public or private!

Add a Form Block and choose the "Prayer Request"
form that you created earlier.

 F) Bellow the columns add in an HTML Block. Copy and  paste the following code into the HTML Block:






<style>
table, th, td {
    border: 1px solid grey;
    border-collapse: collapse;
}
</style>
<table style="width:100%">
    <tr>
        <th>Name</th>
        <th>Date</th>  
        <th>Category</th>
        <th>Title</th> 
        <th>Request</th>
    </tr>
{% for requests in su.collection( "requests" ).sort( "requests.date" ) %}
	{% if requests.makePublic("Yes") %}
		<tr>
			<td>{{ requests.name.first }} {{ requests.name.last }}</td>
			<td>{{ requests.date }}</td>
			<td>{{ requests.category }}</td>
			<td>{{ requests.title }}</td>
			<td>{{ requests.request }}</td>
		</tr>
	{% endif %}
{% endfor %}
</table>
<p>&nbsp;</p>

G) Publish your new page.

4) Add a prayer request into your collection ( )

Now it is time to see how this all fits together.
A) On your new Prayer Request page fill out the prayer request form be sure to mark the "Make Public" to yes. 
B) Once submitted,  Go to Forms ( ) in the dark gray Admin bar on the left side of your screen and select the "View Responses" button on the  Prayer Requests line.
C) You may view each response and delete any if needed by selecting the "View" button.
D) Next , press the "Copy to Collection" button.
       1) Select the "Prayer Requests" collection.
       2) Next choose to copy just the new requests "Not yet copied" or "All records" including any duplicates.
       3)  Click the blue "Next Button and be sure that all the fields are correctly labeled.
       4) Finally, click the blue "Copy Data" button.
At this point all the submitted prayer requests  that are marked "Make Public" will show on your prayer request page of your website. Any request marked No for "Make Public" will not display for the public.


To process all future prayer requests follow these steps:

A) Once submitted,  Go to Forms ( ) in the dark gray Admin bar on the left side of your screen and select the "View Responses" button on the  Prayer Requests line.
B) You may view each response and delete any if needed by selecting the "View" button.
C) Next , press the "Copy to Collection" button.
       1) Select the "Prayer Requests" collection.
       2) Next choose to copy just the new requests "Not yet copied" or "All records" including any duplicates.
       3)  Click the blue "Next Button and be sure that all the fields are correctly labeled.
       4) Finally, click the blue "Copy Data" button.

1.877.518.0819