On Friday, December 5, 2014 2:49:51 PM UTC-5, Evolena wrote:
>
> The list-links macro uses this method:
>
> <$link to={{!!title}}>
> <$transclude field="caption">
> <$view field="title"/>
> </$transclude>
> </$link>
>
> The choice of transclude or view widget is up to your use-cases.
>

Thank you ... that works perfectly! It will take me some time to figure out 
why it is not displaying both the caption and the title when it exists but 
in the meanwhile I will use that solution blindly :]

Based on Conditional variables in http://tiddlywiki.com/#SetWidget , I was 
fiddling along the lines of something like:

<$set name="display_name" filter="[is[current]field:caption[]]" 
value={{!!caption}} emptyValue={{!!title}}>
<$link><<display_name>></$link>
</$set> 

but getting no success. Maybe it was a blind alley ...

Thanks again,

/Mike

-- 
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to