The files listing in Provus - shouldn't it render the PDF/File description, not the file name?

Created on 28 October 2024, 25 days ago

Problem/Motivation

Users should be able to add a description and alter the name of the Document media being uploaded.

Proposed resolution

  1. If you go to Document media’s manage form display ( /admin/structure/media/manage/document/form-display ) you can see that the Name field is disabled on both default and media library displays. Please enable this.
  2. If you go to the Document media’s manage field (/admin/structure/media/manage/document/fields/media.document.field_media_document) enable the description field.
  3. Alter the twig template of the File List component so that it shows the name and description field if it’s available, fallback to the filename if the name isn’t available.
🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇵🇭Philippines _renify_ cebu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024