Is there a way to specify a template to be used with the 'New Here' button?
I am currently using a button with this code
<$button>New Tiddler
<$action-sendmessage $message="tm-new-tiddler" title="New"
text="<<bottomOfTiddler {{!!title}}>>" blurb=" " tags=<<currentTiddler>>/>
</$button>
which works unless the current tiddler has spaces in the title, in which
case instead of tagging the new tiddler with the current one, it gives it
separate tags for each word in the current tiddlers title. From what I can
tell looking at the code on github, this is almost the same code used by
the 'New Here' button, but that button tags with the current tiddler
correctly when there are spaces in the title.
So is there either a way to correct the tagging problem with the above
button or to set a template for the 'New Here' button to use?
On Tuesday, October 21, 2014 3:56:29 AM UTC-6, Jeremy Ruston wrote:
>
> Hi Danielo
>
> I find the documentation of tm-new-tiddler a bit undetailed, specifically
>> related to this sentence:
>>
>> param Either the title of a tiddler to use as a template for the new
>> tiddler or a hashmap of tiddler fields
>>
>> How can I provide them a hashmap of tiddler fields? This is explained
>> much better in the action-widget documentation. Can I provide that hasmap
>> in a json tiddler for example?
>>
>
> At the moment the only way to pass a hashmap with the tm-new-tiddler
> message is using the actionsendmessage widget:
>
> http://tiddlywiki.com/#ActionSendMessageWidget
>
> We'd need a new syntax for being able to specify a JSON tiddler to provide
> the hashmap values.
>
>
>> Thank you very much! I really love how TW is evolving.
>>
>
> Great, I'm sorry it's such a slow process :)
>
> Best wishes
>
> Jeremy
>
>
>
> --
> 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.