This is some of my task management system.

\define taskbutton(tasklist)
<$button><$list filter="[field:tasklist[$tasklist$]]">
<$action-setfield $field="status" $value="show"/>
</$list>
Show $tasklist$
</$button>
<$button><$list filter="[field:tasklist[$tasklist$]]">
<$action-setfield $field="status" $value="hide"/>
</$list>
Hide $tasklist$
</$button>
\end

<$list filter="[tag[task]!status[hide]!has[done]each[tasklist]]">
list: <$view field="tasklist"/><br>
<$list filter="[tasklist{!!tasklist}!status[hide]tag[task]!has[done]]">
<$link to={{!!title}}><$view field='title'/></$link><br>
</$list>
</$list>

As you can see the taskbutton macro, I am manually creating hide button,

Firstly, How do I generate hide button for each tasklist at the top 
automatically?
Secondly, Is it possible to make the taskbutton into one button rather than 
two button?

Lee




-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/38d3012a-3067-45d5-a778-16be9bde46f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to