Loading...
 

GanttChart



Overview

This is a sample profile to showcase the wiki pluginGanttChart. It will create a sample tracker that will hold the tasks and a sample wiki page linked to that tracker to display the tasks.
Image


YAML (Profile Code)


Tracker

YAML
permissions: { } preferences: wikiplugin_ganttchart: 'y' feature_trackers: 'y' feature_syntax_highlighter: 'y' trackerfield_autoincrement: 'y' trackerfield_dropdownother: 'y' objects: - type: tracker ref: trackergantt data: name: TrackerGantt description: 'Sample Tracker to use with wikiplugin Gantt' - type: tracker_field ref: trackergantt_trackerganttResourceId data: name: Id permname: trackerganttResourceId tracker: '$profileobject:trackergantt$' options: start: 1 update: 1 type: auto_increment order: '0' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttCode data: name: Code permname: trackerganttCode tracker: '$profileobject:trackergantt$' options: samerow: 1 autocomplete: 'n' exact: 'n' type: text_field order: '10' visby: { } editby: { } flags: - list - searchable - public - mandatory - type: tracker_field ref: trackergantt_trackerganttTaskName data: name: Name permname: trackerganttTaskName tracker: '$profileobject:trackergantt$' options: samerow: 1 autocomplete: 'n' exact: 'n' type: text_field order: '20' description: 'Task Name' visby: { } editby: { } flags: - link - list - searchable - public - mandatory - type: tracker_field ref: trackergantt_trackerganttStartDate data: name: StartDate permname: trackerganttStartDate tracker: '$profileobject:trackergantt$' options: { } type: datetime order: '30' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttEndDate data: name: EndDate permname: trackerganttEndDate tracker: '$profileobject:trackergantt$' options: { } type: datetime order: '40' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttResponsible data: name: Responsible permname: trackerganttResponsible tracker: '$profileobject:trackergantt$' options: owner: 1 notify: 2 notify_template_format: text groupIds: - 0 canChangeGroupIds: - 0 type: user order: '50' description: 'Main person assigned to this task as Responsible for completion' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttRole data: name: Role permname: trackerganttRole tracker: '$profileobject:trackergantt$' options: samerow: 1 type: text_field order: '60' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttStatus data: name: Status permname: trackerganttStatus tracker: '$profileobject:trackergantt$' options: options: - STATUS_ACTIVE=active - STATUS_SUSPENDED=suspended - STATUS_DONE=completed - STATUS_FAILED=failed - STATUS_UNDEFINED=undefined type: dropdown order: '70' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttDescription data: name: Description permname: trackerganttDescription tracker: '$profileobject:trackergantt$' options: samerow: 1 type: text_field order: '80' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttEffort data: name: Effort permname: trackerganttEffort tracker: '$profileobject:trackergantt$' options: samerow: 1 type: text_field order: '90' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttProgress data: name: Progress permname: trackerganttProgress tracker: '$profileobject:trackergantt$' options: samerow: 1 autocomplete: 'n' exact: 'n' type: text_field order: '100' description: 'Completion Progress (in %)' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttStartIsMilestone data: name: StartIsMilestone permname: trackerganttStartIsMilestone tracker: '$profileobject:trackergantt$' options: options: - true - false - other type: dropdown_other order: '110' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttEndIsMilestone data: name: EndIsMilestone permname: trackerganttEndIsMilestone tracker: '$profileobject:trackergantt$' options: options: - true - false - other type: dropdown_other order: '120' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttDuration data: name: Duration permname: trackerganttDuration tracker: '$profileobject:trackergantt$' options: samerow: 1 dec_point: . thousands: ',' type: numeric order: '130' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttDependencies data: name: Dependencies permname: trackerganttDependencies tracker: '$profileobject:trackergantt$' options: samerow: 1 autocomplete: 'n' exact: 'n' type: text_field order: '140' description: 'Dependencies on other tasks of the same project' visby: { } editby: { } flags: - list - searchable - public - type: tracker_field ref: trackergantt_trackerganttLevel data: name: Level permname: trackerganttLevel tracker: '$profileobject:trackergantt$' options: samerow: 1 dec_point: . thousands: ',' type: numeric order: '150' visby: { } editby: { } flags: - public - mandatory - type: tracker_field ref: trackergantt_trackerganttOrder data: name: Order permname: trackerganttOrder tracker: '$profileobject:trackergantt$' options: samerow: 1 dec_point: . thousands: ',' type: numeric order: '160' visby: { } editby: { } flags: - public - mandatory - type: tracker_option ref: trackergantt_sort_default_field data: tracker: '$profileobject:trackergantt$' name: sort_default_field value: modification


Sample Tracker data

Derived from the sample data shown in the jquery library Github page:
https://github.com/robicch/jQueryGantt

YAML
objects: - type: tracker_item ref: tracker_item_42 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '1' - - '$profileobject:trackergantt_trackerganttCode$' - GE - - '$profileobject:trackergantt_trackerganttTaskName$' - 'Gantt editor' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490655600' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1493161199' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - 'project manager' - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_ACTIVE - - '$profileobject:trackergantt_trackerganttDescription$' - 'The person in charge to get things done by all team members' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '10' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'y' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - - '$profileobject:trackergantt_trackerganttLevel$' - '0' - - '$profileobject:trackergantt_trackerganttOrder$' - '1' - type: tracker_item ref: tracker_item_43 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '2' - - '$profileobject:trackergantt_trackerganttCode$' - GE.1 - - '$profileobject:trackergantt_trackerganttTaskName$' - coding - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490655600' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491865199' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_ACTIVE - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '5' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_42$' - - '$profileobject:trackergantt_trackerganttOrder$' - '2' - type: tracker_item ref: tracker_item_44 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '3' - - '$profileobject:trackergantt_trackerganttCode$' - GE.1.1 - - '$profileobject:trackergantt_trackerganttTaskName$' - 'gantt part' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490655600' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1490741999' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_ACTIVE - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '5' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_43$' - - '$profileobject:trackergantt_trackerganttOrder$' - '3' - type: tracker_item ref: tracker_item_45 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '4' - - '$profileobject:trackergantt_trackerganttCode$' - GE.1.2 - - '$profileobject:trackergantt_trackerganttTaskName$' - 'editor part' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490742000' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491260399' - - '$profileobject:trackergantt_trackerganttResponsible$' - '' - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '$profileobject:tracker_item_44$' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_43$' - - '$profileobject:trackergantt_trackerganttOrder$' - '4' - type: tracker_item ref: tracker_item_46 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '5' - - '$profileobject:trackergantt_trackerganttCode$' - GE.2 - - '$profileobject:trackergantt_trackerganttTaskName$' - testing - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490655600' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491433199' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_42$' - - '$profileobject:trackergantt_trackerganttOrder$' - '5' - type: tracker_item ref: tracker_item_47 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '6' - - '$profileobject:trackergantt_trackerganttCode$' - GE.2.1 - - '$profileobject:trackergantt_trackerganttTaskName$' - 'test on firefox' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490655600' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1490828399' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_43$' - - '$profileobject:trackergantt_trackerganttOrder$' - '6' - type: tracker_item ref: tracker_item_48 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '7' - - '$profileobject:trackergantt_trackerganttCode$' - GE.2.2 - - '$profileobject:trackergantt_trackerganttTaskName$' - 'test on ie' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490828400' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491260399' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '$profileobject:tracker_item_47$' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_43$' - - '$profileobject:trackergantt_trackerganttOrder$' - '7' - type: tracker_item ref: tracker_item_49 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '8' - - '$profileobject:trackergantt_trackerganttCode$' - GE.2.3 - - '$profileobject:trackergantt_trackerganttTaskName$' - 'test on chrome' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1491260400' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491433199' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '0' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '$profileobject:tracker_item_48$' - - '$profileobject:trackergantt_trackerganttLevel$' - '$profileobject:tracker_item_43$' - - '$profileobject:trackergantt_trackerganttOrder$' - '8'


Wiki pages

Related pages in profiles.t.o:
2 pages found for title search 'GanttChart'


YAML
instructions: Instructions of the GanttChart profile preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: instructions_gantt_chart_page data: name: Instructions of the GanttChart profile description: The demo of Gantt Charts based on tracker data lang: en mode: create_or_update content: wikicontent:Profile_gantt_chart_instructions_page - type: wiki_page ref: wiki_page_sample_gantt_chart data: name: 'Sample Gantt Chart' content: 'wikicontent:GanttChart_Sample_Gantt_Chart' wysiwyg: 'n' - type: wiki_page ref: gantt_chart_menupage_include data: name: Menu from GanttChart description: Custom Wiki Menu for the GanttChart Profile lang: en mode: create_or_update content: wikicontent:Profile_gantt_chart_menupage_include


Modules

  • Quick Admin Bar: While Quick admin module is missing from not assigned by default in Tiki19, we add the Quick Admin bar that seems to be available since this Tiki version. (Is this really necessary? For upgrades people can have the quick admin module already assigned from the previous Tiki version — why to add another admin module for them when we just want to showcase the GanttChart plugin? )
  • Wiki menu for Navigation
YAML
objects: - type: module data: name: adminbar params: mode: header nobox: 'y' decorations: 'n' notitle: 'y' groups: { } order: '2' position: top - type: module ref: module_menupage_gantt_chart data: name: menupage params: pagemenu: $gantt_chart_menupage_include groups: - Registered order: 5 position: left


Local profile export code

Instructions used to export this profile from a local instance where it was being tweaked/extended:
Command in a terminal at the tiki root path
php console.php profile:export:init GanttChartDemo php console.php profile:export:tracker 1 php console.php profile:export:tracker-item 1 php console.php profile:export:finalize


3 pages found for title search 'Gantt'


Created by rjsmelo. Last Modification: Sunday 14 of June, 2020 17:15:17 GMT-0000 by Xavier de Pedro.