Another $list question

50 views
Skip to first unread message

Tony K

unread,
Apr 29, 2020, 1:14:39 PM4/29/20
to tiddl...@googlegroups.com
Can't seem to find the correct way to return the  title of the current tidller in the below


<$list filter="[search:keywords[ Demo ]]"></$list>


The above works find and gives back a list of all tiddlers having "Demo" as one of their keywords however

<$list filter="[search:keywords[ {{!!Title}} ]]"></$list>




doesn't work can someone please explain why ?

Tony K

unread,
Apr 29, 2020, 1:41:35 PM4/29/20
to TiddlyWiki
ok this worked

<$list filter="[search:keywords<currentTiddler>]"></$list>


just for reference if anyone other than me doesn't know that lol

Mark S.

unread,
Apr 29, 2020, 1:53:07 PM4/29/20
to TiddlyWiki


On Wednesday, April 29, 2020 at 10:14:39 AM UTC-7, Tony K wrote:
Can't seem to find the correct way to return the  title of the current tidller in the below


<$list filter="[search:keywords[ Demo ]]"></$list>



This might work, until you want compound keywords with spaces in them.

Consider making your keywords a list field. It's actually no different than what you're doing now, except that compound words can be inserted like links [[my phrase]].

Then this becomes

<$list filter="[contains:keywords[Demo]]"></$list>

 and this

<$list filter="[search:keywords[ {{!!Title}} ]]"></$list>



becomes

<$list filter="[contains:keywords{!!Title}]]"></$list>


Tony K

unread,
Apr 29, 2020, 4:14:38 PM4/29/20
to TiddlyWiki

thank you Mark :D
Reply all
Reply to author
Forward
0 new messages