%TODOLIST{<params>..."}%
Parameter | Description | Default |
---|---|---|
"..." or list="..." | name of the list | default |
topic="..." | name of the topic to render the list for | current topic |
rev="..." | topic revision | top revision |
editmode="on,off,check,acl" | specifies the level of editing: "on" - fully editable (given user is allowed to change the topic), "off" - not editable, "check" - only allow ticking todo items, but not adding new items nor reordering them (given user has change rights on the topic) "acl" - edit mode controlled by acl lists (see below) |
off if topic cannot be changed, on otherwise |
ternary="on/off" | if enabled items can be toggled between three instead of two states | off |
icon="..." or icon1="..." | icon to be displayed on a todo item | fa-circle-o |
icon2="..." | icon for ticked off items | fa-check |
icon3="..." | icon displayed for the third value if ternary is enabled | fa-times |
size="..." | size of the input element to edit a todo item | 80 |
editmode
is set to acl
then the following access control lists will control the edit mode.
on
check
on
off
%TODOLIST
by surrounding it with %STARTTODOLIST
... %ENDTODOLIST
The included bullets will be moved into the meta data of the current topic and replaced with a %TODOLIST
macro.
%STARTTODOLIST% * first item * second item * third item %ENDTODOLIST%When saving a topic above code will be converted into:
%TODOLIST{"id1712338093"}%... with all three todo items converted to
%META:TODO
records.
The id is a randomly generated number.
%TODOLIST%ternary check list:
%TODOLIST{ternary="on"}%custom icons:
%TODOLIST{icon1="fa-square-o" icon2="fa-check-square-o"}%
%TODOLIST{icon1="fa-toggle-off" icon2="fa-toggle-on"}%custom icons on a non-default todo list:
%TODOLIST{"bbq" icon1="fa-heart-o" icon2="fa-heart"}%
%QUERY
:
%QUERY{"todo"}%Using
%DBQUERY
of DBCachePlugin:
%DBQUERY{ topic="%TOPIC%" context="todo" header="| *#* | *Text* | *Author* | *Changed* |$n" format="| $index | $displayValue(text) | $displayValue(author) | $displayValue(date) |" }%Using
%RENDERMETADATA
of MetaDataPlugin.
Note that todo items are rendered based on their TodoListForm definition.
%RENDERMETADATA{"todo"}%
cd /path/to/foswiki perl tools/extension_installer <NameOfExtension> installIf you have any problems, or if the extension isn't available in
configure
, then you can still install manually from the command-line. See https://foswiki.org/Support/ManuallyInstallingExtensions for more help.
Name | Version | Description |
---|---|---|
Foswiki::Plugins::MoreFormfieldsPlugin | >=0 | Required |
Foswiki::Plugins::MetaDataPlugin | >=0 | Optional |
11 Mar 2025 | improved interaction with store backend |
31 Jan 2025 | initial release |
Author | Michael Daum |
Version | 1.10 |
Release | 11 Mar 2025 |
Description | simple todo lists |
Repository | https://github.com/foswiki/TodoListPlugin |
Copyright | 2024-2025, Michael Daum, All Rights Reserved |
License | GPL (GNU General Public License) |
Home | http://foswiki.org/Extensions/TodoListPlugin |
Support | http://foswiki.org/Support/TodoListPlugin |
![]() |
© 2025 D.Soost & D.Marxsen - All rights reserved © Of all articles by authors Trademarks are the property of their respective owners © Logo by Wikipedia, modified by Administrator | Impressum Disclaimer Datenschutzerklärung |