Hi,

To move it to the right, wrap it in a div (you may want to play with the 
padding)

<$list filter="[all[current]has:field[published]]">
<div style="float:right; padding-right:10px;">{{!!published}}</div>
 </$list>

And to bring it to the top, add a field called "list-before" and set the 
value to "$:/core/ui/ViewTemplate/body"

Best,
Anders
torsdag 8. april 2021 kl. 19:20:58 UTC+2 skrev [email protected]:

> Hello Anjar,
>
> thanks - this works :-)
> And how do I get the field to to right top?
> [image: Image.png]
>
> Thanks
> Stefan
>
> Anjar schrieb am Donnerstag, 8. April 2021 um 16:13:29 UTC+2:
>
>> Hi Stefan,
>>
>> Try removing the space inside the filter; i.e.
>>
>> <$list filter="[all[current]has:field[published]]">
>> {{!!published}}
>>  </$list>
>>
>> Best, 
>> Anders
>>
>> torsdag 8. april 2021 kl. 15:18:35 UTC+2 skrev [email protected]:
>>
>>> Hello Odin,
>>>
>>> Thanks for your tip - but it's not working.
>>> What I'm doing wrong?
>>> [image: published_nok.png]
>>> Thanks
>>> Stefan
>>> Odin schrieb am Mittwoch, 7. April 2021 um 21:43:27 UTC+2:
>>>
>>>> Hi!
>>>>
>>>> This can be achieved with the $:/tags/ViewTemplate tag. Make a tiddler 
>>>> tagged with '$:/tags/ViewTemplate'. This will make the contents of this 
>>>> tiddler appear on any tiddler in your wiki. Then copy the following inside 
>>>> the tiddler:
>>>>
>>>> <$list filter="[all[current]has:field[published] ]"> 
>>>> {{!!published}}
>>>>  </$list>
>>>>
>>>> The list acts like an if statement. If the current tiddler you are 
>>>> looking at has the field published, it will show the contents of the 
>>>> published field.
>>>> You can adjust the position of the contents with list-after and 
>>>> list-before fields.
>>>>
>>>> Hope that helps!
>>>> Op woensdag 7 april 2021 om 21:22:20 UTC+2 schreef 
>>>> [email protected]:
>>>>
>>>>>
>>>>> Hello,
>>>>>
>>>>> in every new Tiddler I add the field "published" - which will contain 
>>>>> an individual date:
>>>>> [image: published.png]
>>>>> (plublished date <> created date <> modified date)
>>>>>
>>>>> How can this be done, that on every Tiddler this field will be shown 
>>>>> under Toolbar like: [image: field_displayed_on_right_side.png]
>>>>> Thanks for feedback
>>>>>
>>>>> Stefan
>>>>>
>>>>>

-- 
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/ed6ce896-180b-4b33-b15c-7b10dc93c48cn%40googlegroups.com.

Reply via email to