UPLOAD FOLDER

Centrostampa AUSL Tc 08 Feb, 2022
Hi, i have create a new folder where to store my documents , i change the path but my files aren't inside the folder i made a mistake? It is possible to know where is my fault?Must i use php function and where i must put it? Thank you for the help.

Array
(
    [option] => com_chronoforms7
    [cont] => manager
    [chronoform] => form-03feb22-0839
    [gpage] => end_page
    [text_1] => MKKK
    [Itemid] => NULL
    [file_2] => 
    [file_4] => 
    [__cf_token] => 8d580261-0bf0-420c-a637-3b6eef6fff8e
)
Array
(
    [end_page_upload] => Array
        (
            [path] => /var/www/https://www.uslcentro.toscana.it/public/components/com_chronoforms7/chronoforms/uploads/cambiomedico/
            [var] => false
Colnem 09 Feb, 2022
Hi

You have to set the path in your Form Settings:
Behavior/Upload Files: {path:root}/your_folder_uploads.
{path:root} is your Site root.
your_folder_uploads is the folder where you want to upload your files. This folder has to exist.

You can do something like:
{path:root}/your_folder_uploads/{data:sub_folder} or {path:root]/your_folder_uploads/{user:username} ... Subfolders have to exist.

I just try for my site: it works very well. And God knows when it doesn't work, I say so!
You need to login to be able to post a reply.