Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Currently the file type allowed by default is only txt. When adding a file field using the file selector I always have to change this? Am I doing something wrong or is this a usability no-no? The media browser allows a megaton of formats by default. Why not the file selector?
Comments
Comment #1
Devin Carlson CreditAttribution: Devin Carlson commentedThe media field should use the same list of default file types as the media browser.
I just tried using a fresh install of Media 2.x-dev and it worked as expected (maybe this was fixed at some point), so you might want to update to the latest development release of media and see if new fields receive more sensible defaults.
Comment #2
Dave ReidThat's the default allowed by core file fields (see 'instance settings' on http://api.drupal.org/api/drupal/modules--file--file.field.inc/function/...). I guess we could alter this behavior but I'm hesitant to do so. Re-opening for discussion.
Comment #3
dddave CreditAttribution: dddave commented#1783186: "Allowed file extensions" not used when new file field added to a content type, defaults to txt only
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team