On Monday, March 7, 2016 at 9:13:22 PM UTC-8, Mark S. wrote:
>
> Hi Eric,
>
> Thanks for your explainer. But there's something wrong with your macro 
> definition. It seems to want the tiddler= attribute rather than the 
> combined field=tiddler!!field. 
>

oops... yes.  tiddler="""$tid$""" field="!!caption"
 

> Also, is the idea that only the caption OR the title shows up? I could fix 
> it, but it would show both caption and title when both were available. 
>

The way the <$view> is *nested*, it will show the caption field if it 
exists, OR the title field if no caption field exists.... but not both.

It's a basic database design requirement that key linking fields be 
> immutable. Title fields should float on top of the data independently so 
> they can be freely altered as the use case is refined. I guess if I was 
> going to depend on a macro solution I would want one that would create 
> links based on a separate id field. But I suppose the link macro would have 
> to do some sort of expensive field search so ... I don't know.
>

If the "title" field was named "ID", and the "caption" field was named 
"title", you would have what you want, without having to implement 
completely separate handling for a custom ID field.

-e

-- 
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/0948cec1-c258-4e6c-9b66-ec376e815639%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to