i think you need to set your Test View Template content type 
to text/vnd.tiddlywiki

please see working example 
http://makiaea.org/00045/20201205makiaea-anwiki#Card%20Template%20tap

hth
On Thursday, January 7, 2021 at 4:41:25 AM UTC [email protected] wrote:

> Thanks for the reply. I feel like I’m probably missing something. I tried 
> what I understood you say but it isn’t working like I expected. Here’s what 
> I’ve got so far:
>
>
>
> On Jan 6, 2021, at 10:17 PM, 'Mark S.' via TiddlyWiki <
> [email protected]> wrote:
>
> Generally you don't want to hack a core tiddler, since that will make 
> upgrading difficult.
>
> Usually you would create a tiddler and tag it with $:/tags/ViewTemplate . 
> Then in the text box you would put
>
> <$list filter="[all[current[tag[test]]">
> Whatever text you want to be displayed when the tag is "test"
> </$list>
>
> Now it should display at the bottom of any tiddler tagged "test". If you 
> click on the $:/tags/ViewTemplate tag, you can drag your tiddler up or down 
> to position as you would like.
>
> HTH
>
> On Wednesday, January 6, 2021 at 7:34:40 PM UTC-8 [email protected] wrote:
>
>> Hey guys. I've been trying to figure out how to do this: if my tiddler is 
>> tagged "test" (for example), I want the view/render template to have some 
>> content appended to it.
>>
>> I found the $:/core/ui/ViewTemplate/body shadow tiddler but I'm not sure 
>> how to add a conditional that says "if the current tiddler has X tag show Y 
>> content".
>>
>> Any pointers? Thanks!
>>
>> Here's where I've gotten so far, though it isn't working. The <$reveal> 
>> element at the end is my attempt.
>>
>> [image: Screen Shot 2021-01-06 at 9.28.52 PM.png]
>>
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/Jg-nmLk-yxs/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/d637e6be-b5c9-4f75-928c-5d1730371a18n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/d637e6be-b5c9-4f75-928c-5d1730371a18n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/be597c0a-b10a-4ad4-91bf-c3b358b18dfcn%40googlegroups.com.

Reply via email to