Hi Mark this was an Part of the problem.
Thle code i have corrected

<$select tiddler='$:/SiteTitle' tooltip='select tiddler wich should will 
cloned'>
<$vars selection="tiddler"> 
<option value="Benzin - Jahr">Benzin</option>
<option value="Fahrzeugpflege - Jahr">Fahrzeugpflege</option>
<option value="Inspektionen und TÜV - Jahr">Inspektionen und TÜV</option>
<option value="Räder: Reifen und Felgen - Jahr">Räder: Reifen und Felgen
</option>
<option value="Reparaturen und Wartung - Jahr">Reparaturen und Wartung
</option>
<option value="Scheibenwischer - Jahr">Scheibenwischer</option>
<option value="Versicherung - Jahr">Versicherung</option>
<option  value="Zulassung - Jahr">Zulassung</option>
</$vars>
</$select>

<$button> clone selected tiddler
<$list filter=<<selection>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<selection>>/>
<$action-sendmessage $message="tm-close-tiddler" 
$param={{{[has[draft.of]field:draft.of<<selection>>]}}}/>
</$list>
</$button>

i believe, the button-code are count the tiddlers and create new tiddlers 
so much this count.

i want to create 1 tiddler as an clone of the selected tiddler.
what is wrong to my code?




Am Donnerstag, 5. März 2020 17:27:05 UTC+1 schrieb Mark S.:
>
> The <option> tag needs a value attribute:
>
> <option value="Benzin - Jahr">Benzin - Jahr</option>
>
> On Thursday, March 5, 2020 at 8:11:11 AM UTC-8, Gerald Weis wrote:
>>
>> thats is my code.
>>
>> <$select tiddler='$:/SiteTitle' tooltip='select tiddler wich should will 
>> cloned'>
>> <$vars selection="tiddler"> 
>> <option>Benzin - Jahr</option>
>> <option>Fahrzeugpflege - Jahr</option>
>> <option>Inspektionen und TÜV - Jahr</option>
>> <option>Räder: Reifen und Felgen - Jahr</option>
>> <option>Reparaturen und Wartung - Jahr</option>
>> <option>Scheibenwischer - Jahr</option>
>> <option>Versicherung - Jahr</option>
>> <option>Zulassung - Jahr</option>
>> </$vars>
>> </$select>
>>
>> <$button> clone selected tiddler
>> <$list filter=<<selection>>>
>> <$action-sendmessage $message="tm-new-tiddler" title=<<tiddler>> 
>> tags="uu"/>
>> <$action-sendmessage $message="tm-close-tiddler" 
>> $param={{{[has[draft.of]field:draft.of<<selection>>]}}}/>
>> </$list>
>> </$button>
>>
>>  

> this code make 66 new tiddler but dont clone the selectet tiddler.
>>
>> i must the tiddler clone while in this wiki i wortk with tiddlerfields in 
>> my templates.
>>
>> thanks for help
>>
>

-- 
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/733eae23-6f9f-457f-99a8-8f3b0509372d%40googlegroups.com.

Reply via email to