Plugin page at Official My user at Official
This plugin allow you to add Gantt table into Dokuwiki page.
In nutshell, it just wraps dhtmlxGantt. To use dhtmlxGantt in non-GPL projects (and get Pro version of the product), please obtain Commercial/Enterprise or Ultimate license on their site https://dhtmlx.com/docs/products/dhtmlxGantt/#licensing or contact them at [email protected] Replace installation code at lib/plugins/yuriigantt/3rd/dhtmlxgantt with your dhtmlxGantt PRO.
p.s. This plugin is shipped with dhtmlxGantt Standard v.6.3.5
- automatic TODO
- manual
cd YOUR_DOKUWIKI_DIR/lib/plugins git clone --single-branch --branch master https://github.com/yurii-github/dokuwiki-plugin-yuriigantt.git yuriigantt
- create/request new dokuwiki page from your browser
- add the least required syntax into the page
~~NOCACHE~~ ~~~~GANTT~~~~ ~~~~~~~~~~~
- save. you must see now
- (Optional) Click page edit. You will see that data for empty embedded database was initialized
~~NOCACHE~~ ~~~~GANTT~~~~ { "pageId": "asd", "version": "1.0", "dsn": ":embedded:", "increment": { "task": 1, "link": 1 }, "gantt": { "data": [], "links": [] } } ~~~~~~~~~~~
You can also try this demo example instead.
NOTE! Currently only embedded database driver is supported
Info about gantt database is stored in page within special pattern in JSON format. Embedded database also stores its data near database info.
~~~~GANTT~~~~
{
"pageId": "asd", <--- page identifier
"version": "1.0", <-- RESERVED version idetificator
"dsn": ":embedded:", <-- says parser what database driver was used
"increment": { <--- EMBEDDED table increments
"task": 12,
"link": 8
},
"gantt": { <----- EMBEDDED table data
~~~~~~~~~~~
On each user update dokuwiki file is parsed, database extracted, its data get changes and with new changes database is stored back to dokuwiki file.
NOTE! If you have file with size more than 10k bytes, please consider to use other drivers!
If you change syntax parser, to refresh rendered page cache please run page with purge
http://127.0.0.1:8000/doku.php?id={PAGEID}&purge=true