I'm rather stuck.

I want to transclude the contents of a tiddler that I dynamically choose.  
Specifically, I want to display the journal entry tiddler titled with 
today's date, a space, and the same project as the parent tiddler.  I tried 
using the following code:

\define journalTiddlerName( ) 
22-April-2020 $(project)$
\end
<$set name="project" value={{!!project}}>
<<journalTiddlerName>>
<p><h2><$view tiddler=<<journalTiddlerName>> field="created" format="date" 
template="DD-MMM-YYYY"/></h2></p>
<p><$transclude tiddler=<<journalTiddlerName>> mode="block" /></p>
</$set>

I have a project field on the parent tiddler that reads WR-38972, so I 
expect to see:

22-April-2020 WR-38972
22-April-2020 WR-38972
Contents of my transcluded tiddler.

It  exists, and has a plain text string in the body.  Unfortunately, all I 
get is the first line, "22-April-2020 WR-38972".  The macros aren't 
accepting the string as a tiddler name, but I don't know why.  Any 
thoughts, please?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f4c3186b-6265-4e6d-a900-c88fe8448302%40googlegroups.com.

Reply via email to