Force download filesLast updated: 21 November 2022
You can set DOCman to force the download of your documents files rather than displaying them in the browser. This is configurable for DOCman flat list, hierarchical list, tree list and attachments blocks depending on how you are adding these blocks into your content:
- Gutenberg editor: this is available as a parameter in the block settings (Force download all files under the Document options section).
- Shortcodes: you need to add the
force_downloadparameter value set to
[docman page_category=123 force_download=1].