History: GanttChart
Preview of version: 11
Table of contents
PLEASE READ
This is a sample profile to showcase the wiki plugin Gantt Chart. It will create a sample tracker that will hold the tasks and a sample wiki page linked to that tracker to display the tasks.YAML (Profile Code)
Tracker
Copy to clipboard
permissions: { } preferences: wikiplugin_ganttchart: 'y' feature_trackers: 'y' feature_syntax_highlighter: 'y' trackerfield_autoincrement: 'y' instructions: Profile_gantt_chart_instructions_page 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_ACTIVE=active - STATUS_SUSPENDED=suspended - STATUS_COMPLETED=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: { } type: checkbox order: '110' visby: { } editby: { } flags: - searchable - public - type: tracker_field ref: trackergantt_trackerganttEndIsMilestone data: name: EndIsMilestone permname: trackerganttEndIsMilestone tracker: '$profileobject:trackergantt$' options: { } type: checkbox 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_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
Copy to clipboard
objects: - type: tracker_item ref: tracker_item_1 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '1' - - '$profileobject:trackergantt_trackerganttCode$' - GE - - '$profileobject:trackergantt_trackerganttTaskName$' - 'Gantt editor' - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490659200' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1493078400' - - '$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$' - '' - type: tracker_item ref: tracker_item_2 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '2' - - '$profileobject:trackergantt_trackerganttCode$' - GE.1 - - '$profileobject:trackergantt_trackerganttTaskName$' - coding - - '$profileobject:trackergantt_trackerganttStartDate$' - '1490688000' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491811800' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_ACTIVE - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '20' - - '$profileobject:trackergantt_trackerganttProgress$' - '5' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - type: tracker_item ref: tracker_item_3 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$' - '1490775000' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1490860800' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_ACTIVE - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '20' - - '$profileobject:trackergantt_trackerganttProgress$' - '5' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - type: tracker_item ref: tracker_item_4 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$' - '1490947200' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1491379200' - - '$profileobject:trackergantt_trackerganttResponsible$' - '' - - '$profileobject:trackergantt_trackerganttRole$' - coder - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_UNDEFINED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Code developer' - - '$profileobject:trackergantt_trackerganttEffort$' - '20' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '3' - type: tracker_item ref: tracker_item_5 data: tracker: '$profileobject:trackergantt$' status: open values: - - '$profileobject:trackergantt_trackerganttResourceId$' - '5' - - '$profileobject:trackergantt_trackerganttCode$' - GE.2 - - '$profileobject:trackergantt_trackerganttTaskName$' - testing - - '$profileobject:trackergantt_trackerganttStartDate$' - '1492502400' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1493143200' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '10' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '2:5' - type: tracker_item ref: tracker_item_6 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$' - '1492502400' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1492588800' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '10' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '' - type: tracker_item ref: tracker_item_7 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$' - '1492675200' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1493020800' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '10' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '6' - type: tracker_item ref: tracker_item_8 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$' - '1492675200' - - '$profileobject:trackergantt_trackerganttEndDate$' - '1492761600' - - '$profileobject:trackergantt_trackerganttResponsible$' - admin - - '$profileobject:trackergantt_trackerganttRole$' - tester - - '$profileobject:trackergantt_trackerganttStatus$' - STATUS_SUSPENDED - - '$profileobject:trackergantt_trackerganttDescription$' - 'Beta tester' - - '$profileobject:trackergantt_trackerganttEffort$' - '10' - - '$profileobject:trackergantt_trackerganttProgress$' - '0' - - '$profileobject:trackergantt_trackerganttStartIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttEndIsMilestone$' - 'n' - - '$profileobject:trackergantt_trackerganttDuration$' - '' - - '$profileobject:trackergantt_trackerganttDependencies$' - '6'
Wiki pages
Copy to clipboard
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 Tiki19, we add the Quick Admin bar that seems to be available since this Tiki version.
- Wiki menu for Navigation
Copy to clipboard
objects: - type: module data: name: adminbar params: { } 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:Copy to clipboard
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