Hi guys, I try to send a link of my uploaded file to email but I can see:
How I can see only: http://****/components/com_chronoforms/uploads/clients/20131209131448_ltry.bmp
Thank's in advance
Array
(
[upload] => Array
(
[name] => 20131209131448_lcada.bmp
[original_name] => lcada.bmp
[path] => /var/www/html/components/com_chronoforms/uploads/clients/20131209131448_ltry.bmp
[size] => 476574
[link] => http://****/components/com_chronoforms/uploads/clients/20131209131448_ltry.bmp
)
)
How I can see only: http://****/components/com_chronoforms/uploads/clients/20131209131448_ltry.bmp
Thank's in advance
Hi loop4633,
I'm not sure I understand your question :-(
What you have there is the Debug output. Use {upload.link} in a Thank You Page action to show the link there if that is what you need.
Bob
I'm not sure I understand your question :-(
What you have there is the Debug output. Use {upload.link} in a Thank You Page action to show the link there if that is what you need.
Bob
Hi GreyHead thank you for your help, I create a form where i put file to upload and email, when i click submit it's send an email with a link to download resource but if in template of email I insert
it's print in email all of I write above, if I insert {upload.link} it's print in body mail {upload.link}. I could have printed in body email only the link to download the file
<?php
print_r2($form->files);
?>
it's print in email all of I write above, if I insert {upload.link} it's print in body mail {upload.link}. I could have printed in body email only the link to download the file
Hi loop4633,
If you want a link in the Email then you'd need to add the link HTML
Bob
If you want a link in the Email then you'd need to add the link HTML
<a href='{upload.link}' >Click here</a>
and you need to make sure that the Upload Files action is before the Email action.Bob
this is the result:
I don't understand but {upload.link} not function
The requested URL /{upload.link} was not found on this server.
I don't understand but {upload.link} not function
Any solution?
Hi loop4633,
Is the Upload Files action before the Email action?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Bob
Is the Upload Files action before the Email action?
Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.
Bob
Data Array:
Validation error:
Debug data:
this is my debug
Array
(
[option] => com_chronoforms
[chronoform] => clienti
[event] => submit
[upload] => 20131209155722_lcad.bmp
[nomeoperatore] => tester
[emailoperatore] => test@gmail.com
[emailcliente] => loop4633@gmail.com
[oggetto] => test
[input_submit_8] => Invia
[c36e3c48bbbee0eae850f7f2c0a01c11] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
[upload] => Array
(
[name] => 20131209155722_lcad.bmp
[original_name] => lcad.bmp
[path] => /var/www/html/components/com_chronoforms/uploads/clienti/20131209155722_lcad.bmp
[size] => 476574
[link] => http://webshare/components/com_chronoforms/uploads/clienti/20131209155722_lcad.bmp
)
)
)
)
Validation error:
Array
(
)
Debug data:
Upload routine started for file upload by : upload
/var/www/html/components/com_chronoforms/uploads/clienti/20131209155722_lcad.bmp has been uploaded successfully.
this is my debug
No solution?
Hi loop4633,
If you check the debugger code: the link will be {_PLUGINS_.upload_files.upload.link}
Bob
If you check the debugger code: the link will be {_PLUGINS_.upload_files.upload.link}
Bob
Hy guys, with some test I discovered other problems.The initial point of the link disappeared, if I set an upload file this is my debug -> http://nopaste.info/395c946933.html
Anyone can help me please?
Thank you
Anyone can help me please?
Thank you
I solved it. Thank you very much for you help🙂
This topic is locked and no more replies can be posted.