By Cosmy on
Hi all.
I'm working on a sport site.
Do you know a module or have any ideas about managing classification and match scores?
I'd like also to link the names of the teams with their personal pages on my site, but without doing it by hand every time i write the name of a team. Have you got an idea on how i can reach this goal?
thank you very much and sorry for my english.
Comments
I had to do something very
I had to do something very similar for a site I'm about to release in a week or so.
I ended up using CCK to create a new content type of Match and added additional fields such as home team, away team, home score, away score, match type (cup, league or friendly) to the node.
Then I wrote a custom module to allow input of players (site members with a specific role) to matches, this is called Team Selection.
When viewing the Match content type there's a link over to the team page which shows a list of the player's avatars. These avatars can be clicked on to view their profile.
So... CCK, own module and PHP pages did the job for me.
When the site is live I'm more than happy to send you a link, the Team Selection page ( own module ) is restricted to members of the site having coach privaledges though.
Keith
I was thinking to do a
I was thinking to do a similar thing, but i want that the name of each team, in the content type "Match", links to the page of the team.
How do you think i should realize it?
Thank you in advance
This is exactly what I do
This is exactly what I do for my content type FIXTURE
In CCK I have a selection list with all the teams.
Then I have a specific node-fixture.tpl.php file which extracts the revelant information and renders it accordingly. This of course means adding a link when it renders the TEAM selection whic in turn points to the team page. This team page accepts the team name and match date as parameters then builds the page based on earlier input from player/sub selection.
Hope this helps.
Keith
Mind posting a link to your
Mind posting a link to your site when it is ready? I'm working on something similar, and I'm curious to see how yours looks.
New Site
more than happy to, mind you won't be able to see the team selection page as that's restricted to moderators of the site ( in reality the coaches of the club ) but when there's some matches in there and some teams selected I'll post up a link.
If you need any assistance in what you're trying to do then by all means give me a shout.
KH
Its Live
Its now live but obviously only a couple of pieces of demo data up there just now.
I'm taking the club officials through the functionality tomorrow evening... in the meantime here it is...
www.hillfootsrfc.com
KH
P.S. Its not IE6 friendly and never will be.
i've managed the fixture
i've managed the fixture content type in this way:
http://prova.serieadilettanti.it/partite/Girone%20A/1
nodereference for the name of the team and the result as field linking to the node.
And then a view to manage the calendar of matches