[TW5] Help please - simple Question?

83 views
Skip to first unread message

TonyM

unread,
Oct 19, 2017, 9:41:16 AM10/19/17
to TiddlyWiki
Folks,

Despite a lot of research and experimentation I cant work this out. I know I am missing something, and all your good advice has not yet solved this kind of mystery.

in the below example

<$list filter="[tag<currentTiddler>sort[title]]" variable="type">
<$checkbox tag="how do I reference type here?"> Set <<type>></$checkbox>
</$list>

How to I reference the value of <<type>> where is says "how do I reference type here?"

This is Driving me crazy, maybe I have gone mad.

Tony


Arlen Beiler

unread,
Oct 19, 2017, 9:54:35 AM10/19/17
to TiddlyWiki
If it isn't 

<$list filter="[tag<currentTiddler>sort[title]]" variable="type">
<$checkbox tag=<<type>> > Set <<type>></$checkbox>
</$list>

then put it in a macro

\define type()
<$list filter="[tag<currentTiddler>sort[title]]" variable="type">
<$checkbox tag="$(type)$"> Set <<type>></$checkbox>
</$list>
\end

But maybe someone else knows more

Arlen

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f536eef4-e6be-4def-9aff-358f60858295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

PMario

unread,
Oct 19, 2017, 9:54:48 AM10/19/17
to TiddlyWiki
<$list filter="[tag<currentTiddler>sort[title]]" variable="type">
<$checkbox tag=<<type>> > Set <<type>></$checkbox>
</$list>


-m

TonyM

unread,
Oct 19, 2017, 6:50:53 PM10/19/17
to TiddlyWiki
Thanks arlen,

The first suggestion is working, I swore I tried that half a dozen times. Either tiddlywiki very sensitive, or I am not sensitive enough towards tiddlywiki.

Ta muchly
Tony
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages