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.
Once uploaded a file using File Browser the file is been saved to the default folder even if separate File directory destination is given in the field settings
Comments
Comment #2
samuel.mortensonThanks for the report @sajiniantony - the uploading functionality of this module is actually provided by DropzoneJS, so I'm going to move this issue to that queue.
Comment #3
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedIf by field settings you mean settings on the file field on the entity, that's by design with Entity Browser. It's confusing I agree, but Entity Browser is still in development and this will be addressed sooner or later.
Now to solve your problem: to set a different upload location, you need to set this on the entity browser side. For now you need to change the Entity Browser's yml file manually, but the config form for the widget is being implemented - see #2671914: Implement EB configuration UI.
Comment #4
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedComment #5
sajiniantony CreditAttribution: sajiniantony commented@Primsi
Infact I am using File Entity Browser as well.So without creating a new Entity Browser I used the the default Entity Bowser supplied by the File Entity Browser module.
I tried to get the upload location in the Entity Browser module.But no luck so far.Please advice.
Comment #6
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedAs stated above #2671914 needs to get to have a UI to configure this.
If you want to change this now, you need to update entity_browser.browser.nameofthebrowser.yml The yml structure should look like:
This is ugly, but until the mentioned ticket gets review this is the only way to do it.
Comment #7
sajiniantony CreditAttribution: sajiniantony commentedThanks for the reply.
Comment #8
Primsi CreditAttribution: Primsi at Examiner.com for Examiner.com commentedClosing as fixed. Reopen if needed.