Drupal Sermon Feature

G&G Moderator
Josiah's picture
Joined: 12/20/2007

I've been messing around with the Feature module created by Development Seed for Drupal and have gotten pretty excited about it. As a result, I've released a Drupal Feature called sermon. It does what you might expect, puts together a Sermon feature to add to your drupal website. It includes all sorts of neat little bits that I'll be able to use next time I stand up a Drupal church website. I put up three church sites this year so have had the opportunity to play with this method a good bit. Hopefully it is useful to you also.

Anyway, I'd love to get your feedback on it. I believe the method is pretty similar to that used by Rob Feature (*chuckle*). One of the dependencies is the FFPC module he commissioned so your sermon is podcasted. Since it is similar to the methods we've all likely heard talked about on the Podcast here, then you all are probably qualified to tell me what I did wrong.

I'd especially like your thoughts on how I handled the recording of the passage for the sermon. This could be so much better with a module that made a single CCK field for a scripture passage when filling it out in the forms, but then allowed us to run views on just the book of the bible or the chapter. I can't figure out how to really handle that well without this sort of module. It would be extra awesome if this module had a pop-out selector like the date module for selecting dates. There is a project that has potential: http://drupal.org/project/bible_reference, but it isn't views compatible yet.

I haven't done any theme stuff. I'm not yet sure I could do theme things in a feature and maybe that's for the best. You'll all want it to look different anyway.

http://projects.josiahritchie.com/project/sermon

G&G Moderator
Darrin's picture
Joined: 01/29/2007
Very cool. Thanks for doing

Very cool. Thanks for doing this. Eventually, maybe starting in Jan we will be re-doing my church site. Might try this out on it.

Joined: 09/04/2008
Thanks Josiah. I have two

Thanks Josiah. I have two church sites I do and I'll see about adding this and give you feed back. I like the idea of tacking sermon notes to the sermons. I'll try it in a few days on my local install.

G&G Moderator
Josiah's picture
Joined: 12/20/2007
Thanks guys!

Thanks guys. It's exciting to think others already are thinking about how they can give this a shot. If you find it doesn't quite hit your needs, please feel free to tell me why.

G&G Moderator
G&G Podcast Host
micah's picture
Joined: 06/21/2007
Very Cool Feature

Josiah,

This is a very cool feature, and I appreciate the links included on your project page, which provided a great introduction to the Features module.

Your might want to add the context and getid3 modules to your list of required modules, but they showed up immediately on the Features administration page, so it was easy to see that they were needed.

I tested this on a very clean D6 site, and only had a couple of problems installing it. I had not enabled Image API, so the site squawked about not having a toolkit (either imageapi_gd or imageapi_imagemagick) enabled. Since that's a matter of preference, I'd leave it out of the feature. It also took me a second to figure out that context_ui had not been enabled, but again, it's not needed, so no big deal there, either.

I got a WSOD in node/add/sermon that I fixed by enabling date_popup. That module should be added to the dependencies list.

As for scriptures, I've simply done mine as a plain text field then applied scripturefilter to it in the theme layer.

The only theming I'd do within the feature itself would be maybe controlling when/how labels are displayed, which you've done in admin/content/node-type/sermon/display, so I think you're good there.

The only real problem that I see is making the speaker a User Reference field. I tried that, but it falls apart as soon as you have a guest speaker. Some churches may limit their podcast to only their senior pastor or pastoral staff, but in a more generic setting, this should probably be a text field.

You've required FFPC, but I don't see a feed in your sermons view. I'd be interested in how you've incorporated the date field in the view since, by default, Drupal feeds use the publishing date rather than a CCK field for the date. I've worked around this by just overriding the authoring date when I create the node, which isn't really an elegant way of doing things.

All in all, I like what you've done here. There may be a few tweaks, but it clearly shows what can be done using the Features module.

Micah

Joined: 12/14/2008
Can't unpack

7-zip cannot unpack this.

**update: prob was with 7-zip ... getting ready to install Sermon Feature **