I am new to Drupal and I am trying to build a website for our church community. I want to have a main front page of course, but it has occured to me that for some sections of the site that it seems like it would be best handled with other sub front pages. For example, for the different ministries (Women's, Mens's, Youth, etc) there wants to be specific information regarding the individual ministries (upconing events, page teasers, articles, etc). For each of these sub front pages, I would like to be able display the pertainent information for each ministry on it's own "front page". One may have a blog, another a forum, another a photo gallery. I also would like to have all the events shared on a single events calendar (the sub font pages would have their calendar events pre-filtered for the specific ministry (Youth, Men's, Sports, etc) and the main calendar off the main page could list them all (so I think I need one database?).

Is there a way to do what the front_page module does, except on different nodes/("urls") within the site?

Thanks for any clues you can give me on how to use the power of Drupal.

Rich

Comments

rjung’s picture

If your theme uses phpTemplate (and you should), you can easily have the default page.tpl.php template detect what the current node ID, type, and/or user settings are, and change to a different template accordingly. See this for details.

--R.J.
http://www.electric-escape.net/

--R.J.

the_other_mac’s picture

You could create a vocabulary "ministry" with the terms "youth", "mens", "sport" etc. While doing this, mouse over your new term in the Categories module to see its term ID; e.g. "youth" might have the URL http://www.yoursite.com/admin/taxonomy/edit/term/15, so its term ID is 15.

The "front page" (where the main content shows the latest posts for "youth") can be found at http://www.yoursite.com/taxonomy/term/15. You'll probably want to give this an alias such as http://www.yoursite.com/youth .

Note that if you have sidebar blocks such as "most recent 5 posts", by deafault they'll display posts from all categories. So you'll probably want to customise them to only include posts in the relevant category. The Taxonomy Context provides a useful function taxonomy_context_get_context() for working with this; try using it in combination with PHP snippets inside custom blocks.

rl’s picture

Thanks for the suggestion. I was considering that, but as a beginner, I was not certain as to what is the bset method.

I have looked into the PHP snippet section of the drupal site and found a lot of references to how to display teaser content form a variety of node types on a static page.

I also concidered modifying the front_page module and creating multiple modules called youth_page, Mens_page, etc. This might be overkill, but might allow the different team members that maintain their respective sections a way of maintining it without having to program anything. I don't mind using PHP, but the others may not.

Thanks for the ideas.

Rich