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.
Would it be possible to substitute the collapsible form item used for submitting images into a more "classic" field?
IMO a normal field is more friendly and would integrate better with all other fields into submission forms (or well, maybe is just me...!)
Comments
Comment #1
Cainan CreditAttribution: Cainan commentedIts simple to do, if a lil kludge-ish
create a file called zzzz.module (you have to do this as modules are loaded in alphanumerical order.)
in the file, add the following:
This should fix it as you wish.
Comment #2
Cainan CreditAttribution: Cainan commentedmind you that is the bare minimal needed. you should research the Form API to see how to do it better.
Comment #3
dopry CreditAttribution: dopry commentedThe fieldset/collapsible fieldset is there to support fields with multiple image support. Feel free to override the theming function, or use form_alter to change the form appearance. If you have alternative UI suggestions feel free to post them as a patch, and people can give their opinions. I'll close the issue in a week if a patch for an alternate ui isn't provided.
Comment #4
marcoBauli CreditAttribution: marcoBauli commentedno coder here, so no patch coming soon.
Still thank you coz now i got what to change in the code to do the trick ;)
cheers
Comment #5
dopry CreditAttribution: dopry commented