Loading...
 

History: GanttChart

Preview of version: 14



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

YAML
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_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_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 - 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 - 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_WAITING - - '$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

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: { } 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

History

Advanced
Information Version
Sun 14 of Jun, 2020 17:15 GMT-0000 Xavier de Pedro removing unnecessary code 28
View
Wed 14 of Aug, 2019 23:08 GMT-0000 Xavier de Pedro typo 27
View
Wed 14 of Aug, 2019 23:05 GMT-0000 Xavier de Pedro changed milestone fields from checkbox to dropdown_other to see whether this way they can save values across editions 26
View
Wed 14 of Aug, 2019 21:12 GMT-0000 Xavier de Pedro remove mandatory flag on dependencies field (so that editing tasks through jquery gantt ui editor doesn't fail duue to lack of exposure of this param 25
View
Wed 14 of Aug, 2019 21:06 GMT-0000 Xavier de Pedro fix 24
View
Wed 14 of Aug, 2019 21:02 GMT-0000 Xavier de Pedro added links to related pages 23
View
Wed 14 of Aug, 2019 21:00 GMT-0000 Xavier de Pedro added dropdown_other 22
View
Wed 14 of Aug, 2019 20:50 GMT-0000 Xavier de Pedro replaced tabs with spaces and add single quotes to some values 21
View
Wed 14 of Aug, 2019 20:38 GMT-0000 Xavier de Pedro added tags and attempting to remove box , title and decorations from quick admin module 20
View
Sun 14 of Jul, 2019 08:04 GMT-0000 Marc Laporte typo 19
View
Sun 14 of Jul, 2019 08:03 GMT-0000 Marc Laporte cleaner 18
View
Sun 07 of Jul, 2019 19:23 GMT-0000 Xavier de Pedro image added 17
View
Sun 09 of Jun, 2019 11:20 GMT-0000 Xavier de Pedro set as mandatory the missing trackerfields that match the mandatory params in ganttchart jquery lib 16
View
Sun 09 of Jun, 2019 11:16 GMT-0000 Xavier de Pedro add links dynamically to related pages 15
View
Sun 09 of Jun, 2019 10:46 GMT-0000 Xavier de Pedro removed redundant code that broke applying this profile (one the other hand, thanks jorge for the improvements!!!) 14
View
Sat 01 of Jun, 2019 18:36 GMT-0000 Jorge Sá Pereira Update profile with new tracker fields required by jquery gantt 13
View
Tue 30 of Oct, 2018 10:02 GMT-0000 luciash d' being 🧙 clarification 12
View
Mon 29 of Oct, 2018 19:18 GMT-0000 Xavi (as xavidp - admin) added demo data derived from https://github.com/robicch/jQueryGantt 11
View
Mon 29 of Oct, 2018 19:16 GMT-0000 Xavi (as xavidp - admin) added local profile export code 10
View
Mon 29 of Oct, 2018 18:53 GMT-0000 Xavi (as xavidp - admin) added trackerfield_autoincrement 9
View
Mon 29 of Oct, 2018 18:39 GMT-0000 Xavi (as xavidp - admin) updated tracker with my own findings of params available in this plugin (apparently matching the jquery lib params, and some extra one to be added in Tiki code as trackerganttDependencies 8
View
Mon 29 of Oct, 2018 17:34 GMT-0000 Xavi (as xavidp - admin) added module wiki menu for navigation 7
View
Mon 29 of Oct, 2018 17:21 GMT-0000 Xavi (as xavidp - admin) added feature trackers 6
View
Mon 29 of Oct, 2018 17:14 GMT-0000 Xavi (as xavidp - admin) added instructions page 5
View
Mon 29 of Oct, 2018 17:10 GMT-0000 Xavi (as xavidp - admin) work in progress to add tracker item data 4
View
  • «
  • 1 (current)
  • 2