<$list filter="[tag[Granny]]" variable=granny>
<$list filter="[tag<granny>]">
</$list>
</$list>
How do I put that filter into a template using [is[current]...
tags: $:/tags/ViewTemplate
text:
<$list filter="[is[current]tag[canis]]" variable=granny>
<$list filter="[tag<granny>tag[canis]]" variable=parent>
<$list filter="[tag<parent>tag[canis]]">
</$list></$list></$list>
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c19cd84a-7383-4721-b9ea-cc61ef8f9ab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<$list filter="[is[current] (tagged to a tiddler that is a parent) ]]">
Hi Steve,What about using the tagging operator like so: [tag[Canis]tagging[]] ?Cheers,-- Xavier Cazin
On Mon, Jul 8, 2019 at 8:55 PM Steven Schneider <st...@sunypoly.edu> wrote:
Hi everyone, I sense that others' have asked but I can't quickly find in the group:--How would I filter on a tiddler being a "subtag." For example, if I had tiddlers for each species in the animal genus Canis I'd have tiddlers tagged "Canis" titled Canis mesomelas, Canis lupus, Canis latransHow would I create a filter to capture species, effectively capturing tiddlers that are tagged to one of the tiddlers tagged to tiddler "Genus"?Thanks,//steve.
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 tiddl...@googlegroups.com.
<$set name=current value=<<currentTiddler>>>
<$list filter="[is[current]tags[]tag[parent]" variable=parent>
<$list filter="[<current>tag<parent>]">
This is a child
</$list>
</$list>
</$set>
Ah, I clearly need to explain better.I have parent tiddlers: A, B, C, D, etc. each tagged "parent"I have child tiddlers: A1, B1, C2, D2, etc. (they are not tagged "child", but are tagged with the name of the parent tiddlerI need to have a template to manage the presentation of child tiddlers, but don't know how to write a filter that will capture any tiddler that is a child of any of the parent tiddlers, without specifying or knowing the name of the parent tiddlers.
So neither Xavier's nor Mat's approach works because I don't know the name of the parent tiddler, and there is nothing about the tiddlers other than the fact that each is tagged to a tiddler that is tagged "parent"...
<$list filter="[is[current] (tagged to a tiddler that is a parent) ]]">
On Tuesday, July 9, 2019 at 5:59:07 AM UTC-4, Xavier wrote:Hi Steve,What about using the tagging operator like so: [tag[Canis]tagging[]] ?Cheers,-- Xavier CazinOn Mon, Jul 8, 2019 at 8:55 PM Steven Schneider <st...@sunypoly.edu> wrote:Hi everyone, I sense that others' have asked but I can't quickly find in the group:How would I filter on a tiddler being a "subtag." For example, if I had tiddlers for each species in the animal genus Canis I'd have tiddlers tagged "Canis" titled Canis mesomelas, Canis lupus, Canis latransHow would I create a filter to capture species, effectively capturing tiddlers that are tagged to one of the tiddlers tagged to tiddler "Genus"?Thanks,//steve.--
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 tiddl...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c19cd84a-7383-4721-b9ea-cc61ef8f9ab6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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 tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4f17b339-bd62-45f5-83d5-900e4134a80b%40googlegroups.com.
The below code shows a conditional view template tiddler. You can create a tiddler and tagged it with $:/tags/ViewTemplate
<$list filter="[is[current]tags[]]">
<$list filter="[<currentTiddler>tag[parent]]">
This is a child!
</$list>
</$list>
Hi Steve