asprin
Active member
So I've set
I'm wondering if there is a pre-defined tag (similar to xf:textboxrow, xf:selectrow etc) which builds the UI for allowing a user to upload a file.
Or does it have to be done via the plain old
Also since this form will be part of the addon, what is the recommended place to store it? I'm thinking of storing the file on the filesystem and putting the path of the file in the database.
Are there any reference tutorials/code that I can look into?
upload="true"
on the form tagI'm wondering if there is a pre-defined tag (similar to xf:textboxrow, xf:selectrow etc) which builds the UI for allowing a user to upload a file.
Or does it have to be done via the plain old
input type="file"
tag?Also since this form will be part of the addon, what is the recommended place to store it? I'm thinking of storing the file on the filesystem and putting the path of the file in the database.
Are there any reference tutorials/code that I can look into?