On Thursday, June 17, 2021 at 9:34:47 AM UTC-7 Brian Radspinner wrote:

> Try wrapping the content with this list...
> *<$list filter="[all[current]tagging[]first[]]">*
>    Stuff to be displayed when a tiddler is a tag
> *</$list>*
>

Note that the above use of the $list widget wrapper will change the value 
of <<currentTiddler>> to the first tagged item.  To prevent this, add a 
variable="..." to the $list widget, like this:
<$list filter="[all[current]tagging[]first[]]" variable="is_a_tag">
   Stuff to be displayed when a tiddler is a tag
</$list>

The important part is that a variable other than the default 
"currentTiddler" is being used. The name of the variable doesn't really 
matter, since it isn't being referenced inside the $list widget. As a 
convention, I've chosen a variable name that describes the purpose of the 
filter.

enjoy,
-e

-- 
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/96b7abc2-98f2-4de4-aff5-b991b6fae0a1n%40googlegroups.com.

Reply via email to