Hi Babynus,
I created a project with a few activities and milestone. Then I planned everything and I get a beautiful gantt chart. However my boss wants to export/copy/recreate this gantt chart on a new webpage. I look over your code but I can't see which files I need.
How do you display the gantt chart?*
thks
Hi,
If you want to reuse code to generate Gantt on another web page, my advise is : just give up 👿
Gantt display is a real mess, including extraction (in jsonPlanning.php) drawing (in jsGantt.js) and intermediate formatting (in projeqtor.js).
Moreover, the extracting part will control acces rights and you could have real mess to retrieve your data.
Avalable solutions are :
- use reports to produce html page that you will manually copy
- use pdf extraction to produce portable format
- just provide Gantt view on today page
- copy Gantt as an image (screenshot)
- use export to MS-Project functionality
Any other will more possibly lead you right into a wall.