Exactly what I needed. Thank you! On Sunday, 10 December 2017 15:42:37 UTC, Eric Shulman wrote: > > On Sunday, December 10, 2017 at 6:52:18 AM UTC-8, hubertgk wrote: >> >> Is it possible to clone the current tiddler (including all its contents >> and, if possible, tags) upon a press of a button? I couldn't find anything >> relevant in the documentation. >> What I'm trying to achieve: I have a list of tiddlers tagged 'template' >> and would like to embed this button within the list so that by clicking a >> button next to the chosen 'template' tiddler I could create a clone of that >> template for use. >> > > see https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler > > as per the documentation example: > <$button message="tm-new-tiddler" param="TaskTemplate">New Task</$button> > > Thus, for your use-case: > <$list filter="[tag[template]]"> > <$link><$text text=<<currentTiddler>>/></$link> > <$button message="tm-new-tiddler" param=<<currentTiddler>>> > {{$:/core/images/clone-button}} > </$button> > </$list> > > enjoy, > -e > Eric Shulman > TiddlyTools.com: "Small Tools for Big Ideas!" (tm) > InsideTiddlyWiki: The Missing Manuals >
-- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aafdb005-3251-4485-b55a-442ae549de66%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

