Looking for Drupal Advice from a guru
MarkCos - February 23, 2009 - 16:35
Hello there,
I am developing a website with Drupal for a soccer club and am looking for a little advice on the structuring of the site.
I plan on creating a new Content Type for fixtures and results and am a little confused as to :
a) Create a Vocabulary for 'Our Teams' and add terms like 'A Team', 'B Team', 'Youth Team', 'Under 16', etc
OR
b) Create a Field using CCK and just add the above terms to the possible values and make it a drop down list.
Also, any advice on whether this is the best way to do it or whether I should be looking at developing a module would be mucho appreciated.
Thanks,
Mark
[Heine - Moved to support, please use non-generic post titles]

Option a sounds good ...
I think you'll get more flexibility if you go with your first option (a) of using taxonomy (vocabs and terms).
-backdrifting
Ok, thanks for the reply. M
Ok, thanks for the reply.
M
_
Are you planning to give the teams members themselves logins and have them participate on the site? If so, I recommend looking at the http://drupal.org/project/og module. If not, then yes, imo taxonomy will be more flexible.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
I didnt think it was possible
I didnt think it was possible to do what I want with og? How do you think I could incorporate A Fixture/Results service with OG?
_
Sure-- og 'groups' are nodes-- you could use nodereference fields for the 'team' drop downs that list the various groups.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
...
Ah, the lightbulb is begining to flicker! I was looking at the Event module too as in theory games could be considered events. Would there be any benefit in using this module or is it un-needed?
Thanks for the reply.
_
Strictly speaking, it's not necessary, but it would give you the added flexibility of showing your fixtures in a calendar type view. However, there's basically 2 ways to handle calenders and events: the event module and the date/calendar modules. Based on usage statistics they appear to be equally popular. There's a free chaper from the "using drupal" book that describes how to set up a calendar with date/calendar-- might be worth a look before making a decision.
If you go the og route, you might also want to check out the http://drupal.org/project/og_calendar module.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
..
Thanks for your replies WorldFallz. I see there are many ways to do things in Drupal, while none are completely wrong, some ways are better than others!
M
_
That sums it up pretty well-- good luck. And post back with your solution once you've worked it out.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Getting there...
Hello,
Just posting back to give an update on my progress.
- Ended up taking your advice and going with OG for the 'Teams' of the club.
- Set up (so far) 2 Content Types with CCK for 'Games' and 'Events' (club meetings, training, etc as Event taxonomy types)
- Went with taxonomy also for Competitions, Referees, Venues, Opposition Clubs
- Using the calendar module to show events and games.
I still have a good bit of work to do to tie it all together but so far so good. The site is http://www.cahirparkafc.ie but there is only dummy content there so its a little bare.
Will post back again when I am finished (hoping that wont be too far away!). Am debating whether to go to another level and use Advanced Profile and/or Content Profile to assign Players/Users to games and give them Goal, yellow card, etc fields. The ideas are pouring out!! - polls for 'player of the season' for each team, created by the Group managers.
The trickiest thing about a sports club site is the notion of seasons and how this should be managed. I still have not figured this out but am leaning towards a new Group each season for each team. Its not perfect as it will be tricky to create a View that says 'show me how the Under 12 team got on against 'Opposition Bla' over the past 3 seasons'. But its better than using the same Group and having to overwrite the team photo and other team data every year.
_
Excellent-- sounds like you've made great progress.
The more you learn drupal-- the more the ideas about not what to do, but how to do it, will started exploding-- it's pretty cool.
That's a very interesting point you make about seasons-- that's one thing that never occurred to me. I'm not so sure I'd go with new groups though. I think I would just add a vocabulary for "Season" and use the years as terms-- make it required for every node and you could pull the statistics you want. Also, if you do use content_profiles you can also assign it to team members. Make it multi select and you now can show which seasons a team member has played. I'd also probably add a 'status' field to team members with terms for "active" and "inactive" and/or "retired".
just some food for thought... let me know how you make out.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
--
At the moment I have a Team Content Type which is my main Group node. Here I enter team info like Photo, Management, etc - stuff related to a Team for that year. If I reuse that Group node next year I will have to update and so lose this years info.
Both ways have their pros and cons.
You are right with regard seasons though - I have to incorporate that into every game, not just every team. I could bring in a New Content Type of 'Squad' and relate that to a 'Team' and term 'Season'. Each squad has its own Photo, Management, players, etc.
My Team page could be more of a bio on the history of the Team with links to the various squads.
I may be getting warmer! Thanks.
_
Also-- if you use a view or panels for the group home page you can set it up to filter for the current year and you won't have to 'redo' the group home page per say. For example, you would just add a new 'team photo' node, tag it with the current season, and it would be automatically filtered in the home page. Same for roster, games, etc. hmm... this is sounding really interesting... i may have to set up something like this just for fun, lol.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Hi, we had a wee launch and
Hi, we had a wee launch and the site is out there now. Pretty happy with it but there is more I would love to do, Drupal is a little addictive and if I dont start on another site I could play away with this one forever!
Added a few more content types but am thinking now some of my taxonomy should have been nodes. I am thinking anything that could possibly have a second field, even if you might never use it, should be a node, but then where do you draw the line. agh! looping taxonomy to display in specific places on node pages just does not seem right. If you have to do this does it mean it should have been a node?
I went with the squad plan and attached a photo to each. I have a view for the roster but am finding it tricky to bring in 2+ taxonomy vocabs but that doesn't matter too much. Its great learning Drupal, watched a lot of the vids from DrupalCon, trying to push Drupal on an airline I used to work for now. I've gone Drupal mad!
Thanks for your comments and words of wisdom!
M
_
Excellent! And drupal is very addictive-- I probably should have warned you about that, lol. you'll start thinking up places to use it... for family... friends... neighbors... ;-)
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Just so you know
Your menu appears left-aligned in IE8.
Also thanks for posting this as I will soon be starting a similar task to what you have going.