kw: pm, project management
Ce plugin génial permet de faire de la gestion de projet avec votre dokuwiki
Create a simple, checkbox based ToDo List
+searchpattern moteur de recherche avec expression régulière utilisable avec le plugin ToDo
edit
lib/plugins/todo/script.js
add at the end
if (typeof window.toolbar !== 'undefined') {
var dateObj = new Date();
var month = dateObj.getUTCMonth() + 1; //months from 1-12
var day = dateObj.getUTCDate();
var year = dateObj.getUTCFullYear();
newdate = year + "-" + month + "-" + day;
toolbar[toolbar.length] = {
type: "format",
title: "Todo Button",
icon: "../../plugins/todo/todo.png", // located in lib/images/toolbar/
key: "6",
open: "\n<todo due:"+newdate+" @your_dw_username #radeff:2022-11-15>",
sample: "todo",
close: "</todo>\n",
block: "false"
};
}
result: a nice button
and when you click on it you'll get:
<todo due:2022-10-27 @your_dw_username></todo>
Adapted from: https://forum.dokuwiki.org/d/20579-new-or-custom-accesskey-to-mark-a-todo-task/2 et https://github.com/leibler/dokuwiki-plugin-todo/issues/146