Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UX] Move file type settings to Configuration > Media #4583

Open
jenlampton opened this issue Aug 30, 2020 · 7 comments
Open

[UX] Move file type settings to Configuration > Media #4583

jenlampton opened this issue Aug 30, 2020 · 7 comments

Comments

@jenlampton
Copy link
Member

I just discovered the File type settings page at admin/structure/file-types/settings and thought it looked similar to the settings on admin/config/media/file-system.

Would it make more sense to people to put all their settings for uploaded files in the same place? I understand that one is settings for files in general, and the other is for file_entity settings, but I'm not sure the average person would know the difference (or care?)

feedback welcome!

@klonos
Copy link
Member

klonos commented Aug 30, 2020

The former applies to file types, while the latter to the file system settings. I wouldn't object consolidating those though. So 👍 from me.

@olafgrabienski
Copy link

Would it make more sense to people to put all their settings for uploaded files in the same place?

Not sure, but there is one more place which might make it more difficult: In text format configuration (e.g. admin/config/content/formats/filtered_html) you can "Enable file uploads", set an Upload directory and more. It's quite hidden, and I often forget this option when building new sites.

@klonos
Copy link
Member

klonos commented Aug 30, 2020

...there is one more place which might make it more difficult: In text format configuration...

That should be a separate UX issue @olafgrabienski. The settings you are referring to are per-format, so that each text format may have its own settings for images/files. That means that they can't be all in the same place.

@olafgrabienski
Copy link

The settings you are referring to are per-format, so that each text format may have its own settings ...

Yep, that's why I see the goal to "put all their settings for uploaded files in the same place" as difficult. Maybe it's even not possible if we consider text format settings. I mentioned them however here to make us aware of them in the given context.

@klonos
Copy link
Member

klonos commented Aug 30, 2020

@olafgrabienski #4585 😉

@schoenid
Copy link

schoenid commented Mar 25, 2022

I can partly see the problematics, but as user, I would be happy, if all the required directories could be configured on the same place, like a path configuration module, which then could contain entries for:

  • Upload paths for CKEditor
  • IMCE directories
  • File field paths
  • and more ...

This would give us globally usable paths, which then could be used by any other module or field. The specific modules are then required only, to use one of the available paths. If none for specific needs would be available, a new one could simply be added. The module File (Field) Paths could be directly integrated here, to give more freedom. I would see the settings on admin/config/media/file-system.

Maybe this must be realized in steps

  1. add a path configuration module
  2. upgrade CKEditor to use it
  3. upgrade IMCE ...
  4. write a wiki, how to use it
  5. notify contributors of other modules to upgrade

However, I'm maintaining currently a website with 50+ users (amount is growing) which are creating content using CKEditor, so the site has already thousands of pictures in the image upload directory and hundreds of files in the file upload directory, which makes it nearly impossible, to find anything and it slows down the server.

I would be happy, if I could spread the images and files to content related directories, so a content for a specific group or book could be stored under its names directory.

I could help in manual testing and documentation.

@jenlampton
Copy link
Member Author

I really dislike that the destination of files uploaded via the editor is configured on the text format pages. I'd prefer that those be moved somewhere else (and a link added in the text format section). I still think that Configuration > Media is the right place for those.

Then, if any other module (like IMCE) wants to define where other files can go, they could form-alter that form to add their own settings.

I would also like to see more options for where files uploaded via the editor can go, like the ability to change the location based on content type.

I'm not sure yet how to make that happen, but I think it would be possible for a contrib module to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants