Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I use both Display Suite and Field Group.
When on manage display page place fields into a group, they order seems to be ignored when rendering.
For example, if the structure was:
My_Group
Comment
Links
it is rendered to:
My_Group
Links
Comment
Comments
Comment #1
Derimagia CreditAttribution: Derimagia commentedI've run into this issue as well. I believe it has something to do with the fact that both links and comments are set to use DS_FIELD_TYPE_IGNORE which is not playing nice with field groups and weights.
I was able to work around this by Implementing hook_ds_fields_info and then unsetting display suite's info for comments and links and use hook_field_extra_fields to add them back.
Comment #2
zmove CreditAttribution: zmove commentedSame issue here with the latest version of display suite and fieldgroup, so I think it's not fixed yet.
The issue appears with the comment field in a group, I can place it at the end of the fieldgroup, it's displayed first.