Support » Plugin: Pods - Custom Content Types and Fields » Unable to delete file uploaded with file type

  • Resolved maxi032


    If I upload a file using the file type field I am unable to delete the item from the pods item page. The relation between the item and the uploaded file breaks only if I go to media library and delete the file manualy.
    If I press Add file 10 times and add the same file I end up having 10 files on the pods item page even if the file type is single file.
    My expectation was to have the first file erased every time I click on Add file

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Scott Kingsley Clark


    What settings do you have set for your file field under the ‘Additional Field Options’ tab in the field editor?

    And what version of Pods are you using?

    Thank you for your quick reply.
    Under additional field options I have:

    Field type: Single select
    File uploader: Attachments (WP Media Library)
    Attachments Default tab: upload file
    Editable title: yes
    Restrict file type: other
    File extensions: pdf,doc,docx

    I am using Pods 2.3.8

    Plugin Author Scott Kingsley Clark


    The field can only accept one upload, but you can upload as many files as you’d like into the media library itself, which is what that popup you’re seeing is. Alternatively, you can use the ‘Plupload’ option, which is only an uploader, no media library popup.

    There are no options for customization of the media library popup’s ability to upload a specific number of files. But there are options for limiting the number of files that can be ‘selected’, which is what it currently does. Let me know if you have any other questions.

    I’m having the same issue that maxi032 described. It’s not a matter of how many files can be uploaded, but rather the ability to remove them from the pods item afterward.

    Using pods, I created a custom post type called “artists” and one of the fields uploads an image for a sample image of each artist’s work. If I edit an artist’s entry after creating it I can add a new image but it won’t remove/replace the previous one. Suggestions?



    Forum Moderator

    @tim Harrington: If you require assistance then, as per the Forum Welcome, please post your own topic. This topic references an old version of WordPress.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to delete file uploaded with file type’ is closed to new replies.