Hi Xavier,

Assuming you've managed to store the tags selected by the user
in some state tiddler's text, then you can use tobibeer/contains 
<http://tobibeer.github.io/tw5-plugins/#contains>
to get all tiddlers that have the same titles from that list as tags, e.g.:

This would be the example you might want to look at:

contains:<listfield> $all[<list>] 
<http://tobibeer.github.io/tw5-plugins/#contains%3A%3Clistfield%3E%20%24all%5B%3Clist%3E%5D>

In your case it would look something like:

<$vars selected={{$:/states/selected-tags}}>
<$list filter="[contains:tags $all<selected>sort[title]]">
...do your thing...
</$list>
</$vars>

Try this example directly on http://tobibeer.github.io/tw5-plugins to see 
an example:

<$vars selected="Filters Plugins">
<dl>
<$list filter="[contains:tags $all<selected>sort[title]]">
<dt><$link><$view field="title"/></$link></dt>
<dd>''field:'' {{!!tags}}</dd>
</$list>
</dl>
</$vars>

Best wishes,

Tobias.

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78cfef42-fdc4-4d89-a95c-307af13ffa6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to