Hi. How can we help?

Attach documents

Last updated: 31 October 2022

Usage

[docman-attachments documents=123,132,321 layout=table download_in_blank_page=1]

Result

Supported attributes

  • documents: Document IDs to attach, separated by comma. Required attribute.
  • layout: Page layout. It can be one of table, list, or gallery. Defaults to table.
  • show_document_hits: Show document downloads. It can either be 1 (true) or 0 (false). Defaults to 1.
  • show_document_extension: Show document extension. It can either be 1 (true) or 0 (false). Defaults to 1.
  • show_document_size: Show document size. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • show_icon: Show document icon. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • show_document_created: Show document creation date. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • force_download: Force document downloads (no browser preview). It can either be 0 or 1. Defaults to 0.
  • download_in_blank_page: Open download links in new tab. It can either be 0 or 1. Defaults to 0.

The ID of each document gets displayed on the last column of the DOCman documents admin list.