The value of currentTiddler, is a variable which is generally set to
whichever tiddler is being rendered. Transclusions count as the containing
tiddler, not the transcluded tiddler. This is by design so that templates
work. That is why when you transclude a tiddler with your filter it doesn't
act like you expect.
There are two way around this that I generally use. The first is the
tiddler widget which sets the value of currentTiddler
<$tiddler tiddler=xxx>
{{xxx}}
</$tiddler>
the other way, which I use more often, is using a list widget. Inside a
list widget the value of currentTiddler is set to the current item in the
list. So
<$list filter='[is[current]field:title[XXX]]'>
{{XXX}}
</$list>
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/e8a1959d-dc41-483b-916d-0e2ccf9f91e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.