Great! This did the trick - with a small modification. I had to set the 
*variable* parameter of the *list* widget 
<https://tiddlywiki.com/#ListWidget> to another value:

<$list filter="[all[current]tagging[]limit[1]]" 
*variable="currentTiddlerInTheList"*>
<<t>>
</$list>

This needs to be done because the default name of the *variable* parameter 
is "currentTiddler". My <<t>> macro also uses that name, expecting it to 
point to the tiddler where it is used. But the *list* widget invocation 
changes it to the first tiddler tagged with the current tiddler. If i set 
the variable to another value, then *currentTiddler* in the <<t>> macro 
will stay unchanged and it works.

Thanks for pointing me in the right direction.

---

I didnt fully understand how the list widget works. It executes its content 
(as a template) for each tiddler in its result list. Also, interesting that

<$list>
</$list>

and

<$list></$list>

results in two different things. In the first case it uses the linebreak as 
the template (which results in nothing being shown), in the second it uses 
a default template (which is a link pointing to the tiddler).

---

In my opinion <$for-each>...</$for-each> would be a better name for the 
*list* widget, because *list* is an ambigous name - are we talking about 
the noun *a list* or about the action *to list something*. but thats 
another topic.

-- 
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/c4a9f738-2752-48de-ba51-c1ce5c2fbc4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to