Or something like this??:
<span classmacro='email subject:"Hello World" to::
{{store.getTiddlerText("email","")}}></span>

Where I put the "emailfieldcatcher" into a tiddler:
Tiddlername: email
TiddlerBody: +tiddler.fields["email"]+

The idea is to use emailMacro as a button in viewtemplates on teacher-
studentcards - with emailfields predefined.

Any pointer - also to alternative methods-  would be appreciated..

YS Måns Mårtensson

On 26 Mar., 23:22, Måns <[email protected]> wrote:
> Hi
> I would like to make my emailbutton - in the customViewTemplate - to
> fetch the tiddlers custom field (email) and put it in the address..
> Is this somehow possible??
>
> Examples (not working!!):
>
> In tiddler textbody:
> <<email subject:"Hello World" to:"+tiddler.fields["email"]+"
> label:"mail to Foo" tooltip:"send this tiddler to Foo"
> permalink:"true">>
>
> or in ViewTemplate
>
> <span macro='email subject:"Hello World" to:"+store.getValue
> (tiddler,"email")+" label:"mail to Foo" tooltip:"send this tiddler to
> Foo" permalink:"true"'></span>
>
> YS Måns Mårtensson
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to