You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
The form file upload widget from system/modules/core/forms/FormFileUpload.php has been around for a long time but it never seems to have made it into the DCA documentation. I'd like to suggest the following additions to the DCA reference:
Fields
Key
Value
Description
inputType
Field type (string)
... ... upload File upload
Evaluation
Key
Value
Description
storeFile
true/false (boolean)
If true, the uploaded file will be stored on the server. Applies to upload fields only.
uploadFolder
Path to upload folder (string)
Specifies the folder where uploaded files will be stored. Applies to upload fields only.
useHomeDir
true/false (boolean)
If true, the user's home directory will be used as upload folder. Applies to upload fields only.
doNotOverwrite
true/false (boolean)
If true, existing files of the same name will not be overwritten. Applies to upload fields only.
Actually I'm not totally sure if these options only apply to the "upload" field type. Maybe someone more knowledgeable could check this?
The text was updated successfully, but these errors were encountered:
Be aware that the upload field does only work in the frontend. I think the DCA reference currently refers to the backend configuration. What do you think?
The form file upload widget from
system/modules/core/forms/FormFileUpload.php
has been around for a long time but it never seems to have made it into the DCA documentation. I'd like to suggest the following additions to the DCA reference:Fields
string
)...
upload File upload
Evaluation
boolean
)string
)boolean
)boolean
)Actually I'm not totally sure if these options only apply to the "upload" field type. Maybe someone more knowledgeable could check this?
The text was updated successfully, but these errors were encountered: