Hi Steve

> How do I reference a field that is defined through transclusion? In the code 
> below, I'm trying to get the value of the field <<slidetag>> into a variable 
> <<slidenumber>>
> 
> <$list filter="[tag<slidetag>!nsort<slidetag>]" >
> <$set name="slidenumber" filter="[all[current]field<slidetag>]">
> ...
> doesn't work.

Try

<$list filter="[tag<slidetag>!nsort<slidetag>]">
<$set name="slidenumber" tiddler=<<currentTiddler>> field="slidetag">
...

The trick is a new feature of the set widget (since 5.1.14) that allows a 
variable to be set directly from a tiddler field (or index).

Best wishes

Jeremy.


> 
> Suggestions?
> 
> Thanks, //steve.
> 
> 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/8a4cf45f-12eb-4a8a-82d6-d4ea375cd729%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/8a4cf45f-12eb-4a8a-82d6-d4ea375cd729%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
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/71FCBA35-8CDE-465A-AFD5-38011C32E6FD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to