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
Currently it is not possible to add a description to fieldsets created by Field Group because the option is simply not available in the settings form.
Proposed resolution
Add the option to enter a description to the settings form of the "Fieldset" formatter.
Front end view
I'd suggest rerolling the patch without the ID.
Comment | File | Size | Author |
---|---|---|---|
#5 | enable_description_for-2794055-5.patch | 702 bytes | welly |
#5 | Screenshot 2016-10-01 22.31.40.png | 52.56 KB | welly |
#5 | Screenshot 2016-10-01 22.31.55.png | 120.49 KB | welly |
#2 | field_group-enable_fieldset_description-2794055-2.patch | 1.01 KB | stBorchert |
Comments
Comment #2
stBorchertSimple patch ...
Comment #3
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedOk to add the description. But why is there an id generated? We removed that because a lot of people didn't want ids. That's why that setting was added.
Comment #4
stBorchertWithout the ID I got an error on render so I added the fallback.
Comment #5
welly CreditAttribution: welly at PreviousNext commentedI've tested this patch and not able to reproduce the error that occurs without the ID. I removed the ID from the field and it works as described. Rerolled the patch with the id removed.
Comment #7
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedThx for the new patch. I committed it to dev.