If you replaced the contents of $:/core/ui/Buttons/new-journal
with
\define journalButton()
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:
/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<now
"$(journalTitleTemplate)$">> tags="$(journalTags)$" text="$(journalText)$"/>
<$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={{$:/language/Buttons/NewJournal/
Caption}}/></span>
</$list>
</$button>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
<$set name="journalText" value={{$:/config/NewJournal/Text}}>
<<journalButton>>
</$set></$set>
then you could put your default text in
$:/config/NewJournal/Text
and have it available as you needed it. Of course, you might miss any
upgrades to New Journal and you'll need to remember the name of the tiddler
where you stowed the default text. I guess the next step would be to add a
box to the configuration screen. I'm kind of surprised that that isn't
already available.
Oh yeah - be sure to make a backup before trying this!
HTH
Mark
On Monday, April 3, 2017 at 10:49:27 PM UTC-7, Roving Richard wrote:
>
> Currently, all new journal entries are empty. I'd like to make it so that
> it comes preloaded with some text. Should I do it through $:/core/ui/
> Buttons/new-journal?
>
> I want something like this:
> ! Dream journal
>
> ! I'm grateful for
> #
> #
> #
> #
> #
>
> ! I'm excited for
> #
> #
> #
> #
> #
>
>
> ! Today's wins
> #
> #
> #
> #
> #
>
> ! How I'll improve
> #
> #
> #
> #
> #
>
> I've tried to do this by manually transcluding a {{journal template}}
> tiddler, but then I can't actually fill the lists
>
--
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/c6e41342-dbf1-48c6-8cb1-f5e3106a1694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.