Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Multiple leagues within a single league drupal installation is posible using the power of the Organic Groups.
To do so follow this steps:
- Install and enable OG, context and PURL modules
- Enable league_og and league_og_context modules
- Create a content type for the tournament and define it as Group
- Edit Team Content Type and define it as Group Content
- Edit Player and Game Content Types and define them as "Group audience"
- Goto Configuration -> Organic Groups -> OG Context /admin/config/group/context and check OG PURL
- Create tournament content and define the URL preffix to use. This will be set on every game, team and player for the same OG tournament.
After this you have the soil for multiple tournament manegement on a single Drupal installation.
Next you need to configure properly your Organic Groups including your permissions.
Modify your views to filter games, teams and players based on the current OG.
Comments
Player and Game Content Types
Pls could you explain step-by-step how to Edit Player and Game Content Types and define them as "Group audience"?
Under "Content types", I do not see any Player or Game property.
But under Structure, I can see
League Game Types and League Person Types.
Am I doing something wrong or where exactly should it be edited?
Thank you very much, Miro, Slovakia
Setting Group Audience
Settings for these content types are at:
/admin/structure/league_game_types/manage/game/fields and
admin/structure/league_person_types/manage/player/fields
Game and Player content type
Hello,
I cannot get the Game and Player content type to display in my add content menu.
I went into structure and do not see a way to enable either one of the content (Entities?)
Thank you so much!
I found it
For anyone else who did not read the documentation the module developer provided.... (My bad)
I put the paths to the content type add directly in the address bar and created shortcuts to the content add in my admin section.
Players: /admin/content/league_persons/add/player
Games: /admin/content/league_games/add/game
Thank you module creator for the great module. <3