I think like this;

<$set name=tag-filter value=<<tag-filter>> emptyValue="[all[]]">
<$list filter="[tags[]] +[subfilter<tag-filter>] +[sort[title]]">

</$list>
</$set>

Now I now need to find where I may wish to add this.

eg;
<$set name=tag-filter value=<<tag-filter>> emptyValue="[tag[Filter 
Operators]]">
<$list filter="[tags[]] +[subfilter<tag-filter>] +[sort[title]]">

</$list>
</$set>

Tones
On Wednesday, 5 May 2021 at 19:15:20 UTC+10 TW Tones wrote:

> Mohammad,
>
> If you are referring to this 
> <https://groups.google.com/g/tiddlywiki/c/Rjx1qERJ0VI/m/YIlf46mXAAAJ> from 
> eric
>
> Here's a customization that does what you want:
>
> 1) edit $:/core/ui/ViewTemplate/tags
> 2) in the <$list> widget, change this:
> <$list filter="[all[current]tags[]sort[title]]".../>
> with this:
> <$list filter="[all[current]tags[]sort[title]] 
> -[enlist{$:/config/HideTags}]".../>
> 3) create a new tiddler named $:/config/HideTags
> 4) in the text field of that tiddler, enter a space-separated list of tag 
> names that you want to hide
>
> its not quite what I am after, but could lead to it. Using another filter
>
> Tones
>
> On Wednesday, 5 May 2021 at 15:53:06 UTC+10 Mohammad wrote:
>
>>
>>
>> On Wed, May 5, 2021 at 9:01 AM TW Tones <[email protected]> wrote:
>>
>>> Folks,
>>
>>
>> Tones
>>
>>>
>>> From my systematic learnings from TiddlyWiki I need to ask if anyone has 
>>> considered this Tag handling feature? 
>>>
>>> I ask this openly because whilst I could "roll my own solution", it 
>>> shoulds like a good case for updating the core tiddlers to respond if a 
>>> variable is set containing "tag filter". So I wonder if someone has done 
>>> this before or could help me do it.
>>>
>>> *Background*
>>> You may be aware the tag macro, the 
>>> templates  {{||$:/core/ui/TagTemplate}} and 
>>> {{||$:/core/ui/EditTemplate/tags}} and {{||$:/core/ui/ViewTemplate/tags}}  
>>> all allow you to list or manipulate tags including with tag pills.
>>>
>>> *Extra flexibility *
>>> There are however times when such a "tool" would be helpful if the tags 
>>> displayed or the tags available in the drop down could be restricted using 
>>> a filter, or when using $:/core/ui/EditTemplate/tags suggests other 
>>> tiddlers (not yet tags) as possible tags.
>>>
>>
>> If we look at TW-Scripts, a very clever solution has been given by Eric 
>> Shulman
>>
>>
>> https://kookma.github.io/TW-Scripts/#Hide%20Tags%20from%20Tagspill%20Drop%20down%20Menu
>>
>>  
>>
>>>
>>> What do you think?
>>> Tones
>>>
>>> -- 
>>> 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 view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/1727aee7-990c-4d66-9879-8c22f5d136c1n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/1727aee7-990c-4d66-9879-8c22f5d136c1n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7d98173c-bbb1-45dc-b838-32da75fce421n%40googlegroups.com.

Reply via email to