[TW5] Show a list of Tiddlers that have Tag of Title of current Tiddler plus some other tag - see example

420 views
Skip to first unread message

Fatso Tutor

unread,
Mar 19, 2016, 3:37:06 AM3/19/16
to TiddlyWiki
Hi 

I have a tiddler called ABC Organisation

I have  contact tiddlers with following tag ABC Organisation and Contact

I have note tiddlers with following tags ABC Organisation and Note


When I Show ABC Organisation Tiddler

I would like to auto display:

Contacts associated with this tiddler without explicitly specifying  the tags like <<list-links filter:"[tag[ABC Organisation]] + tag[Contact]]">> - I would like to substitute tag[ABC Organisation]] with a variable referring to title of the ABC Organisation Tiddler.

Please help. I am splitting hairs.


Eric Shulman

unread,
Mar 19, 2016, 3:47:41 AM3/19/16
to TiddlyWiki
The current tiddler is stored in a *variable* named "currentTiddler"

You can use a variable as a parameter for a filter operator by replacing the "[paramvalue]" with "<variablename>".

Thus, for your use case:
[tag<currentTiddler>tag[Contact]]

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals

Fatso Tutor

unread,
Mar 19, 2016, 5:49:29 AM3/19/16
to TiddlyWiki
You are star. That worked Eric. Many thanks.

This is what I did:

<<list-links filter:"[tag<currentTiddler>] +[tag[Contact]]">>
Reply all
Reply to author
Forward
0 new messages