Odin

Where you want text to appear in a html template you can use
<$transclude mode=block/>
Which defaults to currenTiddler and the text field.

Not sure if this solves your problem but it is another way.

Tony


On Wednesday, January 8, 2020 at 7:45:05 AM UTC+11, Odin Jorna wrote:
>
> Hi Eric!
>
> Thank you for the explanation of how the view tiddler is made of and how 
> the ordering works. That clarified a lot.
>
> After trying out the list-before field, the text does change to after the 
> template. But what I was looking for was getting it inside the template. 
> Inside, there are some  <div class="flex-row"> and <div class="flex-col-1 
> "> that sorts the view into rows and columns. What I would like is to have 
> the text inside the column. In the example file, I placed a {{!text}} at 
> that spot. 
>
> Do you think that is possible?
>
>
>
> Op dinsdag 7 januari 2020 21:10:18 UTC+1 schreef Eric Shulman:
>>
>> 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/d88817d1-58cd-40b7-b510-0492d99044ea%40googlegroups.com.

Reply via email to