Loading...
 
Skip to main content

History: Tracker_as_Calendar_09

Preview of version: 1

Tracker data can also be displayed through a Calendar layout in Tiki. This profile is a showcase of that feature configuration.

This page will be created:
Profile_Tracker_as_Calendar_page

YAML
Copy to clipboard
preferences: feature_trackers: y feature_user_watches: y instructions: Profile_Tracker_as_Calendar_page 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 ] - 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_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_assignee data: name: Assigned to tracker: $trac_as_cal type: user flags: [ searchable, public, list ] order: 40


Sample data


YAML
Copy to clipboard
objects: - type: tracker_item ref: bug_001 data: tracker: $Tracker_as_Calendar:trac_as_cal status: open values: - [ $Tracker_as_Calendar:trac_as_cal_summary, Sample event item ] - [ $Tracker_as_Calendar:trac_as_cal_assignee, admin ] - [ $Tracker_as_Calendar:trac_as_cal_priority, 3 ] - [ $Tracker_as_Calendar:trac_as_cal_description, "This item was created as part of the sample data for Tracker_as_Calendar." ] - type: tracker_item ref: bug_002 data: tracker: $Tracker_as_Calendar:trac_as_cal status: pending values: - [ $Tracker_as_Calendar:trac_as_cal_summary, This is another interesting event ] - [ $Tracker_as_Calendar:trac_as_cal_assignee, admin ] - [ $Tracker_as_Calendar:trac_as_cal_priority, 2 ] - [ $Tracker_as_Calendar:trac_as_cal_description, "This will soon happen" ] - type: tracker_item ref: bug_003 data: tracker: $Tracker_as_Calendar:trac_as_cal status: closed values: - [ $Tracker_as_Calendar:trac_as_cal_summary, A really awesome past event ] - [ $Tracker_as_Calendar:trac_as_cal_assignee, admin ] - [ $Tracker_as_Calendar:trac_as_cal_priority, 5 ] - [ $Tracker_as_Calendar:trac_as_cal_description, "This event already happened and that's why it's closed." ]


Modules

YAML
Copy to clipboard
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: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

YAML
Copy to clipboard
instructions: Tracker_as_Calendar preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: trac_as_cal_page data: name: Tracker_as_Calendar description: Upcoming events based on a tracker lang: en content: wikicontent:Profile_Tracker_as_Calendar_page


Plugin to embed events information (from tracker items) in pages


YAML
Copy to clipboard
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_description$:$profileobject:trac_as_cal_assignee$:$profileobject:trac_as_cal_priority$ showlinks: "y" showstatus: "y" status: opc max: 1 showlastmodif: "n" showfieldname: "n" itemId: pattern: %id% params: id: default: 0



History

Information Version
Thu 20 of Mar, 2025 23:57 GMT-0000 Benoit Roy change calendar end date to 2025 13
Fri 29 of Nov, 2024 01:13 GMT-0000 Benoit Roy quotes missing 12
Fri 24 of Aug, 2012 12:40 GMT-0000 Xavier de Pedro fixed a mising renamed 11
Fri 24 of Aug, 2012 12:32 GMT-0000 Xavier de Pedro updated with a rename to indicate that this profile is for tiki9 10
Mon 30 of Jul, 2012 17:20 GMT-0000 Xavier de Pedro updated label 9
Mon 23 of Jul, 2012 18:27 GMT-0000 Xavier de Pedro removed permissions 8
Mon 23 of Jul, 2012 18:25 GMT-0000 Xavier de Pedro removing perms to see if it works 7
Mon 23 of Jul, 2012 18:21 GMT-0000 Xavier de Pedro edited tracker name to see if perms work this way 6
Mon 23 of Jul, 2012 18:10 GMT-0000 Xavier de Pedro permissions added 5
Mon 23 of Jul, 2012 16:56 GMT-0000 Xavier de Pedro added end date for events to show up in the calendar 4
Fri 20 of Jul, 2012 09:15 GMT-0000 Xavier de Pedro renamed last bits and shortened date and time label 3
Fri 20 of Jul, 2012 08:57 GMT-0000 Xavier de Pedro added prefs for used plugins 2
Fri 20 of Jul, 2012 08:06 GMT-0000 Xavier de Pedro version zero, edited from the Bug_Tracker (used as template) :-) 1