Site Recipe: Tracking Event Results With CCK and Views

Platinum and gold sponsors

KarenS's picture
KarenS - Tue, 01/22/2008 - 7:25am
Presenters: 
Karen Stevenson
Track: 
site building
Proceedings Have Been Posted: 
Proceedings Have Been Posted
Session Description: 

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

Scheduled: 
accepted
Session start time: 
03/06/2008 - 1:30pm - 03/06/2008 - 2:15pm
Average: 4.8 (19 votes)
AttachmentSize
results.txt8.68 KB
team.txt3.42 KB
tournament.txt4.41 KB
team_list.txt1.91 KB
tournament_list.txt1.95 KB
tournament_results.txt2.89 KB
team_results.txt3.11 KB
standings.txt2.21 KB
calendar.txt2.75 KB
event_results.odp1.43 MB

Session moved

Ken Rickard - Fri, 02/29/2008 - 4:01pm
Ken Rickard's picture

This session has been moved to Thursday to accommodate a schedule conflict.


FANTASTIC!

Rick Hood - Thu, 03/06/2008 - 8:27pm
Rick Hood's picture

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

edwardpeters - Mon, 03/10/2008 - 6:04am
edwardpeters's picture

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

aufumy - Fri, 03/14/2008 - 12:55pm
aufumy's picture

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 (field
teambigfish).
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 (field
team_results).
Please check the errors displayed for more details.

* Fishermen : Invalid user.
* The default value is invalid.

I am getting the same error

polarshift - Tue, 03/18/2008 - 5:43pm
polarshift's picture

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

polarshift - Mon, 03/24/2008 - 12:40pm
polarshift's picture

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.


 
 

Count-Down to Drupalcon Boston 2008: Count Down, this shows until timer initializes or for non-js folks 2008-03-3T09:00:00 -5 %days% days + %hours%:%mins%:%secs%