Hey!
You can indeed, but you need a couple of additional plugins for that. 
First, you need either CheckboxToggleTag (2) or CheckboxPlugin (3). Either 
will do, but their syntax differs a bit, so read the info first. You can 
add the appropriate syntax to your fET. With these plugins you can add tags 
to tasks tiddlers, so you'll have to add additional conditions for these 
tags to fET. You'll have to decide on the tagging strategy. Just add the 
checkboxes first, that would help you decide what tags are needed. Anyway, 
once you have the checkboxes sorted out, you'll also need RefreshTiddler 
(1) to refresh the containing tiddler once you make your selection. Also, 
in order to reset all the checkbox tags, you will need to make a script to 
fetch all the tagged tiddlers and remove the tags. For the script, you will 
need InlineJavascriptPlugin (4) as well. Once you have the checkboxes in 
place, I can give you further suggestions about tagging, if you need help.

hth
w


(1) http://www.TiddlyTools.com/#RefreshTiddler
(2) http://www.TiddlyTools.com/#CheckboxToggleTag(3) 
http://www.TiddlyTools.com/#CheckboxPlugin
(4) http://www.TiddlyTools.com/#InlineJavascriptPlugin


On Monday, February 3, 2014 10:05:14 PM UTC+1, sklpns wrote:
>
> hey all
>
> I'm using a TeamTasks v0.3 file to organize tasks (some 1300 of them by 
> the way).
> Having installed ForEachTiddlerPlugin I'm using the following code
>
> <<forEachTiddler
>   where
>      
> 'store.getValue(tiddler,"UserDefinitions") &&
>      
> store.getValue(tiddler,"UserDefinitions").readBracketedList().containsAny([
>
> "PhilHawksworth",
> "AnneOther"
>
> ]) 
>
>
> &&  
>
> store.getValue(tiddler,"ScopeDefinitions") &&
>      
> store.getValue(tiddler,"ScopeDefinitions").readBracketedList().containsAny([
>
> "Work",
> "Play"
>
> ])
>
> &&  
>
> store.getValue(tiddler,"StatusDefinitions") &&
>      
> store.getValue(tiddler,"StatusDefinitions").readBracketedList().containsAny([
>
> "Pending",
> "InProgress",
> "OnHold",
> "Complete"
>
> ])
> '
>  write
>  '"|"+(index+1)+""+
> "|[["+tiddler.title+"]]"+
> "|"+store.getValue(tiddler,"UserDefinitions")+
>                 "|"+store.getValue(tiddler,"ScopeDefinitions")+
>                
>                   "|"+store.getValue(tiddler,"StatusDefinitions")+
>                 "|\n" '
>               
>
>  begin '"|sortable|k\n|A|!Tiddler|!~User|!~Scope|Status|h\n"'"'
>
> >> 
>
> to generate a table report of tasks, ie a table containing tiddler name, 
> user, scope and status columns
>
> Please see a minimal test case here
>
> https://dl.dropboxusercontent.com/u/67129323/teamtasks%20v03-fet-test.html
>
> My question is: is there a way to add some sort of checkbox interface for 
> the fet code?
>
> Something like a number of checkboxes, one for each definition, so, for 
> instance, when you check AnneOther, PhilHawksworth and Work 
> you get a table report containing only the tasks assigned to AnneOther and 
> PhilHawksworth that are categorized
> as Work?
>
> hope this makes sense and thanks in advance
>
> sklpns
>
>
>
>
>
>   
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to