Download Link in Email

tobisagt 19 Oct, 2012
Hi,

i want to show the Link to the Upload in my Email.
I tryed this one:


$datei1_download = $form->data[_PLUGINS_][upload_files][datei1][link];
$form->data['datei1_download'] = '<a href="' .$datei1_download .'">Download</a>';
$datei1_download = $form->data['datei1_download'];


It works, but not in Email. {datei1_download}
GreyHead 19 Oct, 2012
Hi tobisagt,

I think it should work. What do you get in the email if you look at the source HTML?

You could also try this in the email template provided that the Rich Text editor is off:
<a href='{_PLUGINS_.upload_files.datei1.link}' >Download</a>


Bob
tobisagt 19 Oct, 2012

<a href='{_PLUGINS_.upload_files.datei1.link}' >Download</a>



Thanks, that works!

When you say that my code above should work, where i need to place it?
GreyHead 19 Oct, 2012
Hi tobisagt,

I'd assumed that you had it in a Custom Code action before the Email action (together with the missing PHP tags).

Bob
tobisagt 19 Oct, 2012
Nice, works too!🙂

I tried the same code in the custom code action a few pages before.
I thought the multi page action will transport the data.
This topic is locked and no more replies can be posted.