Hey, I am building a site for a boy scout troop, and we would like to have a troop roster on our site. I've been looking for a good module to do this, but haven't found one yet. We want it to display the user name, email address, patrol (see below), rank, and phone number. If someone could point me to a good module for this, that would be great.

Right now, we have both a profile blank for patrol and patrol groups. I will probably get rid of the profile blank, since the og patrols are more effective. However, if there was a way to automatically fill in this profile blank with witch patrol group they are in, we would like that.

Finally, is there a good event/calendar module other than the "Calendar" module? I really don't like the way the Calendar module is displayed.

Comments

vm’s picture

investigate the views.module when you want to create lists.

be careful showing email addresses as they may be able to be harvested by spam bots.

as far as I know the calendar.module and event.module are the only two modules that do what they do.

Tanis.7x’s picture

Thanks, I'll look more into the views module.

I would like to try the event module, but it doesn't support 6.x as of right now.

nevets’s picture

For the first part, the content construction kit (CCK) can be used to define one record and views used to display the information in a variety of ways,

As for the calendar module, by over riding the theme functions you can control the look of the calendar to a high degree.

Tanis.7x’s picture

I've been playing around with views, and I've got a nice view I like (it's styled as a table).

The one problem I have is that they are grouped by patrol (an organic group), and the separate lists are a bit squished together (the name of the next group is on the line directly following the previous table). Is there any way to add more space between the separate tables, or add an <hr> tag between them?

nevets’s picture

Probably yes but without seeing what you have it is hard to be specific. What you want should be possible with a bit of css and/or theming.

Tanis.7x’s picture

Here is a link to the roster-
http://tanis7x.byethost22.com/drupal-6.2B/drupal-6.2/roster

You can log in with username "member", password "test".

nevets’s picture

Try adding this to style.css

.view-Roster table {
  margin-bottom: 20px;
}

And if was me I would give the columns fixed widths so the table columns line up vertically, something like this

.view-Roster  .views-field-name {
  width: 100px;
}

.view-Roster  .views-field-value-1 {
  width: 80px;
}

This gives the first and second columns a width letting the third take up the available space.

Tanis.7x’s picture

Thanks, that worked great!