Have just installed the forms plugin ver 0.86 on ELGG install ver 1.7 and now when you create a new field, with field type of pulldown, list your various options and then save, the pulldown list seems to be saved in a completely random order (different to what was entered)?
Was previously using ver 0.82 (I think?) on ELGG 1.6.1 and didn't have this issue.
Any ideas?
Also, any plans of adding export/import functions to this plugin? The site I'm currently working on has 350 user profile fields!!!
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.
350 profile fields? How can your users manage such a profile?
No idea on the pulldown list. Will look at it when I get a chance.
Import/export is possible but would need to be funded by someone.
Thanks Kevin.
Will send email regarding import/export.
Hi Kevin, just wondering if you've had a chance to look at this sorting order problem? It also seems to be ignoring the default value field as well with pull down lists.
The sorting order problem is a bug in core Elgg as described here:
http://trac.elgg.org/ticket/2126
You can fix it yourself by changing this line in engine/lib/metadata.php (function get_entities_from_metadata):
$options['order_by'];
to:
$options['order_by'] = $order_by;
The default value works fine for me. Can you give me a value that does not work for you?
Have made that change and now working fine. Now that the sort order is correct the default value seems to be working as well (I usually set the first option as '-' in the list so that nothing is selected by default).
Thanks so much Kevin.
Maybe I spoke too soon.
If I edit a profile, choose an item from the pulldown list, select Save, the correct item then shows on the profile page. If I choose edit profile again, the pulldown field defaults back to the first item on the list rather than the one selected previously.
Text fields, radio buttons, check boxes etc... seem to work ok, just the pulldown lists are doing this.
Any ideas?
Any update on this? Is anyone else also experiencing this problem?
Cheers.
Any chance of getting this looked at Kevin?
This is a bug in core Elgg, introduced in Elgg 1.7.1. The patch is described here:
http://trac.elgg.org/ticket/2171
- Previous
- 1
- 2
- 3
- Next
You must log in to post replies.