Fullscreen
Loading...
 
[Show/Hide Left Column]
[Show/Hide Right Column]

Print
  • World
    • No language is assigned to this page.

Hockey_Team


To do

  • Tester le total des absences (pour l'instant ça additionne les numéros de fields (ID 7 + ID 8 = 15 absences) il fallait mettre des "
  • Entrer au moins une donnée par défaut pour chaque tracker :
    • Équipe
    • Calendrier
    • Pratiques
    • Arenas
  • Trouver une façon de recréer "sort_mode=f_11_asc" dans le trackelist ->sort_mode=f_$profileobject:Calendrier_Date$_asc
    • Arranger tous les sort_mode
  • Ajouter le champ M01_P partout
  • Comment faire de "Accueil" la page d'accueil ?
  • Activer le multilingue
  • Comment lier les traductions de pages ?
  • Permissions ne fonctionnent pas il fallait ajouter permissions:
  • Ajouter un élément de menu Admin pour les pages Absences, Stats, etc.
  • Ajouter les modules :
    • Inscription à la newsletter
    • Prochain match
    • Prochaine pratique
    • Fiche de l'équipe

Preferences

YAML
preferences:
 style: thenews.css
 feature_topbar_id_menu: $profileobject:menu$
 siteTitle: $profilerequest:browsertitle$The title I want in the browser$
 feature_wiki: y
 feature_phplayers: y
 feature_cssmenus: y
 feature_top_bar: y
 feature_sitemenu: y
 feature_wiki_paragraph_formatting: y
 feature_wiki_paragraph_formatting_add_br: y
 feature_wiki_description: y
 feature_file_galleries: y
 feature_trackers: y
 feature_user_watches_translations: n
 feature_wiki_ext_icon: n
 feature_page_title: n


Permissions

YAML
permissions:
 Anonymous:
  allow: [ list_trackers, view_trackers, view_trackers_closed ]
 Registered:
  description: Will be ignored because group is already created
  allow: [ create_tracker_items, modify_tracker_items ]


Complete sample for Translation module

YAML
preferences:
 enable: [ feature_multilingual]
objects:
 -
  type: module
  data:
   name: translation
   position: left
   order: 1
   groups: [ Editors, Translators ]
   params:
    pivot_language: en


Menu

YAML
objects:
 -
  type: menu
  ref: menu
  data:
   name: My Menu
   description: A menu containing the base navigation of the site
   collapse: none
   position: left
   order: 1
   groups: [ Anonymous ]
   items:
     - 
      name: Accueil
      url: ((Accueil))
      groups: [ Anonymous ]
     - 
      name: Équipe
      url: ((Equipe))
      groups: [ Anonymous ]
      items:
     - 
      name: Calendrier
      url: ((Calendrier))
      groups: [ Anonymous ] 
     - 
      name: Pratiques
      url: ((Pratiques))
      groups: [ Anonymous ]
     - 
      name: Arénas
      url: ((Arenas))
      groups: [ Anonymous ] 
     - 
      name: Tournois
      url: ((Tournois))
      groups: [ Anonymous ]
     - 
      name: Newletter
      url: ((Newsletter))
      groups: [ Anonymous ]
     - 
      name: Contacts
      url: ((Contacts))
      groups: [ Anonymous ]


Wiki pages


YAML
objects:
  -
    type: wiki_page
    ref: wiki_sample_page_Accueil
    data:
      name: Accueil
      description: Accueil
      lang: fr
      content: wikicontent:Hockey_Team_Accueil
  -
    type: wiki_page
    ref: wiki_sample_page_Equipe
    data:
      name: Equipe
      description: Équipe
      lang: fr
      content: wikicontent:Hockey_Team_Equipe
  -
    type: wiki_page
    ref: wiki_sample_page_Calendrier
    data:
      name: Calendrier
      description: Calendrier
      lang: fr
      content: wikicontent:Hockey_Team_Calendrier
  -
    type: wiki_page
    ref: wiki_sample_page_Pratiques
    data:
      name: Pratiques
      description: Pratiques
      lang: fr
      content: wikicontent:Hockey_Team_Pratiques
  -
    type: wiki_page
    ref: wiki_sample_page_Arenas
    data:
      name: Arenas
      description: Arénas
      lang: fr
      content: wikicontent:Hockey_Team_Arenas
  -
    type: wiki_page
    ref: wiki_sample_page_Tournois
    data:
      name: Tournois
      description: Tournois
      lang: fr
      content: wikicontent:Simple_Sample_Page
  -
    type: wiki_page
    ref: wiki_sample_page_Contacts
    data:
      name: Contacts
      description: Contacts
      lang: fr
      content: wikicontent:Simple_Sample_Page
  -
    type: wiki_page
    ref: wiki_sample_page_Newsletter
    data:
      name: Newsletter
      description: Newsletter
      lang: fr
      content: wikicontent:Simple_Sample_Page


Trackers


Équipe

YAML
objects:
 -
  type: tracker
  ref: equipe
  data:
   name: Équipe
   description: Liste des joueurs
   default_status: open
   show: [ status ]
 -
  type: tracker_field
  ref: Equipe_No
  data:
   name: No.
   tracker: $equipe
   type: text_field
   options: 0,2
   flags: [ public]
   order: 5
 -
  type: tracker_field
  ref: Equipe_Nom
  data:
   name: Nom
   tracker: $equipe
   type: text_field
   options: 
   flags: [ main, searchable, public, list, link]
   order: 10
 -
  type: tracker_field
  ref: Equipe_GD
  data:
   name: G/D
   tracker: $equipe
   type: d
   options: Gaucher,Droitier
   flags: [ public]
   order: 15
 -
  type: tracker_field
  ref: Equipe_Telephone
  data:
   name: Téléphone
   tracker: $equipe
   type: a
   options: 
   flags: [ public]
   groups: [ Admins ]
   order: 20
 -
  type: tracker_field
  ref: Equipe_Courriel
  data:
   name: Courriel
   tracker: $equipe
   type: a
   options: 
   flags: [ public]
   groups: [ Admins ]
   order: 25
 -
  type: tracker_field
  ref: Equipe_Naissance
  data:
   name: Date de naissance
   tracker: $equipe
   type: t
   options: 
   flags: [ public]
   order: 30


Calendrier

YAML
objects:
 -
  type: tracker
  ref: calendrier
  data:
   name: Calendrier
   description: Calendrier des matchs (saison régulière, tournois, séries éliminatoires)
   default_status: open
   show: [ status ]
 -
  type: tracker_field
  ref: Calendrier_No
  data:
   name: No.
   tracker: $calendrier
   type: text_field
   options: 0,2
   flags: [ searchable, public, list, link]
   order: 10
 -
  type: tracker_field
  ref: Calendrier_Date
  data:
   name: Date
   tracker: $calendrier
   type: f
   options: d
   flags: [ public, list]
   order: 20
 -
  type: tracker_field
  ref: Calendrier_Heure
  data:
   name: Heure
   tracker: $calendrier
   type: text_field
   options: 
   flags: [ public, list]
   order: 30
 -
  type: tracker_field
  ref: Calendrier_Visiteur
  data:
   name: Visiteur
   tracker: $calendrier
   type: d
   options: Faucons de P.A.T.,BLITZ,Côte St-Luc – Canucks,Lachine – Maroons,Lachine – Rapides,Lasalle – Léopards,Lasalle – Panthères,Lasalle – Pumas,Mont-Royal – Diables,Mont-Royal – Devils,Saint-Laurent – Flyers,Saint-Laurent – Rockets,Saint-Laurent – Sonics,Verdun – Blazers,JSH,CJL – Canadiens,Ahuntsic – Bruins,À déterminer
   flags: [ public, list]
   order: 40
 -
  type: tracker_field
  ref: Calendrier_Receveur
  data:
   name: Receveur
   tracker: $calendrier
   type: d
   options: Faucons de P.A.T.,BLITZ,Côte St-Luc – Canucks,Lachine – Maroons,Lachine – Rapides,Lasalle – Léopards,Lasalle – Panthères,Lasalle – Pumas,Mont-Royal – Diables,Mont-Royal – Devils,Saint-Laurent – Flyers,Saint-Laurent – Rockets,Saint-Laurent – Sonics,Verdun – Blazers,JSH,CJL – Canadiens,Ahuntsic – Bruins,À déterminer
   flags: [ public, list]
   order: 50
 -
  type: tracker_field
  ref: Calendrier_Score
  data:
   name: Score
   tracker: $calendrier
   type: text_field
   options: 
   flags: [ public, list]
   order: 60
 -
  type: tracker_field
  ref: Calendrier_Resultats
  data:
   name: Résultats
   tracker: $calendrier
   type: d
   options: Victoire,Défaite,Nul
   flags: [ public, list]
   order: 70
 -
  type: tracker_field
  ref: Calendrier_Arena
  data:
   name: Aréna
   tracker: $calendrier
   type: d
   options: Pointe-aux-Trembles – Aréna Rodrigue-Gilbert 1,Pointe-aux-Trembles – Aréna Rodrigue-Gilbert 2,Plateau Mont-Royal – Aréna Saint-Louis, Côte-Saint-Luc – Aréna Samuel Moskovitch,Lachine – Aréna Pierre (Pete) Morin,Lasalle – Aréna Jacques Lemaire,Lasalle – Centre sportif Dollard-St-Laurent,Mont-Royal – Aréna Mont-Royal,Montréal-Ouest – Legion Memorial Rink,Outremont – Patinoire Outremont,Saint-Laurent – Aréna Raymond-Bourque,Verdun – Aréna Denis-Savard,Verdun – Auditorium de Verdun,Westmount – Aréna Westmount
   flags: [ public, list]
   order: 80
 -
  type: tracker_field
  ref: Calendrier_Alignement
  data:
   name: Alignement
   tracker: $calendrier
   type: a
   options: 
   flags: [ public, list]
   groups: [ Admin ]
   order: 90


Arénas

YAML
objects:
 -
  type: tracker
  ref: arenas
  data:
   name: Arénas
   description: Arénas, coordonnées et carte
   default_status: open
   show: [ status ]
 -
  type: tracker_field
  ref: Arenas_Arena
  data:
   name: Arénas
   tracker: $arenas
   type: text_field
   options: 
   flags: [ searchable, public, list, link]
   order: 10
 -
  type: tracker_field
  ref: Arenas_Ville
  data:
   name: Ville (ou arrondissement)
   tracker: $arenas
   type: text_field
   options: 
   flags: [ public, list]
   order: 20
 -
  type: tracker_field
  ref: Arenas_Adresse
  data:
   name: Adresse (avec lien Google Maps)
   tracker: $arenas
   type: a
   options: 
   flags: [ public, list]
   order: 30


Pratiques

YAML
objects:
 -
  type: tracker
  ref: pratiques
  data:
   name: Pratiques
   description: Horaire des pratiques
   default_status: open
   show: [ status ]
 -
  type: tracker_field
  ref: Pratiques_Date
  data:
   name: Date
   tracker: $pratiques
   type: f
   options: d
   flags: [ searchable, public, list, link]
   order: 10
 -
  type: tracker_field
  ref: Pratiques_Heure
  data:
   name: Heure
   tracker: $pratiques
   type: text_field
   options: 
   flags: [ public, list]
   order: 20
 -
  type: tracker_field
  ref: Pratiques_Arena
  data:
   name: Aréna
   tracker: $pratiques
   type: d
   options: Aréna Denis-Savard,Auditorium de Verdun
   flags: [ public, list]
   order: 30
 -
  type: tracker_field
  ref: Pratiques_Note
  data:
   name: Note
   tracker: $pratiques
   type: text_field
   options: 
   flags: [ public, list]
   order: 40



Tracker data


Équipe

YAML
objects:
 -
  type: tracker_item
  ref: data_equipe_1
  data:
   tracker: $equipe
   status: open
   values:
    - [ $Equipe_No, "89" ]
    - [ $Equipe_Nom, "Arnaud Lord-Quintric" ]
    - [ $Equipe_GD, "Droitier" ]
    - [ $Equipe_Telephone, "514 761-5647" ]
    - [ $Equipe_Courriel, "slordjette@gmail.com" ]
    - [ $Equipe_Naissance, "2000/07/25" ]
 -
  type: tracker_item
  ref: data_equipe_2
  data:
   tracker: $equipe
   status: open
   values:
    - [ $Equipe_No, "87" ]
    - [ $Equipe_Nom, "Quentin Lord-Quintric" ]
    - [ $Equipe_GD, "Gaucher" ]
    - [ $Equipe_Telephone, "514 761-5647" ]
    - [ $Equipe_Courriel, "slordjette@gmail.com" ]
    - [ $Equipe_Naissance, "2001/12/03" ]
 -
  type: tracker_item
  ref: data_equipe_3
  data:
   tracker: $equipe
   status: open
   values:
    - [ $Equipe_No, "37" ]
    - [ $Equipe_Nom, "Gardien de but" ]
    - [ $Equipe_GD, "Gaucher" ]
    - [ $Equipe_Telephone, "514 761-XXXX" ]
    - [ $Equipe_Courriel, "nom@domaine.com" ]
    - [ $Equipe_Naissance, "2001/12/03" ]


Calendrier

YAML
objects:
 -
  type: tracker_item
  ref: data_calendrier_passe
  data:
   tracker: $calendrier
   status: closed
   values:
    - [ $Calendrier_No, "01" ]
    - [ $Calendrier_Date, "2009/03/19" ]
    - [ $Calendrier_Heure, "11:30" ]
    - [ $Calendrier_Visiteur, "Verdun – Blazers" ]
    - [ $Calendrier_Receveur, "BLITZ" ]
    - [ $Calendrier_Score, "2-3" ]
    - [ $Calendrier_Resultats, "Victoire" ]
    - [ $Calendrier_Arena, "Aréna Denis-Savard" ]
 -
  type: tracker_item
  ref: data_calendrier_a_venir
  data:
   tracker: $calendrier
   status: open
   values:
    - [ $Calendrier_No, "02" ]
    - [ $Calendrier_Date, "2009/03/26" ]
    - [ $Calendrier_Heure, "11:30" ]
    - [ $Calendrier_Visiteur, "Verdun – Blazers" ]
    - [ $Calendrier_Receveur, "BLITZ" ]
    - [ $Calendrier_Arena, "Aréna Denis-Savard" ]

Pratiques

YAML
objects:
 -
  type: tracker_item
  ref: data_pratiques_a_venir
  data:
   tracker: $pratiques
   status: open
   values:
    - [ $Pratiques_Date, "2009/03/26" ]
    - [ $Pratiques_Heure, "17:00 à 18:00" ]
    - [ $Pratiques_Arena, "Auditorium de Verdun" ]
    - [ $Pratiques_Note, "Se présenter 30 minutes à l'avance" ]
 -
  type: tracker_item
  ref: data_pratiques_passee
  data:
   tracker: $pratiques
   status: closed
   values:
    - [ $Pratiques_Date, "2009/03/19" ]
    - [ $Pratiques_Heure, "10:30 à 11:30" ]
    - [ $Pratiques_Arena, "Aréna Denis-Savard" ]
    - [ $Pratiques_Note, "Pleine glace" ]


Arénas

YAML
objects:
 -
  type: tracker_item
  ref: data_arena_denis_savard
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Aréna Denis-Savard" ]
    - [ $Arenas_Ville, "Verdun" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_martin_lapointe
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Aréna Martin-Lapointe" ]
    - [ $Arenas_Ville, "Lachine" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_the_legion_rink
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "The Legion Rink" ]
    - [ $Arenas_Ville, "Hampstead" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_centre_sportif_dollard
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Centre Sportif Dollard" ]
    - [ $Arenas_Ville, "LaSalle" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_raymond_bourque
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Aréna Raymond-Bourque" ]
    - [ $Arenas_Ville, "Saint-Laurent" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_ville_mont_royal
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Aréna Mont-Royal" ]
    - [ $Arenas_Ville, "Mont-Royal" ]
    - [ $Arenas_Adresse, "XXX" ]
 -
  type: tracker_item
  ref: data_arena_westmount
  data:
   tracker: $arenas
   status: open
   values:
    - [ $Arenas_Arena, "Aréna de Westmount" ]
    - [ $Arenas_Ville, "Westmount" ]
    - [ $Arenas_Adresse, "XXX" ]


File Gallery

YAML
objects:
 -
  type: file_gallery
  ref: primary
  data:
     name: Fichiers
     description: Fichiers et images
     owner: admin
     flags: [ public, visible, lockable ]
     column: [ icon, name, created, creator, files ]



Permissions

Uses: Publishing_Permissions

YAML
# Alain Désilets (2010-03-09): Commented out temporarily. Causes following error message with Tiki5:
# An error occured during the profile validation. This profile cannot be applied. Message: Unknown objects are referenced: profiles.tiki.org/Publishing_Permissions#Publishing_Permissions
#dependencies:
#- #$profiles.tiki.org:Publishing_Permissions:Publishing_Permissi#ons



Contributors to this page: Marc Laporte , alain_desilets , slordjette and System Administrator .
Page last modified on Tuesday 14 of September, 2010 05:21:03 CEST by Marc Laporte.