Uploaded files are renamed in CF8. I.e File "abcd.pdf" is renamed as "_20240411122754.pdf"
Can this behavieur be changed, as I need the files uploaded with the original name.
You can enable the "Filename provider" behavior in the file field settings, then use either
{file:name} for the original name or better
{file:safename}.{file:extension}
for a safe name without the timestamp
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This is not an absolute path to a directory, the absolute path can be found in Joomla 4 5 by going to:
System > Information > System information > Configuration file
The path will be shown there, but you may also use the ChronoForms8 shortcode for that:
{path:front}
so you may use something like
{path:front}/uploads/
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Now it works, but can it be configured to allow uploading a file with same name? ( i.e. updated file)?
Regards
Adriano
use the following as the filename provider:
{file:safename}.{file:extension}
I think that should overwrite an existing file
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ok, I added a new behavior to file fields to "overwrite existing files", this should be available in the next update
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.