Hi Gerald
Thanks for the response Jeremy. I tried doing it but it doesn't seem to
> work. When I click on the new button it doesn't use the preset default type.
>
My apologies, you should also tag the tiddler $:/tags/PageControls.
Best wishes
Jeremy
>
> The default content type should probably be configurable.
>
>
> I second that. It would be nice to be able to set the default types under
> control panel for New Tiddlers, New Journal Tiddlers and when using the
> "Create a new journal tiddly tagged with this one" button.
>
> On Tuesday, November 25, 2014 11:17:36 AM UTC-8, Jeremy Ruston wrote:
>>
>> Hi Gerald
>>
>> The default content type should probably be configurable. In the
>> meantime, the best way would be to create an alternative "new journal"
>> button that incorporates the special behaviour that you need.
>>
>> Create a new tiddler called something like "$:/MyNewJournalButton" and
>> the following content:
>>
>> \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)$"/>
>> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]" type="image/png">
>> {{$:/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}}>
>> <<journalButton>>
>> </$set></$set>
>>
>> It's the same as the shadow tiddler "$:/core/ui/Buttons/new-journal"
>> with the addition of type="image/png" on the action-sendmessage widget.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> On Tue, Nov 25, 2014 at 5:26 PM, Gerald Strickland <[email protected]>
>> wrote:
>>
>>> I chose to do this before for tiddlers using the methods described here: TW5
>>> Default type
>>> <https://groups.google.com/forum/#!topic/tiddlywiki/vKMkeyezxpg/discussion>
>>>
>>> How would I go about changing the default content type for journal
>>> entries?
>>>
>>> Thanks!
>>>
>>> --
>>> 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 http://groups.google.com/group/tiddlywiki.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>
--
Jeremy Ruston
mailto:[email protected]
--
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 http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.