Loading...
 

Americana_Event_Management_System



This is a fork of the Event_Management_System profile for use with americana.org

Implementation


YAML
preferences:
 enable: [ feature_trackers, feature_wiki, wikiplugin_schedule, wikiplugin_speaker, wikiplugin_trackerlist, feature_file_galleries ]



Event Themes


YAML
objects:
 -
  type: tracker
  ref: theme
  data:
   name: Theme
   description: Themes running in parallel during the event.
 -
  type: tracker_field
  ref: theme_name
  data:
   name: Name
   tracker: $theme
   type: text_field
   flags: [ public, list, mandatory, link ]
   order: 10


Speakers


YAML
objects:
 -
  type: tracker
  ref: speaker
  data:
   name: Speakers
   description: Speakers presenting in the event.
 -
  type: tracker_field
  ref: speaker_lastname
  data:
   name: Last name
   tracker: $speaker
   type: text_field
   flags: [ public, list, mandatory, link ]
   order: 10
 -
  type: tracker_field
  ref: speaker_firstname
  data:
   name: First name
   tracker: $speaker
   type: text_field
   flags: [ public, list, mandatory, link ]
   order: 20
 -
  type: tracker_field
  ref: speaker_title_en
  data:
   name: Title (en)
   tracker: $speaker
   type: text_field
   flags: [ public, list ]
   order: 30
 -
  type: tracker_field
  ref: speaker_title_fr
  data:
   name: Title (fr)
   tracker: $speaker
   type: text_field
   flags: [ public, list ]
   order: 40
 -
  type: tracker_field
  ref: speaker_org
  data:
   name: Organization
   tracker: $speaker
   type: text_field
   flags: [ public, list ]
   order: 50
 -
  type: tracker_field
  ref: speaker_email
  data:
   name: Email
   tracker: $speaker
   type: email
   flags: [ public ]
   order: 60
 -
  type: tracker_field
  ref: speaker_website
  data:
   name: Website
   tracker: $speaker
   type: text_field
   flags: [ public ]
   order: 70
 -
  type: tracker_field
  ref: speaker_country
  data:
   name: Country
   tracker: $speaker
   type: country
   flags: [ public ]
   order: 80
 -
  type: tracker_field
  ref: speaker_bio
  data:
   name: Bio
   tracker: $speaker
   type: text_area
   flags: [ public ]
   order: 90
 -
  type: tracker_field
  ref: speaker_photo
  data:
   name: Photo
   tracker: $speaker
   options: 120,120,120,120,120
   type: image
   flags: [ public ]
   order: 100
 -
  type: tracker_field
  ref: speaker_adminnotes
  data:
   name: Notes (Reserved to admin)
   tracker: $speaker
   type: text_area
   visible: adminonly
   order: 110


Sessions


YAML
objects:
 -
  type: tracker
  ref: session
  data:
   name: Sessions
   description: Sessions on the schedule
   default_status: open
 -
  type: tracker_field
  ref: session_title
  data:
   name: Title
   tracker: $session
   type: text_field
   flags: [ public, list, mandatory, link ]
   order: 10
 -
  type: tracker_field
  ref: session_theme
  data:
   name: Theme
   tracker: $session
   type: item_link
   options: $profileobject:theme$,$profileobject:theme_name$
   flags: [ public, list, mandatory ]
   order: 20
 -
  type: tracker_field
  ref: session_start
  data:
   name: Start Time
   tracker: $session
   type: calendar
   options: dt
   flags: [ public, list ]
   order: 40
 -
  type: tracker_field
  ref: session_end
  data:
   name: End Time
   tracker: $session
   type: calendar
   options: dt
   flags: [ public, list ]
   order: 50
 -
  type: tracker_field
  ref: session_page
  data:
   name: Detail Page
   tracker: $session
   type: page
   flags: [ public ]
   order: 60


SCHEDULE Plugin


YAML
objects:
 -
  type: plugin_alias
  data:
   name: schedule
   implementation: trackertimeline
   description:
    name: Event Schedule
    description: Displays the events as a schedule with tracks in the horizontal axis and time in the vertical axis.
    prefs: [ wikiplugin_schedule ]
    params:
     lower:
      required: true
      name: From Date
      description: "Lower bound date/time of the schedule (ex: 2008-08-22 08:00:00)"
     upper:
      required: true
      name: To Date
      description: "Upper bound date/time of the schedule (ex: 2008-08-22 17:00:00)"
   body:
    input: ignore
    default: ""
   params:
    lower: ""
    upper: ""
    tracker: $session
    title: $session_title
    group: $session_theme
    start: $session_start
    end: $session_end
    link_group: y
    link_page: $session_page


SPEAKER Plugin


YAML
objects:
 -
  type: plugin_alias
  data:
   name: speaker
   implementation: mouseover
   description:
    name: Speaker Link
    description: Displays a link pointing to the speaker page and displaying the speaker information on mouse over.
    prefs: [ wikiplugin_speaker ]
    params:
     label:
      required: true
      name: Text
      description: "Text on the link, generally the speaker's name"
      filter: striptags
     itemId:
      required: true
      name: Tracker Item
      description: "ID if the tracker item for the speaker"
      filter: digits
   body:
    input: ignore
    default: |
     {DIV(width=120 float=right)}{trackeritemfield trackerId=$profileobject:speaker$ itemId=%itemId% fieldId=$profileobject:speaker_photo$}{DIV}
     ! {trackeritemfield trackerId=$profileobject:speaker$ itemId=%itemId% fieldId=$profileobject:speaker_firstname$ fieldId=$profileobject:speaker_lastname$}
     ''{trackeritemfield trackerId=$profileobject:speaker$ itemId=%itemId% fieldId=$profileobject:speaker_title_en$}, {trackeritemfield trackerId=$profileobject:speaker$ itemId=%itemId% fieldId=$profileobject:speaker_org$}''
     
     {trackeritemfield trackerId=$profileobject:speaker$ itemId=%itemId% fieldId=$profileobject:speaker_bio$}
    params:
     itemId: 0
   params:
    label: No text specified
    width: 300
    height: 300
    sticky: n
    url:
     pattern: tiki-view_tracker_item.php?itemId=%itemId%
     params:
      itemId:
       default: 0
       encoding: url



Sample Data


Theme

YAML
objects:
 -
  type: tracker_item
  ref: theme_001
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Air and climate change ]
 -
  type: tracker_item
  ref: theme_002
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Biofuels and bioproducts ]
 -
  type: tracker_item
  ref: theme_003
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Drinking water ]
 -
  type: tracker_item
  ref: theme_004
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Soils and Groundwater ]
 -
  type: tracker_item
  ref: theme_005
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Solid Waste ]
 -
  type: tracker_item
  ref: theme_006
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Wastewater ]
 -
  type: tracker_item
  ref: theme_007
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Business Opportunities ]
 -
  type: tracker_item
  ref: theme_008
  data:
   tracker: $theme
   status: open
   values:
    - [ $theme_name, Sustainable development ]


Speakers

YAML
objects:
 -
  type: tracker_item
  ref: speaker_001
  data:
   tracker: $speaker
   status: open
   values:
    - [ $speaker_lastname, Bellona ]
    - [ $speaker_firstname, Chris ]
    - [ $speaker_title_en, Professor ]
    - [ $speaker_org, Colorado School of Mines ]
    - [ $speaker_bio, Over 17 years of work experience in Indian Industry with India's largest steel and mining government company (1991-Present) ]
 -
  type: tracker_item
  ref: speaker_002
  data:
   tracker: $speaker
   status: open
   values:
    - [ $speaker_lastname, Doe ]
    - [ $speaker_firstname, Jane ]
    - [ $speaker_title_en, Lead Evangelist ]
    - [ $speaker_org, ACME Systems ]
    - [ $speaker_bio, Mother of 2... ]


Sessions


YAML
objects:
 -
  type: tracker_item
  ref: session_001
  data:
   tracker: $session
   status: open
   values:
    - [ $session_title, Regulatory update ]
    - [ $session_theme, Air and Climate change ]
    - [ $session_start, D(2009-03-17 10:30:00) ]
    - [ $session_end, D(2009-03-17 17:00:00) ]
    - [ $session_page, Regulatory update ]
 -
  type: tracker_item
  ref: session_002
  data:
   tracker: $session
   status: open
   values:
    - [ $session_title, Biomaterials and biocomposites ]
    - [ $session_theme, Biofuels and bioproducts ]
    - [ $session_start, D(2009-03-17 10:30:00) ]
    - [ $session_end, D(2009-03-17 13:30:00) ]
    - [ $session_page, Biomaterials and biocomposites ]
 -
  type: tracker_item
  ref: session_003
  data:
   tracker: $session
   status: open
   values:
    - [ $session_title, Biofuels ]
    - [ $session_theme, Biofuels and bioproducts ]
    - [ $session_start, D(2009-03-17 13:30:00) ]
    - [ $session_end, D(2009-03-17 17:00:00) ]
    - [ $session_page, Biofuels ]
 -
  type: tracker_item
  ref: session_004
  data:
   tracker: $session
   status: open
   values:
    - [ $session_title, Membranes and advanced oxidation processes (AOP) in drinking water treatment: conventional and endocrine disrupting compounds / Pharmaceuticals and personal care products (EDC/PPCP) contaminants ]
    - [ $session_theme, Drinking Water ]
    - [ $session_start, D(2009-03-17 10:30:00) ]
    - [ $session_end, D(2009-03-17 17:00:00) ]
    - [ $session_page, Membranes AOPs in drinking water treatment ]
 -
  type: tracker_item
  ref: session_005
  data:
   tracker: $session
   status: open
   values:
    - [ $session_title, Regulations ]
    - [ $session_theme, Wastewater ]
    - [ $session_start, D(2009-03-17 10:30:00) ]
    - [ $session_end, D(2009-03-17 12:00:00) ]
    - [ $session_page, Regulations ]

Add wiki pages with the schedule & trackerlist plugins


This will use Americana_event_management_system_schedule_wiki_include and Americana_Event_Management_System_List_of_Speakers_wiki_include
YAML
preferences:
  enable: [ feature_wiki ]
objects:
  -
    type: wiki_page
    ref:  Americana_event_management_system_schedule_wiki_page
    data:
      name: Schedule
      description: Schedule
      lang: en
      content: wikicontent:Americana_event_management_system_schedule_wiki_include
  -
    type: wiki_page
    ref:  Americana_Event_Management_System_List_of_Speakers_wiki_include
    data:
      name: List_of_Speakers
      description: List of speakers
      lang: en
      content: wikicontent:Americana_Event_Management_System_List_of_Speakers_wiki_include


Permissions

YAML
permissions:
 Admins:
  allow: [ admin_trackers ]
 Anonymous:
  allow: [ view, wiki_view_history ]
  objects:
   -
    type: tracker
    id: $theme
    allow: [ view_trackers ]
   -
    type: tracker
    id: $speaker
    allow: [ view_trackers ]
   -
    type: tracker
    id: $session
    allow: [ view_trackers ]


Todo

  • Multilingual handling (Can speaker_title_en and speaker_title_fr be merged?)
  • pluginalias {abstract} qui copie mouse-over en attendant d'avoir l'accordeon
  • abstract (file) for speakers
  • Pretty tracker on list of speakers
  • schedule plugin: try 7 to 18h
  • plugin schedule with link top wiki page
  • wiki pages with details of what is happening
  • File gallery for PPT/PDF presentations