File plg_fields_bffile

plg fields bffile1
plg fields bffile1plg fields bffile2plg fields bffile3plg fields bffile4

This plugin lets you create new fields of type 'file' in any extensions where custom fields are supported.

The following parameters are available:

Download Class
The class which wraps around the download button (category can override).
File Extensions
List of allowed file extensions (category can override).
Leave blank for unrestricted.
Common examples:
  • zip gz rar
  • pdf
URL Target Window
Defines how the URL linked to the file will be handled (category can override).
When set to Automatic the plugin will make its own decision based upon the file suffix. This is often sufficient, examples of other usages include:
  • For zip, rar files - Download
  • For pdf files - New Window (or Parent)

WARNING This plugin changes the value field of the fields_values table from TEXT to LONGTEXT. Future updates to the com_fields extension may undo this change and corrupt the data stored by this plugin. See Joomla issue 19618.