So this is probably me not understanding something fully, so I am asking 
here to be better educated. I was playing around with a viewtemplate and 
thought about how to apply it based on tiddler title. When I did that 
filter, though, it applied the template to every single tiddler.

So I have these two viewtemplate-tagged tiddlers:
Title-based:

> <$list filter="[all[current]is[tiddler]!is[system]title[foobar]]">
> foo
> </$list>


Tag-based:

> <$list filter="[all[current]is[tiddler]!is[system]tag[foobar]]">
> bar
> </$list>


My expectation is that the title-based viewtemplate only gets applied to a 
tiddler with a title of 'foobar' and the tag-based one is only applied to 
tiddlers with a tag of "foobar'.
What winds up happening is that the tag-based template only gets applied 
based on the tag, but the title-based one gets applied to all tiddlers.

I feel like this is due to something fundamental/important in how this is 
all put together, but I don't know what or why.

I have a working example in this link:
https://storage.googleapis.com/hgdrop/titlebasedtemplate.html#TagBasedViewTemplate:foobar%20blankTiddler%20tagged%20TitleBasedViewTemplate%20TagBasedViewTemplate
 

And a wordier description here:

With the two ViewTemplates described above, and these 3 tiddlers with no 
contents:
A: Title: foobar, Tag: *none*
B: Title: blankTiddler, Tag: *none*
C: Title: tagged, Tag: foobar

My expectation is that the contents of the three tiddlers be:
A: foo
B: *nothing*
C: bar

Actual rendered contents:
A: foo
B: foo
C: foo bar

-- 
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/83715acf-4d17-4056-af7b-7bac186bd4c4%40googlegroups.com.

Reply via email to