I was creating a social network for foodies using elgg 1.8 and I need to modify the file uploading form so that it allows for more fields other than description and title. I found the plug-in flexfile however the author hasn't released one for elgg 1.8. Anyone has any idea how to do this? Would it be possible to modify the source code of elgg or the plug-in to do this? Thanks.
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.
- Team Webgalli@webgalli

Team Webgalli - 0 likes
- http://docs.elgg.org/wiki/Plugin_development
- http://docs.elgg.org/wiki/Engine/Views#Overriding_views_in_plugins
- http://docs.elgg.org/wiki/Actions
- Vo Tuan Kiet@Kietxichlo

Vo Tuan Kiet - 0 likes
You must log in to post replies.Donot edit the elgg core codes, create a new plugin. Copy the file upload.php form from this into your plugin's (You need the skelton ready for it). See http://docs.elgg.org/wiki/Plugin_development
mod\my_plugin\views\default\forms\file\upload.php
Now you can edit this file. Make sure you place it below the files plugin in the plugin list in admin panel.
Now unregister the file upload action and register yours so that it catches the extra inputs and saves it on on the file.
A few links usefull for you,
Thanks very much. I will give it a try and let you know if it works