ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Sports Team website featuring Teams, Players (+ stats), Matches etc.

February 20, 2012 10:09am

Subscribe [3]
  • #1 / Feb 20, 2012 10:09am

    Callum

    1 posts

    I’m mainly a Wordpress person but I’m building a new site which is proving difficult to do in Wordpress so I’m looking into other options.

    Basically I’m doing a site for a sports club which would require the ability to have multiple teams and then assign players to a team (and players to have their own bio page with additional meta data such as squad number, position).

    Once this is setup, during the season they’d need the ability to create a match report. A simple title and description but also the ability to select which team played, which players from that team played as well as any stats for the individual players (eg goals scored).

    In Wordpress this is proving tricky to do and I’m thinking there must be a different platform out there more suited for this.

    I hand it over to you EE community.

  • #2 / Feb 20, 2012 11:45am

    Rob Allen

    3114 posts

    Hi Callum welcome to the forums!

    Setting up teams and players is quite straightforward…

    1. a Channel for Team data
    - each team can then have as many custom fields as you need to hold info such as name, badge, description, location etc

    2. a Channel for player data/profile
    - each player can have as many custom field to hold relevent player data, such as name, age, position, squad number, photo

    What you can then do is use EE “related entries” to associate players to a team. What you can then do is use “Reverse related entries” on a team page to list all it’s players.

    You could, if you wish also some Category groups for things like what position a player plays - this might be useful if you want to list all “goalkeepers” irrespective of which club they play for.

    Match reports are a little more complicated…

    You’ll probably need a new Channel for match reports, then add some custom fields for the report itsself, eg:

    Title
    Story
    Home team (related entry from the Teams channel)
    Away team (related entry from the Teams channel)
    Home team score
    Away team score
    Home team players (use the Matrix/Playa addons to select multiple players and input data)
    Away team players (use the Matrix/Playa addons to select multiple players and input data)

    The harder bit is trying to account for player stats per game. You may be able to accomplish this with the Matrix and Playa addons, this would allow you to select a player then add goals scored etc or whatever data fields you want. That would take care of match stats, you should then be able to display a players match stats on their profile page by pulling in the match data.

    Hope that helps!

  • #3 / Aug 23, 2012 4:56am

    uacstudios

    1 posts

    Just wanted to let you both know there is a module now available from devot-ee that covers a lot of the core functionality described here (future versions will have even more functionality). We are also open to developing specific features where necessary. Here’s the link to the module:

    http://devot-ee.com/add-ons/team-manager

    Let me know if I can help any further

    Stephen

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases