I think (hope?) that this is an easy issue that I am just missing.
I am relatively new to TW5 (I was an old school user of pre-TW5), and I am
having a problem with transclusion. I have a button to create a new
tiddler, and I want to insert the current user from $:/status/UserName into
a field in the new tiddler called "proj_owner". I tried simply including
the content of the $:/status/UserName tiddler like this:
<$set name="proj_owner" value={{$:/status/UserName}}>
However, the new tiddler contains "{{$:/status/UserName}}" in the
proj_owner field, rather that the actual value. I even tried creating a
macro to see if that would help me:
\define whoami(who:{{$:/status/UserName}}) $who$
And then modifying the $set code like this:
<$set name="proj_owner" value=<<whoami>>>
But that yields the same result. I have been driving myself crazy with
different permutations to figure this out, but it keeps eluding me. Any
pointers or ideas would be greatly appreciated.
Thanks in advance.
Kurt
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywikidev/83af6e63-70ef-4e2a-94bd-5d7d02c47509%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.