On Mon, May 31, 2021 at 1:35 AM Saq Imtiaz <[email protected]> wrote:

> The quick and easy way is to add a field "hide-body" with a value of "yes"
> to your data tiddlers. This will hide the default display of the tiddler
> text. Then have a custom view template based on a tag or field that
> displays things how you want.
>


What a useful point! added to TW-Scripts!
I had got used to tag tiddler and then hide the body using conditional css!
;-)



>
> On Sunday, May 30, 2021 at 10:50:21 PM UTC+2 Ed Heil wrote:
>
>> Hi!
>>
>> I'm using TW to make a character sheet for a role-playing game.  Right
>> now a tiddler for a character is associated with a data tiddler.  The
>> character tiddler has a view template which displays all the stuff in the
>> data tiddler in a readable & usable manner.
>>
>> I'm thinking it would be nice to have the character sheet *actually be*
>> the data tiddler.
>>
>> If I do this, I'm going to want to modify the display of this tiddler, so
>> that when you look at it,  you can't see the underlying data, you can just
>> see the template with the UI for displaying it and interacting with it.
>>
>> I've added view templates to classes of tiddlers before, e.g. by adding a
>> new tiddler with the special view template tag so it shows up for tiddlers
>> with a certain tag.  But I've never tried to *replace* the default display.
>>
>> I'm wondering if I need to look at replacing (shadowing) a system tiddler
>> or what.
>>
>>
>> --
> 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/66d9ceae-d07b-464f-88dc-ac95007b2a74n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/66d9ceae-d07b-464f-88dc-ac95007b2a74n%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/CAAV1gMD%2BoYsMrSSkdtcE4sRVAFvbTSfOveJzEKzpOJaw9Df1jg%40mail.gmail.com.

Reply via email to