Hello UNA team,
I would like to offer an approval-based submission for organization profile creation.
While creating their profile, I would like organizations to upload documents in .pdf, .docx or.jpeg for business verification (.eg. company constitution or articles of association, partnership agreement, certificate of incorporation, certificate of nonprofit registration etc). Upon review, we will approve or reject their Profile creation.
The moderation of our Organization module is already set to: 'Activate manually after creation and editing'.
So, how to create a file uploader on the create organization's profile form? And how will the admin view or receive the uploaded files? Where will those be saved? Will the user still be able to view or have access to the files they uploaded?
Thanks
Hello @OneEagle !
Sorry, but for now, for the proper work with the files, there should be the code's modification to process the uploaded files.
Hello Dear @LeonidS
Thanks a lot for your reply. After a deep search I came across this page: https://unacms.com/wiki/Dev-Uploaders
What do you say about those Dev Uploaders?
Thanks
Yes, this is what I mean - some work with the code and DB.
Hi @LeonidS Would you mind guiding me into this?
In Forms > Fields > Organizations > Add Organization, which field should I add? 'nested form' or 'file'? Also where in that field should I place the code described here: https://unacms.com/wiki/Dev-Uploaders
>Also where in that field should I place the code described here: https://unacms.com/wiki/Dev-Uploaders
In this your case, it means to edit the file with the module's form - modules\boonex\organizations\classes\BxOrgsFormEntry.php
But this is not good to edit the default files so it's better to have own module which will have own upload form. It will have the service methods to draw the add / edit form which you will paste to any necessary place.