Thank you, Thank you so much for the answer.

This is exactly what I needed!

I use few different tags for task management system to distinguish realm of 
tasks.
I use category as location, date and etc.
So I need to pass other tags.

Thank you

CL




2015년 11월 16일 월요일 오후 11시 26분 26초 UTC+11, Tobias Beer 님의 말:

> Hi CL,
>
> As I tried to indicate, you need another macro to which you pass the 
> variable, e.g.:
>
> \define category-tasks(tag)
> <$set name="state" value=<<qualify "$:/state/category/$(category)$">>>
> <$reveal type="nomatch"  state=<<state>>  text="show">
> <h3><$button set=<<state>> setTo="show" class="tc-btn-invisible">{{$:
> /core/images/right-arrow}} $(category)$</$button></h3>
> </$reveal>
> <$reveal type="match" state=<<state>> text="show">
> <h3><$button set=<<state>> setTo="hide" class="tc-btn-invisible">{{$:/core
> /images/down-arrow}} $(category)$</$button></h3>
> <$list filter="[tasklist<category>tag[$tag$]!tag[done]]">
> <$checkbox tag="done" ></$checkbox>
> <$link><$view field="title"/></$link>
> </$list>
> </$reveal>
> </$set>
> \end
>
> \define taskMacro(tag)
> <$list filter="[tag[$tag$]!tag[done]each[tasklist]get[tasklist]]" 
> variable="category">
> <<category-tasks """$tag$""">>
> </$list>
> \end
>
> <<taskMacro "task">
>
> Also see the attachment.
>
> One question though, why are you passing this the "task" tag?
>
> Best wishes,
>
> — tb
>

-- 
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/558a0a18-0fa2-4060-87b5-1452211d9cb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to