Thanks Danielo :-)
Den torsdag den 7. maj 2015 kl. 09.32.38 UTC+2 skrev Danielo Rodríguez:
>
> Hello Mans,
>
> If you have adopted Matabelle's solution I think you should stick to it.
> My macro is just a "patch"
>
> El jueves, 7 de mayo de 2015, 8:44:13 (UTC+2), Måns escribió:
>>
>> Hi Matabele
>>
>> Great :-) Thank you very much!!
>>
>> I simply pasted the code from the clone button into your maketid widget -
>> and it just works :-)
>>
>> <$maketid edit="no"><$button message="tm-new-tiddler"
>> param=<<currentTiddler>> tooltip={{$:/language/Buttons/Clone/Hint}}
>> aria-label={{$:/language/Buttons/Clone/Caption}}
>> class=<<tv-config-toolbar-class>>>
>> <$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
>> {{$:/core/images/clone-button}}
>> </$list>
>> <$list filter="[<tv-config-toolbar-text>prefix[yes]]">
>> <span class="tc-btn-text"><$text
>> text={{$:/language/Buttons/Clone/Caption}}/></span>
>> </$list></$button></$maketid>
>>
>> To me it seems that the parameter you've added:
>> >*edit="yes" (default) opens the tiddler for editing – edit="show"
>> navigates to but does not open the tiddler – edit="no" suppresses
>> navigation*
>>
>> should be implemented as an option for the tm-new-tiddler widget @Jeremy?
>>
>> Cheers Måns Mårtensson
>>
>>
>> Den torsdag den 7. maj 2015 kl. 04.46.51 UTC+2 skrev Matabele:
>>>
>>> Hi Mans
>>>
>>> Perhaps this
>>> <http://gwiz.tiddlyspot.com/#:MakeTidWidget%20sample-template> meets
>>> your needs?
>>>
>>> regards
>>>
>>> On Tuesday, May 5, 2015 at 10:08:33 AM UTC+2, Måns wrote:
>>>>
>>>> Hi TwWizards
>>>>
>>>> How do I make a clone button which creates tiddlers silently?
>>>>
>>>> As I understand I have to use the action-setfield widget and not the
>>>> tm-new-tiddler widget message to be able to generate/edit tiddlers without
>>>> having to open them....
>>>> I'd like to be able to do both:
>>>>
>>>> 1) Silently create tiddlers with new titles based on the first
>>>> (current) tiddler's title (not a clone)
>>>> 2) Silently create multiple clones of the current tiddler with new
>>>> titles based on the first (current) tiddler's title.
>>>>
>>>> Is this already possible?
>>>>
>>>> Cheers Måns Mårtensson
>>>>
>>>>
--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5233f700-d25c-4860-96e0-5314c5ac84fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.