On Tuesday, January 7, 2020 at 11:49:41 AM UTC-8, Odin Jorna wrote:
>
> The problem I am running into is that I don't have control of where the
> contents of the text field are placed into the template. I want to use the
> normal text box to put down my notes, thoughts and any other information
> that isn't general contact details in the tiddler. But then it
> automatically dumps the text on top of the template in the person tiddler.
> If I transclude {{!!text}} at the position I want the text show up it
> works, but then I still have the text on top of everything.
>
The tiddler "view" is composed on several parts, each of which is tagged
with $:/tags/ViewTemplate. You can control the order in which those parts
are displayed.
To see the current order, you can go to your custom template tiddler, and
click on the "tag pill" for "$:/tags/ViewTemplate". This will display a
dropdown list of all tiddlers with that tag. The order shown in the list
is the order they will be displayed when viewing a tiddler.
There are several ways to change the order. This is (briefly) documented
in https://tiddlywiki.com/#Order%20of%20Tagged%20Tiddlers
For your purposes, the easiest approach is probably to add a "list-before"
field to your custom template, with a value of
"$:/core/ui/ViewTemplate/body".
This will cause your custom template to appear before the standard "text"
content of the tiddler.
Q.E.D.
enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas!" (tm)
InsideTiddlyWiki - http://www.TiddlyTools.com/InsideTW
--
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/d407b8a2-1f94-4474-93fe-fad1224c863b%40googlegroups.com.