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.
With IMCE source enabled, the user must first click "File Browser" and then click "browse" to open the IMCE dialog.
This is really confusing and a poor UX.
IMO, the IMCE dialog should open immediately when clicking "File Browser."
Comment | File | Size | Author |
---|---|---|---|
#2 | FileField Sources Options.jpg | 40.37 KB | arlinsandbulte |
Comments
Comment #1
quicksketchThis was the behavior initially but I removed it to make IMCE's behavior consistent with the other sources, none of which automatically open or select a file just by clicking on the source. If a user is just starting with the system, it's jarring to have the popup appear while switching between the various sources to see what they do.
Comment #2
arlinsandbulte CreditAttribution: arlinsandbulte commentedHmmm. Yeah, I can see what you mean. But actually, the other sources DO show their UI immediately.
The difference is that IMCE is a separate dialog window because it is just too big to pop-up and show the other UI sources.
Admittedly, I am coming from the viewpoint that IMCE could be the ONLY source I want to use. If we would disable the rest, maybe then IMCE could more readily pop-up with a single click. Attached is a screenshot from #877452: Enable uploading and deletion through IMCE that demonstrates this.
Comment #3
arlinsandbulte CreditAttribution: arlinsandbulte commentedActually, now that I think of it, if we could impliment the mock screen-shot in #2, my goal would be automatically achieved.
If IMCE File Browser is the only source option checked, it will be the only option & only one click is needed to open the IMCE dialog.
Comment #4
arlinsandbulte CreditAttribution: arlinsandbulte commentedThought I found the solution:
Change Line 107 of filefield sources.module
From:
$sources = filefield_sources_list(FALSE);
To:
$sources = filefield_sources_list(TRUE);
That DOES change the options exactly as I outline above in #2, but it does not actually remove the default upload widget.... But, it gets me half way there!
Comment #5
quicksketchRegarding #2, let's merge with #879902: Disable upload widget for special cases. As mentioned, the initial suggestion in this issue has been vetoed.