I have a similar scenario in some of my wikis, and using split[/] and 
is[tiddler] was how I approached it.
Further specifics will depend on details like whether there can only be two 
levels or multiple, and whether only the first level (root) needs to exist 
or all preceding levels.



On Sunday, March 28, 2021 at 10:48:31 PM UTC+2 Mat wrote:

> Did I dream this or was there very recently (past week?) someone asking 
> about this very problem that I just stumbled upon? Can't find the question, 
> if there ever was one. Regardless, I wonder if there's any clever way 
> filter to find out if:
>
>      the current tiddler title is a suffix of any other tiddler title
>
> It will be used as part of a viewtemplate so it is important that it is an 
> "economical" filter.
>
> The situation occurs because I have tiddlers titled like paths e.g
>
> MyFolder/Img1.jpg
> MyFolder/Doc1
>
> ...and I have a mechanism to create tiddlers with titles as the last 
> "step" in those paths, i.e "Img1.jpg" and "Doc1" but these tiddlers should 
> show some data from their corresponding path tiddlers in a ViewTemplate. A 
> tiddler can have multiple pathtiddlers.
>
> Thank you!
>
> <:-)
>

-- 
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/8144e525-967c-4965-a078-2134d8c48468n%40googlegroups.com.

Reply via email to