Hi Mohammed,
thanks for this solution. Unfortunately the link is running in a 404-page.
And I coulnd't find, where the "data-tags*" is comming from. Do you have a
hint, because this is clearly CSS-related stuff.
Cheers.
Torax
Am Dienstag, 17. Dezember 2019 17:41:09 UTC+1 schrieb Mohammad:
>
> This is a solution proposed by Eric Shulman
>
> Create a tiddler tagged with $:/tags/Stylesheet and content
>
> [data-tags*="network"] .tc-tiddler-body { display:none; }
>
>
> Ref: TW-Scripts
>
> https://kookma.github.io/TW-Scripts/Scripts%20in%20Tiddlywiki.html#Conditionally%20Display%20The%20Tiddler%20Contents
>
>
> On Tuesday, December 17, 2019 at 7:26:27 PM UTC+3:30, Torax Malu wrote:
>>
>> Hi @all,
>>
>> thanks to you guys I understood the basic mechanism for display
>> templates. Well I tried to apply this to JSON-Tiddlers, but failed.
>>
>> (Original answer post:
>> https://groups.google.com/d/msg/tiddlywiki/wzNweZz5Jm0/Ft7h-1xMBAAJ)
>>
>> The test of a simple JSON-Tiddler marked with the tag "network":
>>
>> {
>> "testKey" : "TestValue"
>> }
>>
>>
>> The template tiddler is tagged with "$:/tags/ViewTemplate" and containes
>> the code:
>>
>> <$list filter="[all[current]tag[network]]">
>> testkey has value {{##testKey}}.
>> </$list>
>>
>>
>> Well - instead of only displaying the text of the template I get the
>> normal JSON-view followed by my template. That tells me, I made my template
>> correct, but don't understand something of the mechanism itself. Can you
>> give me a hint?`
>> Thanks and cheers.
>>
>>
--
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/db21225d-444a-4ca6-bf95-0f735df38ab1%40googlegroups.com.