Documentation

Document Library customization

As of ThoughtFarmer 6 there are several configuration settings that you can use to change your document library experience.

Attachment title action on click

You can choose the action that occurs when a user clicks on an attachment title. The possible actions are that the attachment opens in the file previewer, or that the attachment is downloaded.
  1. Go to the Administration panelAdvanced options section > Configuration settings page.
  2. Type file in the Search config settings field to narrow the config settings results.
    6.7Admin8760File.png
  3. Find the config setting file.title.opens.file.viewer.
  4. Click in the Value column beside the config setting. The default setting is true.
    1. Select true if you want clicking on an attachment title to open the file previewer.
    2. Select false if you want clicking on an attachment to download the attachment.
  5. Click Save.

Maximum number of attachments before switching to compact view

By default, when 5 or less attachments are on a page, they show in a list with large-text links and icons. When more than 5 attachments are on a page, the attachments switch to compact view, with small icons and links.

Large View
6.7Admin8760LargeFileView.png

Compact View
6.7Admin8760CompactFileView.png

You can choose the maximum number of attachments on a page before it switches to compact view. You can also choose to always have files display in large view, or always in compact view. However, if you add a folder to any page, files on that page will automatically display in compact view, regardless of the value for this config setting.
  1. Go to the Administration panelAdvanced options section > Configuration settings page.
  2. Type files in the Search config settings field to narrow the config settings results.
    6.7Admin8760Files.png
  3. Find the config setting files.max.number.before.compact.view
  4. Click in the Value column beside the config setting. The default setting is 5.
    1. The number you enter will be the maximum number of attachments allowed before switching to compact view.
    2. Set the number to 0 if you always want attachments to show in compact view.
    3. Set to a large number (eg. 10000) if you always want attachments to show in the large-text links view.
  5. Click Save.