Hi,
I have developed a plugin with a simple text and longtext textboxes. For this plugin, it will need multiple file uploads.
How can I do this? Initially, I thought it was saving each file upload as a seperate object and then setting parent_guid to the plugin's GUID but I do not think it is working.
Can anyone share some light please? Example codes would be best!!!
Regards
Colin
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- DhrupDeScoop@Dhrup2000

DhrupDeScoop - 0 likes
- colinliu@colinliu

colinliu - 0 likes
- colinliu@colinliu

colinliu - 0 likes
You must log in to post replies.Where can we download your PlugIn to have a look ? If you're willing to share your code... someone else will certainly be willing to share some advice ;-)
Hi,
I do not have it for upload. But basically, what i have now is a text and textarea field. Now I need to allow this subtype to have multiple file uploads.
I can set the form to allow say 10 files, but this is not efficient and I'm sure Elgg has a better approach.
Im sure this is common and anyone that can share some advice would be great.
Thx
Colin
Can I presume, I need to create relationships if I needed multiple files for a given object?