In the Utility plugin <https://kookma.github.io/TW-Utility/> there is a
button on the sidebar that on click shows the fields under subtitle and
above the text of tiddler.
To simplify it I decided to transclude the core tiddler e.g
*$:/core/ui/EditTemplate/fields* in my own tiddler as below and
conditionally tag it with $:/tags/ViewTemplate.

So if you like to reproduce the whole work

1. open https://tiddlywiki.com/prerelease/
2. create a tiddler as below

*title*: my view fields
*tags*: $:/tags/ViewTemplate
*text*: <$transclude tiddler="$:/core/ui/EditTemplate/fields"/>

3. create a test tiddler with fields like *fld1 fld2 *with some test values
4. save test tiddler and see fields in view mode

I have attached it for your convenience.

It works but there are two issues
1. the keyboard shortcuts do not work
2. the add new fields does not work

I think some variables are not set correctly in my solution above! e.g we
need
<$vars ....    ... ...>
 <$transclude tiddler="$:/core/ui/EditTemplate/fields"/>
</$vars>

What do you think?

Best wishes
Mohammad

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMDqD4aaQkPhYOh611hWp-CE3%3DPxGKGQjzZksHkj5WhCdA%40mail.gmail.com.

Attachment: my view fields.tid
Description: Binary data

Reply via email to