Dynamic list with tiddler names containing a space

74 views
Skip to first unread message

Sandip Deshmukh

unread,
Aug 25, 2021, 1:47:03 AM8/25/21
to TiddlyWiki
I was trying to create a dynamic list containing a list of all tiddlers containing the current tiddler as a member of the field project.

I am in tiddler "B B" that carries the following code:

<ul>
    <$list filter="[project[<<currentTiddler>>]]">
        <li><$link /></li>
    </$list>
</ul>

Another tiddler "D D" has [[A A]] and [[B B]] in participants.

So, ideally, "D D" should show up in my "B B" tiddler. But it doesn't.

How do I set things right?

BurningTreeC

unread,
Aug 25, 2021, 2:06:28 AM8/25/21
to TiddlyWiki
Hi @Sandip_Deshmukh

first of all, the filter syntax to insert a variable is the following:

<$list filter="[project<currentTiddler>]">
...
</$list>

note that it doesn't use the [ ] and << becomes < and >> becomes > within a filter expression

Sandip Deshmukh

unread,
Aug 25, 2021, 6:26:56 AM8/25/21
to TiddlyWiki
BurningTreeC, Thanks.

But the filter syntax you have provided does not produce any results.

Any other ideas?

PMario

unread,
Aug 25, 2021, 9:58:17 AM8/25/21
to TiddlyWiki
On Wednesday, August 25, 2021 at 12:26:56 PM UTC+2 Sandip Deshmukh wrote:

But the filter syntax you have provided does not produce any results.

IMO your variables are different. You wrote there is a tag project and the filter uses it.
Then your wrote

>Another tiddler "D D" has [[A A]] and [[B B]] in participants.

Here you use participants. .. Which is not used in the filter. So it doesn't do anything.

just a guess
-mario

Sandip Deshmukh

unread,
Aug 25, 2021, 10:59:44 AM8/25/21
to TiddlyWiki
Thanks, Mario.

That was an error. It should have been the same field in both the places.

Frankly, I am kind of overwhelmed with a lot of things in tiddlywiki. And being a newbie, finding it is a bit difficult to cope up.

I am very near to achieving what I wanted to. But because Google Groups does not allow me to change the earlier message, I will post a new conversation.

Please bear with me.

TW Tones

unread,
Aug 28, 2021, 7:50:52 AM8/28/21
to TiddlyWiki
Sandip,

Come over and try Discourse and continue the conversation there, you can edit posts there.

I understand that tiddlywikis flexibility and some of its quirks seem overwhelming in the early days but it is very rewarding in the long run. A Good investment in time.

Tones

Reply all
Reply to author
Forward
0 new messages