History: GanttChart
Preview of version: 10
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: - active - active - suspended - completed - failed - 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
Copy to clipboard
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