I want to create a soccer-league. When i create a game node there is the field game number. What is this number for? I need the games ordered by day of play. What would you suggest me, should i add a cck field for the day of game or order the game-view by the date?
Comments
Comment #1
Fintheb commentedThe game number is to indicate the order of the games. It is useful for determining how many games are left too. The only reason I can think of that this would not work is if you have a game re-scheduled due to weather where you play game 5 after game 6 or something similar. In this case, you should be able to sort on date of the game.
Comment #2
rötzi commentedThe idea of the game number was to have a unique identifier for a game. The reason I did this is, that in the Basketball league I play in, we have a 4-digit number for each game. That's also why the module assumes this number to be unique (per season). It looks like this is not going to work for others.
I have seen now, that there are leagues which have these "game rounds". Is that what you need?
i.e.
Game Day 1:
- game 1
- game 2
- game 3
Game Day 2:
- game 4
...
Where the individual games can be at different dates though.
Comment #3
witzel commentedYes, game days would be great. Then I can build a view for each gameday to have an overview how the other teams played.
Comment #4
pstead commentedThe game number is a problem for my sport, soccer. I have 5 different age group teams in my club and its difficult to find a unique number for each game. I ended up prefixing the date of the game with the age group. e.g. an Under 16 game today would be 16221109.
It would be great if the number could be autogenerated instead of user input.
Comment #5
rötzi commentedI will make the requirement and uniqueness constraint of the game-nr an option.
One reason for the uniqueness of the game-nr was that this guaranteed a unique path. At the moment, the path setting for the game node is:
[sport_game_season_path]/game/[field_sport_game_game_number-raw]
So if the game-nr is not unique (and possibly not set at all), what is a good default for game paths?