Uwe,
Great to hear.
One point I forgot to make is the tag field is a field like any other so it
can be addressed as {{!!tags}} as I did in the solution I provided. It
tends to slip peoples mind because tag handling is quite extensive, and we
rarely refer to them that way.
Regards
Tony
On Thursday, 23 August 2018 17:22:34 UTC+10, Uwe wrote:
>
> Thanks for your solution, it works great!
>
> Here you see the usefullness of your work:
>
> The given Tags "Aktuell" and "Q6" show me all Tiddlers, which have at
> least these tags.
> Below the table with the matching Tiddlers, I can chose (or un-chose) the
> tags.
>
>
> [image: oneormoretags.jpg]
> This is the working source (only for two tags, because the list is
> looooong.)
>
> \define tags-here-filter(prefix suffix) $prefix$<$list filter={{!!tags}}
> variable=tag-here>tag[<<tag-here>>]</$list>$suffix$
>
> <$wikify name=filter text="""<<tags-here-filter "[!is[system]" "has[uw-inf
> ]] +[sort[uw-inf]]">>""">
> <table>
> <tr>
> <th>Titel</th><th>Tags</th>
> </tr>
> <$list filter=<<filter>>>
> <tr>
> <td><$link>{{!!title}}</$link></td>
> <td>{{||$:/core/ui/ViewTemplate/tags}}</td>
> </tr>
> </$list>
> </table>
> </$wikify>
>
>
>
>
> <$fieldmangler>
> <$list filter="[is[current]tag[KA01]]">
> <$button class="button" message="tm-remove-tag" param="KA01">{{check
> }}<<tag KA01>></$button>
> </$list>
> <$list filter="[is[current]!tag[KA01]]">
> <$button class="button" message="tm-add-tag" param="KA01"><<tag
> KA01>></$button>
> </$list>
> </$fieldmangler>
> <$fieldmangler>
> <$list filter="[is[current]tag[KA02]]">
> <$button class="button" message="tm-remove-tag" param="KA02">{{check
> }}<<tag KA02>></$button>
> </$list>
> <$list filter="[is[current]!tag[KA02]]">
> <$button class="button" message="tm-add-tag" param="KA02"><<tag
> KA02>></$button>
> </$list>
> </$fieldmangler>
>
>
>
>
> Hope, that helps others which have a similar problem.
>
> Again, thanks to all contributors!
>
> Uwe
>
> ---
>
>
>
>
>
> Am Donnerstag, 23. August 2018 07:42:58 UTC+2 schrieb TonyM:
>>
>> UWE,
>>
>> I build a solution that suites my way of thinking. I do not have the same
>> test data as you but I had this working with a different prefix and suffix
>>
>> \define tags-here-filter(prefix suffix) $prefix$<$list filter={{!!tags}}
>> variable=tag-here>tag[<<tag-here>>]</$list>$suffix$
>>
>> <$wikify name=filter text="""<<tags-here-filter "[!is[system]" "has[uw-
>> inf]] +[sort[uw-inf]]">>""">
>> <$list filter=<<filter>> >
>>
>> </$list>
>> </$wikify>
>>
>> Regards
>> Tony
>>
>> On Thursday, 23 August 2018 00:37:14 UTC+10, Uwe wrote:
>>>
>>> Assume, I have a tiddler named "Tiddler1" with the tags "one" "two" and
>>> "three". How can I list all the Tiddlers which have at least the tags of
>>> this "Tiddler1"?
>>>
>>> I'd like to use it in such a filter:
>>>
>>> <$list filter="[!is[system]tag[FW]has[uw-inf]] +[sort[uw-inf]]">
>>> <tr>
>>> <td>{{!!uw-inf}}</td>
>>>
>>> <td><$link>{{!!title}}</$link></td>
>>> <td>{{||$:/core/ui/ViewTemplate/tags}}</td>
>>> </tr>
>>> </$list>
>>>
>>> (I'm wondering, why this questions hasn't asked before.)
>>>
>>> Greetings,
>>>
>>> Uwe
>>>
>>>
>>>
--
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/416c933a-647c-47c1-8130-a2ff3899ed56%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.