Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I have a form that I am opening in a modal via a link.
I use this form to both add notes and also display them in a table (adding notes and displaying notes in table happens in same form).
In my form I have a ajax callback that I use to add notes, when the submit button is fired.
When my form is submitted, I would like to keep the modal open, but rebuild the table so that the changes are reflected (user can see the note they added in the table).
I am installing Drupal on cPanel via Installatron, and keep getting the MYSQL ERROR 1146 installation error, when trying to install any version of Drupal 8.
I have been able to successfully install Drupal 7, however.
I'm using the core media field with media library to upload files to a node. After uploading, it prompts me to name the file entity. When displaying the node I'd like to be able to display the name as I entered it during the upload process, linked to the file itself (not the file media entity), with an icon describing the file type (PDF/DOCX/etc).
Is there a way to achieve this? I feel like I'm missing something obvious.