• Resolved warmaster10

    (@warmaster10)


    Hello.
    I am interested in buying a plugin. I have a question:
    Is it possible to change the path or folder where the generated pdf file is saved?

    I would also like to see the user only link to the PDF and not the file itself. (personal data).
    Is this possible?

Viewing 1 replies (of 1 total)
  • Plugin Author maximum.software

    (@maximumsoftware)

    Hi,

    Please see the PDF option “Save PDF file on the server at the given path relative to wp-content/uploads”. If you set the path to “my-files” then your PDF files will be saved in “wp-content/uploads/my-files”. You should also set the “Filename” option to a tag that identifies the user submission, such as “[_serial_number]”.

    I am not sure exactly what your second question is. I assume you would like to provide a link to the generated PDF to the user. A solution might be to save the generated PDF in “wp-content/uploads/my-files” with filename “[_serial_number]” (as described above) and creating a link to “your-website.tld/wp-content/uploads/my-files/[_serial_number].pdf”. You can add this link in the email message CF7 sends to the user or you can provide it to the user in some other way. If you would like the link to be accessible only to the user which made the form submission then you can set it up such that only that user can guess the link. Make sure the save directory has indexing disabled and set the filename option to something that is hard to guess. You can either use mail-tags in the filename that contain some user-supplied private information or you can possibly use Contact Form 7 Dynamic Text Extension plugin to create a mail-tag with a random number.

    Let me know if that helps or not.

    Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Change save folder location & send details’ is closed to new replies.