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.
Problem/Motivation
It appears that Field Group does not work on a custom Display Suite Layout. This may or may not be related to #2557877: Fields are not grouped when render element key is not elements since I am using the render element
content
. Although the work around does not seem to work with Display Suite.
Comments
Comment #2
jpamental CreditAttribution: jpamental commentedI'm experiencing the same issue. I've tried using it without setting a layout with DS and it works great, but as soon as I select a layout (one column or reset), the grouping element never gets applied. It's unfortunate because the combination of the wrapping element (and the ability to add classes) paired with the ability to customize markup on fields (using DS Extras) is really powerful.
Comment #3
aspilicious CreditAttribution: aspilicious commentedJust a note that field_group and DS maintainers potentially are in the same building on friday/saturday. So maybe this is all solved by the end of the weekend.
Comment #4
jpamental CreditAttribution: jpamental commentedWell that would be pretty cool! I wish I knew more about how to work on it, but at the very least am happy to review & test! This is a pretty important piece of the puzzle for me with D8.
Comment #5
Stalski CreditAttribution: Stalski commentedI know Nils (zuuperman) is working on it. I won't be at drupalcamp myself. sorry.
Comment #6
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedClosing this 1, as this was a duplicate of #2557877: Fields are not grouped when render element key is not elements and is now fixed.