Hi Jonathan > I get the new tiddler with the title of the template tidder, as the tm-new-tiddler doc states.
The button widget only supports the "message" and "param" attributes for sending the message. To specify hashmap members like "title" you need to send the message with the more flexible action-sendmessage widget. For example: <$button> <$action-sendmessage $message="tm-new-tiddler" $param="JournalTemplate" title="myTripJournal"/> New Trip Journal </$button> Best wishes Jeremy. On Fri, Jan 2, 2015 at 7:24 PM, Jonathan Salles <[email protected]> wrote: > While the New Journal button is nice, it only lets one set up one Journal > per TiddlyWiki. I successfully created a New Journal button in the past > With Skeeve's Newtiddler Widget (thank you Skeeve). It appears that > tm-new-tiddler widget in 5.17 has superceded this, unless I am mistaken. > > So I can have multiple New Journal buttons per TiddlyWiki I am trying to > create a New Journal button with the tm-new-tiddler widget. I have not had > total success in this. I am having trouble creating a title with a name, > say myTripJournal, and using a template tiddler with text and tags in it. > > If I just use > > <$button message="tm-new-tiddler" param="JournalTemplate" > title="myTripJournal">New Trip Journal</$button> > > I get the new tiddler with the title of the template tidder, as the > tm-new-tiddler doc states. It looks like I can use paramObject= and use a > hashmap of title, text, and tags, but I am having trouble creating the > hashmap as I haven't seen any docs on it, if I use > > <$button message="tm-new-tiddler" > paramObject="{title:"myTripJournal",text:"New text"}">New Trip > Journal</$button> > > > the button does not render, I only get the text of the code above. > > I am also having trouble putting the date and time into the title, > > <$button message="tm-new-tiddler" param="muTripJournal <<now "DD MMM > YYYY">>">New Journal2</$button> > > > also does not let the button render, I only get the text of the code above. > > So I guess I am looking for help on how to use a hashtag in the > paramObject of the tm-new-tiddler, and how to include the date in a tiddler > title. > > thanks > > Jonathan > > -- > 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] -- 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.

