Hi Eric

> {{store.getValue("tiddlertitle","fieldtitle")||"fieldvalue is missing"}}

Great :-) I've been asking for this so many times that I've lost track
of how many....
Eric are you the *only* TW-supporting genius who can provide this kind
of information??

> This will invoke getValue() and then, if it returns a NULL, it will fallback 
> to using the text following the "OR" (||) separator.

Ok - That makes sense - Thanks for the explanation.

> Also note that there was no reason to use the "section transclusion" trick to 
> pass the tiddler title.  You can reference "tiddler.title"
> directly within the evaluated parameter in the <<wikify>> macro.
> Thus:
> <<wikify %0 {{store.getValue(tiddler.title,"fieldtitle")||"fieldvalue is 
> missing"}}>>

I actually *did* try that as my first attempt - the transclusion is
just an example of one of the "workaround-methods" I use when I'm
unsure if something is working outside a script or a fET... (I often
try to use things I find in scripts or fETs in transclusions..)

Thanks for resolving this mystery that has been haunting me for at
least a year now :-)

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to