[TW5] Author field for tasklist?

59 views
Skip to first unread message

Casey Allan

unread,
Jan 7, 2016, 4:31:23 AM1/7/16
to TiddlyWiki
Hiya!
 
I'm using the http://tiddlywiki.com/#TaskManagementExample:TaskManagementExample and it works brilliantly...but I'd like to show which user is responsible for each task -- could this be done using the Author field or somehow incorporating a tag for their name?
 
I've already setup the tasks with the Author field but I'm not sure how to use it (or even if I can?).
 
Thanks,
-C

Tobias Beer

unread,
Jan 7, 2016, 11:04:50 AM1/7/16
to tiddl...@googlegroups.com
Hi -C,

For a given tiddler, you can retrieve an author (tagged author and a tag of your task) like so:

<$list filter="[all[current]tags[]tag[author]limit[1]]" variable=none>
''author:'' {{{ [all[current]tags[]tag[author]] }}}
</$list>

This assumes that...
  1. your tasks have the author as a tag and
  2. each author has the tag author
Here's a demo for that: when current tags of type @ filters

Best wishes,

Tobias.

Casey Allan

unread,
Jan 8, 2016, 3:55:04 AM1/8/16
to TiddlyWiki
Oh, that's great! Thanks, Tobias.
-C

On Thursday, January 7, 2016 at 4:04:50 PM UTC, Tobias Beer wrote:
Hi -C,

For a given tiddler, you can retrieve an author (tagged author) and a tag of your task like so:
Reply all
Reply to author
Forward
0 new messages