Site Recipe: Tracking Event Results With CCK and Views
Platinum and gold sponsors
We’ll create a site that creates team events and displays the results in various ways, using CCK and Views, similar to the tournament site at http://www.everbloom.us.
AGENDA
The example is a fishing tournament where we record results for each individual tournament, and also keep cumulative results for each team for all events they participate in. This will illustrate some flexible ways to use CCK and Views that could be adapted to any situation where you need to link together people, events, and results.
We’ll create several content types and link them together with nodereference fields, then build calendar views of the tournaments, views that show the cumulative team standings for the year, and views that show detailed results both by tournament and by team. We’ll make the detailed results available both in a tabbed stand-alone view and embedded in the relevant event and team nodes.
RESOURCES
This site recipe uses the D5 versions of the following modules:
* CCK
* Views
* Date
* Calendar
* Computed Field
* Views Calc
* Auto Node Title
* Token
* Flickr and Flickrfield
| Attachment | Size |
|---|---|
| results.txt | 8.68 KB |
| team.txt | 3.42 KB |
| tournament.txt | 4.41 KB |
| team_list.txt | 1.91 KB |
| tournament_list.txt | 1.95 KB |
| tournament_results.txt | 2.89 KB |
| team_results.txt | 3.11 KB |
| standings.txt | 2.21 KB |
| calendar.txt | 2.75 KB |
| event_results.odp | 1.43 MB |

Session moved
This session has been moved to Thursday to accommodate a schedule conflict.
FANTASTIC!
Unbelievable demonstration of what CCK and Views can do! And many thanks for providing the files so we can really look over what you did. Thanks Karen!
I agree
Yes, this was one of the best sessions, as it was a clear, worked example of how to extend the power of two important modules. Thanks Karen, and please can you do more of this kind of thing - on Drupal Dojo?!
error in importing content type
On slide 3 of the odp, a few more modules to enable: node reference, user reference, content copy
When I attempted to import the content type team: team.txt, received the following messages:
* The field Fishermen (fieldfishermen) was added to the content type Team, but an error has occured updating the field settings.
Please check the errors displayed for more details.
* An error has occured adding the field Big Fish (fieldteambigfish).
Please check the errors displayed for more details.
* An error has occured adding the field Total Weight (fieldteamtotalweight).
Please check the errors displayed for more details.
* An error has occured adding the field Results (fieldteam_results).
Please check the errors displayed for more details.
I am getting the same error
I am getting the same error when I try to import content type team. I also have the suggested modules enabled. Did you find a solution?
Continuation
I tried creating a custom content type called test with a user reference field. When I try to export this custom content type, I get the same error.