I want to create some contents throught this form plugin. I found that it can be only done with this script
Maybe it has something to do with this?
http://blog.elgg.org/pg/blog/brett/read/186/elgg-1710-released
Hi Ruben,
Not quite. The idea was to define a function for group profiles that was flexible enough to handle a different profile for every group. But it is not implemented yet and so the first argument is thrown away. The second argument is used though, so you can define a different profile for every group category.
The first argument to form_get_latest_public_profile_form is not the group but rather a constant specifying that this a group profile. I have actually defined those elsewhere so I think this should be the proper code:
function flexgroupprofile_get_profile_form($entity='',$group_profile_category='') {
return form_get_latest_public_profile_form(FORM_GROUP_PROFILE,$group_profile_category);
}
I have modified my own copy accordingly. Thanks for the bug report!
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.