Hi Eskha thanks for the reply. Unfortunately that's not quite what I was asking. The filter has to take the title as an input, it can't be used as a parameter. Take a look at Soren's comment as he explains it better than I can, or maybe look at the Tidgraph docs to see how it works: https://ihm4u.github.io/tw5plugs/#Custom%20Mode%20Demo.
The filter would have to look like this: <currentTiddler>some[]filter[]expression[] Where <currentTiddler> can't be used anywhere else in the expression. On Tuesday, 2 March 2021 at 15:01:55 UTC Eskha wrote: > Hello si, > > Not sure if I have well understood what you wan to achieve. > Wouldn't the following call do the job? > > <$list filter="[prefix<currentTiddler>sort[title]]" > template="$:/core/ui/ListItemTemplate"/> > > (You can change the template or use the <$list ...> ... </$list> syntax if > you prefer.) > > Best regards, > > Eskha > > Le mardi 2 mars 2021 à 00:16:22 UTC+1, si a écrit : > >> Thanks for the replies. >> >> Soren is correct - the value "root/folder" has to be the input tiddler. I >> was struggling to express this well so thanks @Soren. >> >> The filter itself does not need to create a tree. It just needs to look >> at the input tiddler, then return any tiddlers in the wiki of the form >> "<input tiddler>/blah". As Soren mentioned it doesn't look like it's >> actually possible. >> On Monday, 1 March 2021 at 18:52:59 UTC si wrote: >> >>> >>> Hi all, >>> >>> I am trying to figure out if there is a filter expression that will act >>> on an input tiddler like "root/folder" and return all tiddlers of the form >>> "root/folder/.*" (i.e. root/folder/subfolder1, root/folder/subfolder2 etc). >>> >>> I can't figure this one out, so any help would be amazing. >>> >>> *My specific use case if you're interested:* >>> >>> I have a directory structure representing in my wiki, which I currently >>> display with the tree macro <https://tiddlywiki.com/#tree%20Macro>. I >>> was trying to see if I could use Tidgraph >>> <https://ihm4u.github.io/tw5plugs/> to display the directory structure, >>> and I can see that I will need a filter that works as described above. >>> >>> Thanks in advance for your help. >>> >> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f07cd7c0-7823-48a6-8efa-dc183d8e3b9fn%40googlegroups.com.

