Subject: [tw] Re: Issue: Enable numbering on tiddlers
created via a Custom Button?

Ciao Stef & all

stef...@xxxxxxxxx wrote:Did you try "action-createtiddler" with the $basetitle attribute, rather than "tm-new-tiddler"?

Thanks. Its getting a bit clearer, but I'm not quite there yet.

That worked to complete the titles with correct numbers: "Tweet, Tweet 1, Tweet 2" etc. Unfortunately it doesn't seem open the new "Tweet" tiddler in the editor. Here is the revised code ...

\define tweetButton()
<$button tooltip={{$:/language/Buttons/NewTweet/Hint}} aria-label={{$:/language/Buttons/NewTweet/Caption}} class=<<tv-config-toolbar-class>>>
<$action-createtiddler $basetitle="$(tweetTitleTemplate)$" type="text/plain"  tags="$(tweetTags)$" text="$(tweetText)$"/>

<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewTweet/Caption}}/></span>
<$set name="tweetTitleTemplate" value={{$:/config/NewTweet/Title}}>
<$set name="tweetTags" value={{$:/config/NewTweet/Tags}}>
<$set name="tweetText" value={{$:/config/NewTweet/Text}}>

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]">[email protected]
To post to this group, send email to [email protected].
Visit this group at
To view this discussion on the web visit
For more options, visit

Programming list archiving by: Enterprise Git Hosting