On Sunday, May 31, 2015 at 1:10:36 PM UTC-4, Jed Carty wrote:
>
> For this the easiest way is to use the action-sendmessage widget and the 
> tm-add-tag message and the fieldmangler widget. Here is an example: 
>
> <$fieldmangler tiddler=<<tiddler.title>>> 
> <$button>label 
> <$action-sendmessage $message="tm-new-tiddler" $param="ChatsTemplate" 
> tags=<<currentTiddler>> title=<<tiddler.title>>/> 
> <$action-sendmessage $message="tm-add-tag" $param=someothertag/> 
> New Chat 
> </$button> 
> </$fieldmangler> 
>
> To add more tags just add more tm-add-tag messages. 


It is adding the tags to the tiddler that has the button, not the newly 
created tiddler.  Since the new tiddler's title is created dynamically, I 
don't know the name of the new tiddler until it is created, so I don't know 
how to reference it with the fieldmangle widget.  

 

-- 
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/9da37ae7-65f7-4729-98c1-6ef7e317d582%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to