By shaileshghadge on
Hello,
Currently, I understand the way to delete a file via Drupal Admin Panel is:
- Install drupal/file_delete
- Edit 'Files' section view, & add Field ‘Link to delete’
- Manually Remove File from all associated pages,articles (else, delete operation will fail)
- Manually Delete all revisions, (else, delete operation will fail)
- Then click Delete in 'Files' section of respective file
Is there any way to reduce the above steps?
Can File associations rule be ignored, so that there is no need to manually remove file associations in active version & revisions of articles/pages?
Comments
You can do it with core alone
You don't need the File Delete extension.
That's it.
- gisle
Could not find the file attached list section
Thanks for replying.
Pl note, these are mainly image files that I need to delete(currently). Most of which are inline in Article body.
I could only find the 'removed button' for 'featured image', at the bottom of the Node's 'Edit mode interface'
I searched few articles regarding showing attachment list, but they seemed focused on pdf,etc.
How are you inserting the files into the body?
The recipe I gave were for deletilgang file attachments. Inline image is a different story and depends on how they are inserted (IMCE, CKEditor, etc.)
- gisle