Forums

link in email

StefaNovak 08 Jan, 2024
how do I put a link to the uploaded file in an email?
Max_admin 09 Jan, 2024
you need to build the link yourself, and the directory under which the file is uploaded should not have the .htaccess file blocking access which Chronoforms uses to secure the uploads

You can get the final uploaded file name from the form vars, check this in the form debug after the form is sent
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
StefaNovak 09 Jan, 2024
Thank you
I can see the path to this file in debug, but I don't know how to get to it
Max_admin 10 Jan, 2024
you need the path to the file:
http://www.domain.com/path/to/uploads/{var:upload_action_name.file_name}


You get this value from the debug: {var:upload_action_name.file_name}
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
StefaNovak 10 Jan, 2024
can you please explain what this shortcode means? Is it a php function call that I need to create?
Max_admin 25 Jan, 2024
Answer
you do not need to create anything, after the form is submit with debug enabled you should have a list of form "vars", this is a hierarchical structure of the variables set by the form including the upload data.

you need to use {var:path.to_value} to get the vars value you need
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
You need to login to be able to post a reply.