-
Notifications
You must be signed in to change notification settings - Fork 637
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
Multiple files with labels #822
Comments
Right now there's no easy way to do what you're describing. Files are attached to One way to solve your problem is to introduce a way to define collection of fragments. Here's what I'd imagine it would look like:
Then you somehow pull This feature is on the roadmap for version 2.1 For now you can always define tags like |
Just a note on "metadata" for attachments: the current "best practice" approach is to introduce another custom attachment model for your app which has exactly one active storage attachment. Your model can then hold any metadata you require. We did that in two projects where we needed metadata (sort order and permission information) and it worked quite well. :) |
Hey @GBH - how is that thing with collections going? Has this been implemented in any way? As i can't find anything related to |
@mbajur unfortunately it's a non-trivial feature to add. If you have a requirement to support collections in some way, I suggest digging into Tag code and creating your own custom tag that can render form fields and save data. |
Is it possible to have multiple files on a page, each with its own label. The examples don't show an option of giving editors the ability to attach multiple files, each with their own label, or even alt text for that matter.
For example, if I am making a list of case studies. Some will have 3 reports, each titled, some will have 2 downloadable drawings, each titled.
Currently the only way to make it work seems like creating these as child pages. Is that the recommended approach?
The text was updated successfully, but these errors were encountered: