trackers
trackercalendar
plugin trackercalendar
calendar
agenda
resource management
tablesorter
trackerlist
trackerfilter
plugin trackerlist
plugin trackerfilter
plugin split
plugin tabs
plugin list
dropdown with other
wiki argument variables
fullcalendar
resourceviews
Tracker data can also be displayed through a Calendar layout in Tiki. This profile is a showcase of that feature configuration, which requires "unified search" to be enabled for this feature to work.
This page will be created:
Some tracker items are created with relative dates and time respect to the current time of the user. See this for more information on how to use it:
This will include: Profile_Tracker_as_Calendar_page_12
This page will be created:
Some tracker items are created with relative dates and time respect to the current time of the user. See this for more information on how to use it:
YAML
preferences: calendar_fullcalendar: y feature_trackers: y feature_user_watches: y feature_search: y feature_search_fulltext: n feature_wiki_argvariable: y feature_jquery_tablesorter: y unified_incremental_update: y wikiplugin_split: y wikiplugin_tabs: y wikiplugin_trackerlist: y wikiplugin_trackerfilter: y wikiplugin_list: y wikiplugin_trackercalendar: y trackerfield_dropdownother: y instructions: Profile_Tracker_as_Calendar_page_12 objects: - type: tracker ref: trac_as_cal data: name: Tracker to show items through a calendar description: Tracker Events to be shown through a Tiki Calendar default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, attachments ] popup_fields: trac_as_cal_location,trac_as_cal_priority,trac_as_cal_description,trac_as_cal_start_date,trac_as_cal_end_date - type: tracker_field ref: trac_as_cal_summary data: name: Summary tracker: $trac_as_cal type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: trac_as_cal_location data: name: Location tracker: $trac_as_cal description: Location of the event __all in lowercase__ descparsed: y options: room 1.1 (55 seats),room 1.2 (15 seats),room 1.3 (15 seats),room 2.1 (50 seats),room 2.2 (15 seats),room 2.3 (15 seats),hall (100 seats),main conference room (200 seats) type: dropdown_other order: 15 flags: [ searchable, public, list ] - type: tracker_field ref: trac_as_cal_priority data: name: Priority tracker: $trac_as_cal type: dropdown options: 5 (high),4,3,2,1 (low) flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: trac_as_cal_description data: name: Description tracker: $trac_as_cal type: text_area options: 1 flags: [ public, mandatory ] order: 30 - type: tracker_field ref: trac_as_cal_start_date data: name: Start date tracker: $trac_as_cal type: calendar options: dt,1 flags: [ searchable, public, list ] order: 40 - type: tracker_field ref: trac_as_cal_end_date data: name: End date tracker: $trac_as_cal type: calendar options: dt,1 flags: [ searchable, public, list ] order: 50
Sample data
YAML
objects: - type: tracker_item ref: event_001 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Welcome Party ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, hall (100 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+2 hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+4 hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 2 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "All attendants to the Conference can register this daym and enjoy a welcome party to warm up and also to promote networking." ] - type: tracker_item ref: event_002 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: pending values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Lightning Talk by Mahatma Gandhi ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, main conference room (200 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+2 hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+2 hours 15 minutes) ] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 5 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "This is another interesting event, but is pending confirmation for some reason" ] - type: tracker_item ref: event_003 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Testing the speaker system ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, main conference room (200 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(-1 day 2 hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(-1 day) ] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 1 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "This event was important to test that everything worked as expected." ] - type: tracker_item ref: event_004 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: closed values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, A lightning Talk by Vandana Shiva ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, main conference room (200 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+2 hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+2 hours 15 minutes) ] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 4 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "Unluckily this event was cancelled due to issues with Vandana's busy agenda." ] - type: tracker_item ref: event_005 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Opening Talk ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, main conference room (200 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+1 day) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+1 day 2 hours)] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 5 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "The Opening Talk for the Conference. I'm really looking forward to attending at this event." ] - type: tracker_item ref: event_006 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, First Workshop ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, room 2.1 (50 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+1 day 2hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+1 day 4 hours)] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 3 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "First Workshop of the Conference, on topic A" ] - type: tracker_item ref: event_007 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Second Workshop ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, room 2.2 (15 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+1 day 2hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+1 day 4 hours)] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 3 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "Second Workshop of the Conference, on topic B" ] - type: tracker_item ref: event_008 data: tracker: $Tracker_as_Calendar_12:trac_as_cal status: open values: - [ $Tracker_as_Calendar_12:trac_as_cal_summary, Third Workshop ] - [ $Tracker_as_Calendar_12:trac_as_cal_location, room 2.3 (15 seats) ] - [ $Tracker_as_Calendar_12:trac_as_cal_start_date, D(+1 day 2hours) ] - [ $Tracker_as_Calendar_12:trac_as_cal_end_date, D(+1 day 4 hours)] - [ $Tracker_as_Calendar_12:trac_as_cal_priority, 3 ] - [ $Tracker_as_Calendar_12:trac_as_cal_description, "Third Workshop of the Conference, on topic C" ]
Modules
YAML
objects: - type: module ref: module_last_modif_tracker_items data: name: last_modif_tracker_items groups: [ Anonymous, Registered ] position: right order: 5 params: trackerId: $Tracker_as_Calendar_12:trac_as_cal name: Summary - type: module ref: module_last_tracker_comments data: name: last_tracker_comments groups: [ Anonymous, Registered ] position: right order: 9
Add a page to allow adding items and display them in a calendar view
This will include: Profile_Tracker_as_Calendar_page_12
YAML
instructions: Tracker_as_Calendar_12 preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: trac_as_cal_page data: name: Tracker_as_Calendar_12 description: Upcoming events based on a tracker lang: en content: wikicontent:Profile_Tracker_as_Calendar_page_12
Plugin to embed events information (from tracker items) in pages
YAML
objects: - type: plugin_alias data: name: event implementation: trackerlist description: name: Event Embed description: Displays an event's information inside a wiki page prefs: [ feature_trackers ] params: id: name: ID description: Event ID matching the tracker item ID required: true filter: digits body: input: ignore params: trackerId: $trac_as_cal fields: $profileobject:trac_as_cal_summary$:$profileobject:trac_as_cal_location$:$profileobject:trac_as_cal_description$:$profileobject:trac_as_cal_start_date$:$profileobject:trac_as_cal_priority$ showlinks: "y" showstatus: "y" status: opc max: 1 showlastmodif: "n" showfieldname: "n" itemId: pattern: %id% params: id: default: 0