Thanks Jeremy, I didn't see that the $param of the ActionSendMessageWidget could be used to send the name of the template tiddler. I also see that I don't really need to use a template tiddler, everything can be done with the hash tags, though having a separate template tiddler may (or may not) help clarity and make changes easier.
I also didn't see that the hash tags for the ActionSendMessageWidget were just title="myTitle" text="myText" field1="newField text". I found my problem with the date macro, I had the title text outside of the now macro, where I should have put it inside like <<now "New Tiddler Title on YYYY mmm DD". Still a little curious/perplexed why the message and param for the ActionSendMessageWidget need a $ preceding, where the ButtonWidget does not. It almost seems that the ButtonWidget does not need the message and param Attributes as using the ActionSendMessageWidget is more powerful. Could I have used the set and setTo Attributes of the ButtonWidget to create the title of the new tiddler? I will have to play with that. Jonathan On Friday, January 2, 2015 2:28:03 PM UTC-5, Jeremy Ruston wrote: > > 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] > <javascript:>> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> 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] <javascript:> > -- 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.

