Hi. How can we help?

Flat documents list

Last updated: 31 October 2022

Usage

[docman-flat category=123,321 category_children=0]

Result

Supported attributes

  • category: category ID(s) to list categories from (comma separated without spaces if adding multiple categories). You can go to Categories in DOCman backend, edit a category and see the ID in the URL. Optional, defaults to all categories.
  • category_children: Show documents from child categories. It can either be 1 (true) or 0 (false). Defaults to 1.
  • layout: Page layout. It can be one of table, list, or gallery. Defaults to table.
  • sort_documents: Document order. It can be one of title (title alphabetical), reverse_title (title reverse alphabetical), created_on (oldest first), reverse_created_on (Most recent first), reverse_hits (Most popular first), reverse_touched_on (Last modified first), or ordering (Custom order). Defaults to title.
  • show_pagination: Show documents pagination. It can either be be 1 (true) or 0 (false). Defaults to 0.
  • documents_per_page: The number of displayed documents per page. It can be a integer between 1 and 100. Defaults to 20.
  • show_document_search: Show document search. It can either be be 1 (true) or 0 (false). Defaults to 0.
  • show_document_sort_limit: Show sort and pagination limit controls. It can either be be 1 (true) or 0 (false). Defaults to 0.
  • show_document_created: Show document creation date. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • show_document_created_by: Show document creator name. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • show_document_modified: Show the date when the document was last modified. It can either be be 1 (true) or 0 (false). Defaults to 1.
  • show_document_filename: Show the document file name. It can either be 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_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.
  • track_download: Enable document download tracking. It can either 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.
  • allow_multi_download: Allow multiple file download. It can either be 0 or 1. Defaults to 1.
  • download_in_blank_page: Open download links in new tab. It can either be 1 (true) or 0 (false). Defaults to 0.

The ID of each category gets displayed on the last column of the DOCman categories admin list.