I've consolidated your code into what I already had:
\define journalButton()
<$button aria-label={{$:/me/language/Buttons/NewFitness/Caption}}
class=<<tv-config-toolbar-class>>>
<$action-sendmessage
$message="tm-new-tiddler" title=<<now "Fitness-$(journalTitleTemplate)$">>
tags="Journal" journal-type="Fitness" journal-part="segment" year=<<now
"0YYYY">> month=<<now "0MM">> day=<<now "0DD">>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/core/images/new-journal-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text
text={{$:/me/language/Buttons/NewFitness/Caption}}/></span>
</$list>
</$button>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<<journalButton>>
</$set>
...and it works perfectly! Thank you very much Jeremy and great job with TW5!
--
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/eb7b2ad9-8f85-4b30-973d-3f3d9879e963%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.