Hello,
I've tried to create an external link macro that concatenates the tiddler
fields "path" and "file"
My effort below doesn't work ( it only sees {{!!path}} and not {{!!file}}
), and it's not really what I want. I want a single macro that I can call
to make an external link that creates its href value by concatenating the
"path" and "file" fields of the tiddler it's called from. If it's possible
to do this using [ext[pretty name|URI]] then all the better (but I have
tried and failed).
\define .dlink-ex()
<a href=$(sentence)$ class="tc-tiddlylink-external" target="_blank">goat</a>
\end
<$set name="sentence" value="{{!!path}}{{!!file}}">
<<.dlink-ex>>
</$set>
Thanks, Bob
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5438027e-a0b8-4ae7-a1f5-dfd82be6ae1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.