I'm using the eRecruiter profile and the Profile2 type Resume needs a way to let users reorder the education field which is a field-collection item. This can be done with the edit page (resume/%/edit) but not the resume view page which is what the user has access to. It is acceptable to add a weight field to each field collection form, but I'm not sure how to convert that weight to the field delta for each field collection item using a hook or a Rule.

Comments

jmuzz’s picture

Issue summary: View changes
Status: Active » Fixed

I think you want to implement hook_profile2_presave . You should be able to reorder $profile->field_name[language] in that function.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.