Skip to content
Bryan Hazelbaker edited this page Jun 11, 2013 · 2 revisions

Drupal Convert File admin settings

Help text
  • Module File will try to offer helpful tips and navigable links at the top of various pages. These can be turned off by disabling this checkbox.
Private download
  • Drupal normally determines the access permissions of a file based on the content it is associated with. When backup files are made they are not attached to any content, this will present a problem when the backup file is located in a private file system. Because no content is associated with the file Drupal will be unable to determine which user's have access to the backup file, and access will be denied to all. This behavior can be altered by checking the Private download checkbox. When this is checked Convert File module will inform Drupal if the current user has access to the backup or not. Access is granted if the current user's id matches the user id associated with the file, if the user is the admin user, or if the user has been granted the download private backup files permission.
Inline convert
  • Any managed file element, regardless of its field instance configuration, can have small convert selection drop downs and button directly underneath. This inline form is made to facilitate the conversion of existing files on an individual basis. The inline form will only be available if this option is checked. Additionally, a user must have the convertfile use inline conversion permission to see the form.
Inline revert
  • This feature is not yet implemented.
Convert to backup
  • The default operation is to replace the existing current file with a converted version. All content that point to this file continue to point at the same file identifier. The file itself is changed on disk and its new properties updated in the database. Before the file is changed on disk, a managed copy is made. This copy is an exact duplicate of the original before conversion and saved with a different file identifier in the database. The connection between the newly converted original file identifier and the newly created backup file identifier is maintained with a conversion entry in a the conversion_backup table. The default option can be made to perform the conversion on the backup file made, rather than the original if the Convert to backup is checked. When this option is checked drupal would seem to handle and display files just as normal. Only special field formatters or programmatic functions will allow access to the backup file that is now in a new format from the original.
Clone this wiki locally