Thanks Mark. PR submitted 
<https://github.com/Jermolene/TiddlyWiki5/pull/2821>.

On Tuesday, April 4, 2017 at 10:54:02 AM UTC-4, Mark S. wrote:
>
> 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 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/b161c3fa-8611-4c86-ba95-32e13dfda4c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to