Hello,
I am getting in the email uploaded file name, but I need to have file link instead. Files are too big to attach.
Second, how to change destination saving folder or maybe other cloud to save file?
Many thanks for help
JIRI
I am getting in the email uploaded file name, but I need to have file link instead. Files are too big to attach.
Second, how to change destination saving folder or maybe other cloud to save file?
Many thanks for help
JIRI
in other words I need in email which we get not this
File ["20200523135510_pokeball.png"]
But full path to download it.
File ["20200523135510_pokeball.png"]
But full path to download it.
The path to download the file is the path to the upload folder then the file name, add this to your email:
Replace file_field_name with the name of your file field!
{path:front}/uploads/{data:file_field_name}
Replace file_field_name with the name of your file field!
I am sorry but it looks always same. Name of the file, but not clickable hyperlink. I added to the template code
add that code to the email body directly!
Yes I will get this:
/data/web/virtuals/95573/virtual/www/components/com_chronoforms6/chronoforms/uploads/["20200529050509_a0-pauzak.pdf"]
but I need this:
http://www.tygrtisk.cz/components/com_chronoforms6/chronoforms/uploads/20200529050509_a0-pauzak.pdf
this is manually repaired link
/data/web/virtuals/95573/virtual/www/components/com_chronoforms6/chronoforms/uploads/["20200529050509_a0-pauzak.pdf"]
but I need this:
http://www.tygrtisk.cz/components/com_chronoforms6/chronoforms/uploads/20200529050509_a0-pauzak.pdf
this is manually repaired link
OK I know - when I add exact link, like this - https://www.tygrtisk.cz/components/com_chronoforms6/chronoforms/uploads/{data:file}
it works, not at all, it shows name of the file with wrong beggining of the name. Try to click it.
https://www.tygrtisk.cz/components/com_chronoforms6/chronoforms/uploads/["20200529052534_ae2006-i-a3.pdf"]
it works, not at all, it shows name of the file with wrong beggining of the name. Try to click it.
https://www.tygrtisk.cz/components/com_chronoforms6/chronoforms/uploads/["20200529052534_ae2006-i-a3.pdf"]
You have the file field set to select multiple files ? if yes then this is why it's not working!
Try to use {data.join[]:file} instead of {data:file} to get this working for a single file, but if you have more than 1 file then it will not work!
There is a solution for this issue in the new v7 though!
Try to use {data.join[]:file} instead of {data:file} to get this working for a single file, but if you have more than 1 file then it will not work!
There is a solution for this issue in the new v7 though!
This topic is locked and no more replies can be posted.