ExpressionEngine Training by Boyink Interactive

Learn ExpressionEngine® Fast

 
By Mike Boyink on July 12, 2008 in Building a Church Site    (1) Comments

For any potential visitor using a church’s website to help make a decision of whether or not to attend, a Beliefs section is pretty important.  Getting the corporate church beliefs posted on the website can also focus members on them in a way that’s not possible otherwise.  In this chapter of the Building a Church Site on ExpressionEngine series, I’ll cover the implementation of the Beliefs section on the example website.  From an ExpressionEngine perspective there is nothing notable about this chapter save for the speed at which it can be done - there isn’t any new ground here as far as coding approaches.

So - how’s that for an exciting lead-in? ;)

It’s true though - from a content perspective this is an important page as churches and even denominations have split over the details that will be found here.  However, it’s a simple page to build as it takes advantage of many things that I’ve created already.  The build took all of about 15 minutes here on a rainy Saturday morning.  The longest part of this process for you will be finding and getting agreement on the content. 

So to build this section you’ll need to do the following:

  • Create a Beliefs weblog
  • Assign an existing field group
  • Create a beliefs template group
  • Copy worship/index and edit to suit
  • Enter content
  • Update embeds/main_nav

Create a Beliefs Weblog
Create a weblog named Beliefs - and you can choose to create a new template group here at the same time if you wish.  Choose the worship template group as one to duplicate if you do this step. Make sure the template group is named “beliefs”.

Assign an Existing Field Group
I assigned the existing “simple content” field group to the new weblog.  I won’t need a category or status group here.

Copy worship/index and Edit to Suit
If you didn’t do this earlier then now, create a new template group named “beliefs”.  Copy the Worship template group.

Change all the “worship” references to “beliefs” - in the page title embed, the body id, and the main navigation location.

Change the code in the content area to the following:

<!--BEGIN CONTENT SECTION-->
    <
div class="interiorBox">
        <
h2>Beliefs</h2>
        
{exp:weblog:entries weblog="beliefs" disable="trackbacks|member_data|pagination" sort="asc"}
            
<h3>{title}</h3>
            
{page_content}
        {
/exp:weblog:entries}

</div><!--END CONTENT SECTION-->

Enter Content
Now enter your content.  I chose to copy the beliefs-related content from my own church site—which is http://www.mannais.org

Update embeds/main_nav
The main navigation template will need to be updated to point to the new template.  I’ll include the updated code in the companion files as usual.

Yawn
So - that’s it?  Yep.  No fun coding approaches to share here - only the excitement at the speed at which some sections of a site can come together using ExpressionEngine

What’s Next?
Next we’ll get started on the Event Calendar - a part of the site I know will be more interesting and useful.

Companion Files:
This zip contains the new beliefs/index and an updated embeds/main_nav:

18-Beliefs.zip

Series Navigation

Next entry: No-Module-Required Static Content in ExpressionEngine

Previous entry: 17 - Implementing the Worship Section

Previous Comments

Just a note of suggestions you might want to incorporate in your book that may help others brainstorm on how this can be really useful.

I used page/comps single column to create pages for the Apostles’ and Nicene creeds and third with a hyperlinked (internally) page containing the catechism.  We then added links to this sub-pages to the main beliefs area, which mentions those.  As you note, and I want to emphasize, in showing this to parishioners, we noted that it elevated the significance and ownership of these beliefs in ways that were a bit surprising to us.  Particularly the accessibility of the catechism was welcomed by the focus group.  It provided them a ready reference that we did not realize they lacked.

#1 by on July 13, 2008
Page 1 of 1 pages

Add Your Comment


Name:
Email:
URL:

Remember me?

Shoot me an email when someone responds?

Enter this word:

Here:

Checkout Requirements

In order to make a purchase from Train-ee you’ll need to first be registered and logged in, and you will also need a PayPal account.

Links to the downloadable files will be sent upon receipt of payment.

Note that if you pay with a credit or debit card and PayPal sees the transaction as an “eCheck”, there will be a 3-4 day delay before the transaction completes and you receive the download links.

Categories

Church Website Project

Feed Me