File upload on User Registration
Permalink
Hi,
I need to allow users to attach a file (a CV) on the Registration page.
I've associated Image/File attribute type with Users, created the CV custom attribute, and added/required it on the Registration page.
What you get is just a link (choose file) which I think is attempting to open the file manager. I can understand why this happens, but it's not what I need.
How do I best approach this requirement?
I need to allow users to attach a file (a CV) on the Registration page.
I've associated Image/File attribute type with Users, created the CV custom attribute, and added/required it on the Registration page.
What you get is just a link (choose file) which I think is attempting to open the file manager. I can understand why this happens, but it's not what I need.
How do I best approach this requirement?
Having the same problem. No solution yet?
Within a block I am working on (still a lot more functionality to build into it), I wrote a minimal uploader that behind the scenes uses the file manager. It stores the uploaded file in a category within the file manager and displays the file, but the user of the block never actually sees the file manager.
If I was attacking this problem, I would try and do the same within a custom user attribute.
If I was attacking this problem, I would try and do the same within a custom user attribute.
Yep - as John says, you need a custom attribute. The Image / File attribute allows the user to select an Image / File from the File Manager. You're asking for a field that will upload an Image / File TO the File Manager.
Andrew wrote a nice tutorial on creating a custom attribute here:
http://www.concrete5.org/documentation/how-tos/developers/create-a-...
It should be enough to point you in the right direction.
Jon
Andrew wrote a nice tutorial on creating a custom attribute here:
http://www.concrete5.org/documentation/how-tos/developers/create-a-...
It should be enough to point you in the right direction.
Jon
Is there a way to use the file upload that exists in the form functions? It allows users to upload to the file manager without having a UID.