Hi Josiah,
>
>
I'm not sure whether this helps, but the following code creates a new 
journal tiddler, tagged with "My Reports", and populates it with a wikified 
version of whatever you put into the tiddler MyReport:

\define journalButton()
<$wikify name="outputter" text={{MyReport}} output="html">
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:
/language/Buttons/NewJournal/Caption}}>
<$action-sendmessage $message="tm-new-tiddler" title=<<now 
"$(journalTitleTemplate)$">> tags="$(journalTags)$" text=<<outputter>>/>
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
Create Report!
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewJournal/
Caption}}/></span>
</$list>
</$button>
</$wikify>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<$set name="journalTags" value="[[My Reports]]">
<<journalButton>>
</$set></$set>

Cheers,

Stef

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
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/c78e6068-edb5-400b-9999-66382601f8cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to