[tw] Re: List of fields in a different tiddler
On Friday, May 6, 2016 at 10:21:43 AM UTC-7, Stephen Kimmel wrote: > > What I want to do is produce a list of fields and values for a tiddler > that isn't the current tiddler but whose name is contained in a temporary > tiddler. > > Given that this code produces a list of fields and values for the current > tiddler > > > <$list filter="[is[current]fields[]] -[[text]]" variable="fieldname"> > <$text text=<>/> > <$view field=<>/> > > > > can someone explain to me what it takes to produce a similar result? > Method #1: * replace "is[current]" with "title{$:/temp/old}" * add tiddler={{$:/temp/old}} to the $view widget <$list filter="[title{$:/temp/old}fields[]] -[[text]]" variable="fieldname"> <$text text=<>/> <$view tiddler={{$:/temp/old}} field=<>/> Method #2: * set the currentTiddler context to the desired tiddler title by surrounding the code with <$tiddler tiddler={{$:/temp/old}}> <$tiddler tiddler={{$:/temp/old}}> <$list filter="[is[current]fields[]] -[[text]]" variable="fieldname"> <$text text=<>/> <$view field=<>/> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios InsideTiddlyWiki: The Missing Manuals -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@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/b9211689-bfa3-4c4b-b929-df885cf5265b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: List of fields in a different tiddler
Thanks. That certainly does it. I'm still trying to understand the use of a text reference in a filter... which is why I was pursuing the {$:/temp/old} approach. But in any case, this gets me past my difficulty. Thanks again. On Friday, May 6, 2016 at 1:48:17 PM UTC-5, Mark S. wrote: > > Is this what you want? > > <$set name=tid value={{$:/temp/old}}> > > <$list filter="[fields[]] -[[text]]" variable="fieldname"> > <$text text=<>/> > <$view tiddler=<> field=<>/> > > > > > > > > On Friday, May 6, 2016 at 10:21:43 AM UTC-7, Stephen Kimmel wrote: >> >> What I want to do is produce a list of fields and values for a tiddler >> that isn't the current tiddler but whose name is contained in a temporary >> tiddler. >> >> Given that this code produces a list of fields and values for the current >> tiddler >> >> >> <$list filter="[is[current]fields[]] -[[text]]" variable="fieldname"> >> <$text text=<>/> >> <$view field=<>/> >> >> >> >> can someone explain to me what it takes to produce a similar result? >> >> None of the combinations I've tried with {$:/temp/old} have brought me >> any luck. >> >> >> >> >> -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@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/47aa3111-7b32-49ce-8b82-31efdb9b3237%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: List of fields in a different tiddler
Is this what you want? <$set name=tid value={{$:/temp/old}}> <$list filter="[fields[]] -[[text]]" variable="fieldname"> <$text text=<>/> <$view tiddler=<> field=<>/> On Friday, May 6, 2016 at 10:21:43 AM UTC-7, Stephen Kimmel wrote: > > What I want to do is produce a list of fields and values for a tiddler > that isn't the current tiddler but whose name is contained in a temporary > tiddler. > > Given that this code produces a list of fields and values for the current > tiddler > > > <$list filter="[is[current]fields[]] -[[text]]" variable="fieldname"> > <$text text=<>/> > <$view field=<>/> > > > > can someone explain to me what it takes to produce a similar result? > > None of the combinations I've tried with {$:/temp/old} have brought me any > luck. > > > > > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@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/ede52cf4-15fb-4f37-a387-9fd49c7d8505%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.