Making Lists with Tags

72 views
Skip to first unread message

Zach Henry

unread,
Sep 17, 2017, 6:25:06 PM9/17/17
to TiddlyWiki
I'm very new to TiddlyWiki, so please forgive me, but I can't figure out how to make a list of all Tiddlers with a single tag. I've tried looking for information, but nothing I see seems to work for me. Is there a beginner's guide for this?

Mark S.

unread,
Sep 17, 2017, 7:20:07 PM9/17/17
to TiddlyWiki
Hi Zach,

It would help if you showed what you were doing, so we help you understand the problem. When you say, "single tag", do you mean a specific tag, or a listing of all tiddlers with only 1 tag?

Assuming the former, typically, this should work:

<$list filter="[tag[HelloThere]]">
<$view field=title/><br/>
</$list>

Where you replace "HelloThere" with your tag name.

Good luck!
Mark

Zach Henry

unread,
Sep 17, 2017, 7:32:37 PM9/17/17
to TiddlyWiki
That is what I wanted somewhat. Is it possible to make each entry a link?

Mark S.

unread,
Sep 17, 2017, 8:04:18 PM9/17/17
to TiddlyWiki
Sure, just wrap it with the link widget:

<$list filter="[tag[HelloThere]]">
<$link to="title"><$view field=title/></$link>
<br/>
</$list>

Have fun,
Mark

Zach Henry

unread,
Sep 17, 2017, 8:24:56 PM9/17/17
to TiddlyWiki
Hmmm... that does turn them into links, but only to the same page (in that case, "title")

Mark S.

unread,
Sep 17, 2017, 8:34:44 PM9/17/17
to TiddlyWiki

Oops. I'm never quite myself until I've had my 10th cup of coffee. Try:

<$list filter="[tag[HelloThere]]">
<$link to=<
<currentTiddler>>><$view field=title/></$link><br/>
</$list>

Good luck,
Mark

Zach Henry

unread,
Sep 17, 2017, 8:41:06 PM9/17/17
to TiddlyWiki
There we go, that works perfectly. Thank's for all your help!

Mat

unread,
Sep 17, 2017, 10:55:13 PM9/17/17
to TiddlyWiki
Zach, 

the simplest way, especially for beginners, is to use the native list-links macro. Basically, you just write:

<<list-links "[tag[Foo]]">>

<:-)


Reply all
Reply to author
Forward
0 new messages