PMario,
In TW V5.1.22 the ActionCreateTiddler widget got some new functions, that
> make cloning and creating new tiddlers using templates much more versatile:
> https://tiddlywiki.com/#ActionCreateTiddlerWidget
>
I don't like using ActionCreateTiddler because it definitely creates a new
tiddler, even if I press the cancel button in edit mode. However, I further
developed the script (?), now it's using the default tiddler title.
\define create-tiddler-from-template()
<$action-sendmessage $message="tm-new-tiddler" $param=<<currentTiddler>>
title={{$:/language/DefaultNewTiddlerTitle}}/>
\end
<div class="tc-sidebar-lists">
<$vars titlePrefix="$:/bimlas/new-tiddler-templates/">
<$list filter="[search:title<titlePrefix>!has[draft.of]]">
<$button class=<<tv-config-toolbar-class>> actions=<<create-tiddler-
from-template>>>
{{$:/core/images/new-button}} <$text text={{{ [all[current]
removeprefix<titlePrefix>] }}}/>
</$button> <br/>
</$list>
</$vars>
</div>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/455a2028-0055-4b55-a525-9439d88ccf46%40googlegroups.com.