When value of field x is the title of the current tiddler

50 views
Skip to first unread message

David Gifford

unread,
Mar 2, 2015, 6:33:29 PM3/2/15
to tiddl...@googlegroups.com
Hi all

One more question, and I stop bugging you all for the week!

What is the 'field' equivalent of [all[current]tagging[]]?

That is, what filter do I need to render "all tiddlers that have field x, and the value of that field is the title of the present tiddler"?

Dave

Jed Carty

unread,
Mar 2, 2015, 6:51:02 PM3/2/15
to tiddl...@googlegroups.com
The field operator is the one you want.

<$list filter='[!is[system]fieldx{!!title}]'>

</$list>

where you replace fieldx with whatever field you are checking, and you can remove the !is[system] part if you want to include system tiddlers.

David Gifford

unread,
Mar 2, 2015, 6:58:38 PM3/2/15
to tiddl...@googlegroups.com
That worked great. Thanks Jed. I always forget about {!!title} and try [all[current]] or [fieldx[current]] or [is[current]]. I just need to switch mental gears and remember that pesky {!!title}.

Dave

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/bbeCkls1P7A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages