uploaded file link and change of the file destination

PURINA 23 May, 2020
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
PURINA 23 May, 2020
in other words I need in email which we get not this

File  ["20200523135510_pokeball.png"]
But full path to download it.
Max_admin 23 May, 2020
The path to download the file is the path to the upload folder then the file name, add this to your email:

{path:front}/uploads/{data:file_field_name}

Replace file_field_name with the name of your file field!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
PURINA 23 May, 2020
I am sorry but it looks always same. Name of the file, but not clickable hyperlink. I added to the template code
Max_admin 24 May, 2020
add that code to the email body directly!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
PURINA 29 May, 2020
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
PURINA 29 May, 2020
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"]
Max_admin 30 May, 2020
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!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.