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.
The default values are very useful, but I can't seem to change the order they're in. Also there doesn't seem to be a logic to the sort order of these fields. Changing them in 'manage fields' or 'manage display' settings of the nodetype doesn't change anything.
It would be nice if there was a way to determine the order of the default fields. Even better would be to just use 'manage fields' settings.
Comment | File | Size | Author |
---|---|---|---|
#6 | media_fields2.png | 39.91 KB | adam_b |
#4 | manage-fields.png | 182.54 KB | adam_b |
#4 | bmu.png | 47.38 KB | adam_b |
#3 | bulk_media_upload.code_.1873158-3.patch | 676 bytes | clemens.tolboom |
Comments
Comment #1
Dries ArnoldsOh and now that I think of it, it would also be convenient to be able to exclude some fields from default values.
Comment #2
adam_b CreditAttribution: adam_b commented+1 - I'm excluding some fields with CSS {display: none} but some interface for re-ordering/hiding them would be a help.
Comment #3
clemens.tolboomAttached patch adds the field group info. It looks ok but needs testers.
Comment #4
adam_b CreditAttribution: adam_b commentedTried the patch in #3 but it doesn't work with my fieldgroups.
Any field which isn't at the top level of the "Manage fields" interface doesn't appear on the screen - I've configured a tab structure which puts the fields a couple of levels below fieldgroups, so "Default Values" is blank.
See attached screenshots - the "Picture type" field was originally under "Media info", but I moved it up to the top level to make it appear in this instance.
Comment #5
clemens.tolboom@adam_b have you tried with just one level field group? I know @Pixelstyle has tested the patch from #3 which had iirc just one level.
Comment #6
adam_b CreditAttribution: adam_b commented@clemens.tolboom: sorry, it doesn't work for me. I set the fields as shown in the attachment (you'll see the original setup below), so Picture type and Caption should be visible in the BMU interface - but neither is. I cleared the cache, but that didn't make any difference.