The image below shows a field collection I have made with 3 fields. One the left of each collection item is a drag handle. You can re-order content using these handles.
Drupal Profile2 / Field collection sorting records
-
04-10-2022 - |
سؤال
As continuation of this article Drupal nested / complex / sub content types I have a new question.
As described, using Profile2 and Field collection I've managed to create multi-user CV management system:
- Created a content type called CV.
- Added a field_collection field to CV called education and allow unlimited entries.
- Edited the education field_collection item and add a date field and a text field.
- Did the same for work experience and any other fields.
Unfortunately, users should be able to reorder the records (date-text), e.g. to put some of the entries before others. For the moment being they appear in the order of their input.
How to achieve that?
Thank you!
المحلول
لا تنتمي إلى StackOverflow