How to populate the list field

202 views
Skip to first unread message

Mohammad Rahmani

unread,
Jul 23, 2018, 7:45:13 AM7/23/18
to tiddly...@googlegroups.com
Assume I have a rot tiddler e.g. Demo, and several other child tiddlers like A, B, C, D, ... tagged with Demo
How can I populate the list filed by putting some expression it it?

I used the below code, but it doesnot work!

{{{[tag[<currentTiddler>]]"}}}


PMario

unread,
Jul 23, 2018, 8:11:33 AM7/23/18
to TiddlyWikiDev
 Hi,

Try: {{{[tag<currentTiddler>]}}}


-m

PMario

unread,
Jul 23, 2018, 8:13:55 AM7/23/18
to tiddly...@googlegroups.com
-m

Mohammad Rahmani

unread,
Jul 23, 2018, 8:30:00 AM7/23/18
to TiddlyWikiDev
Mario,
 Doesn't work!

Mohammad Rahmani

unread,
Jul 23, 2018, 8:32:02 AM7/23/18
to TiddlyWikiDev
I will study this to see how it works!

PMario

unread,
Jul 23, 2018, 3:38:59 PM7/23/18
to TiddlyWikiDev
On Monday, July 23, 2018 at 1:45:13 PM UTC+2, Mohammad Rahmani wrote:
Assume I have a rot tiddler e.g. Demo, and several other child tiddlers like A, B, C, D, ... tagged with Demo

 
How can I populate the list filed by putting some expression it it?

uups .. I did misread this question

-> You can't!

-m

PMario

unread,
Jul 23, 2018, 3:40:53 PM7/23/18
to TiddlyWikiDev
On Monday, July 23, 2018 at 1:45:13 PM UTC+2, Mohammad Rahmani wrote:
Assume I have a rot tiddler e.g. Demo, and several other child tiddlers like A, B, C, D, ... tagged with Demo
How can I populate the list filed by putting some expression it it?

The list field has to be filled by hand .. OR it will be automatically created, if you use "drag & drop" sort in the tag-pill.

-m

TonyM

unread,
Jul 23, 2018, 8:51:44 PM7/23/18
to TiddlyWikiDev
Mario,

Can you think of a way to do a similar action to the drag & drop" sort in the tag-pill to cause this to happen?

Someone in the know can use the tag pill this way but a explaining this to a naive user is a real challenge. 

Even just a bespoke button that triggers the necessary actions would help, perhaps labelled sort that then opens a drag-gable list

Regards
Tony

Matthew Lauber

unread,
Jul 24, 2018, 1:57:35 PM7/24/18
to TiddlyWikiDev
<$wikify name="test" text="""<$list filter="[tag[Filter Operators]]"><$text text="[[" />{{!!title}}<$text text="]]" /> </$list>""">
<$button>
<$action-setfield tiddler="New Tiddler" value=<<test>> />
Set
</$button>
</$wikify>

Here's a button using the wikify widget to set the field to the list generated in the wikify widget.  You can try it on tiddlywiki.com, and play with the filter to make it output what you want.  You'll have to click the button to update the ordering every time you want it updated.  
Reply all
Reply to author
Forward
0 new messages