Hello I came here after watching the Lab with Leo. I am going to be managing a website for a sports league with many teams and leagues. Say ages 6-7 is one with say 6 teams, 8-9 with 5 teams 10-11 and so on and so on. I am looking for something that can show when the games are to be played(calendar) and something that can show the scores. Does anyone know of anything for Drupal?

Comments

nevets’s picture

I would use the event module (there is also a way to do this with views). I would make a custom content type for the event (game) using the CCK module including the scores. You may also want to use the location module has it provides an easy way to provide location information including a map link. I would also use the complemplate module to theme the custom type so only data that is present is displayed.

I would probably also use taxonomy to make vocabulary called 'leguea' with terms for 'age 6-7', 'age 8-9', etc and use it with the custom content type. That way you could apply the correct term to each game and people could choose to filter the calendar to show events only for a single age group.

I would also provide a block showing the scores of the most recent games, possibly using the views module or a custom code snippet.

One could get fancier, but I think that would meet your stated needs and not be too hard to setup depending on your skills.

TCPPhoto’s picture

So what should I be downloading/reading?

bm123’s picture

Take a look at the handbook it is very helpful. Also go though the modules and see which ones may work for you. Also with drupal it is wise to have a testing server(localhost) and a live server (with your hosting provider) this way if something goes bad it will be on your testing server and not on you hosting server. I find when testing that you will install a lot modules and some may mess up other ones. If you test this first you will know what works before putting it on your live server. Read the information on creating custom content types with CCK this is very powerful! Also read up on the theming in the handbook this will help you to change the look and feel of your drupal site. If you know how to work with a CSS style sheet this is good information to learn as well. I would also get winar if you don't already have it as you can use it to unzip the modules. Once you unzip the added modules go into the sites/all/modules you will need to create the modules folder in sites/all folder. Just drag and drop the module folder into the sites/all/modules folder from winar. Then go into your drupal install once it is set up and then go into the admin panel and under modules and you will see your new modules there. Hope this helps.

htca’s picture

I found this solution. I built the custom event type. However I need 2 times to available. The first one is the time that people has to gather for the match and the second is the actual playing time.
Secondly, how does the import of database items work?