Table Of Contents
 

CF_FileManager Attributes

Author : Daniel Mackey Email : dan@digital-crew.com
  Name Type Description Required Default
Database Attributes
  DescriptionDatasource String The datasource pointing to the table holding the file and folder descriptions data NO  
  DescriptionPassword String The password to the datasource pointing to the table holding the file and folder descriptions data NO  
  DescriptionUsername String The username to the datasource pointing to the table holding the file and folder descriptions data NO  
Debug Attributes
  Debug Boolean (TRUE | FALSE) Show the hidden work iframe to debug the application NO False
  ShowDebugUploadMessage Boolean (YES | NO) Show debug information when a file is uploaded NO No
Display Attributes
  Height String The width in pixels or percentage of the rendered file manager NO 100%
  ShowDate Boolean (YES | NO) Show the file date column when rendering the file manager NO Yes
  ShowDescription Boolean (YES | NO) Show the file or folder description (see : Database Attributes) NO No
  ShowMouseButton Boolean (YES | NO) Show a button on the toolbar as an alternative to right-clicking. NO Yes
  ShowSize Boolean (YES | NO) Show the file size column of the file manager NO Yes
  ShowStatus Boolean (YES | NO) Show the status bar of the file manager component NO Yes
  ShowTitle Boolean (YES | NO) Show the title of the file manager when rendered NO Yes
  ShowToolbar Boolean (YES | NO) Show the toolbar when rendering the file manager NO Yes
  ShowType Boolean (YES | NO) Show the file type column when rendering the file manager NO Yes
  Style String Name of the style to use when rendering the file manager NO Default
  Title String The title of the file management component NO CF_FileManager
  Width String The width in pixels or percentage of the rendered file manager NO 100%
Extensibility Attributes
  DblClick_actions Comma delimited list List of actions to perform when a file double clicked (Used with DBLCLICK_EXTENSIONS and DBLCLICK_TARGETS) NO  
  DblClick_extensions Comma delimited list List of extensions to perform a custom action on when double clicked (Used with DBLCLICK_ACTIONS and DBLCLICK_TARGETS) NO  
  DblClick_targets Comma delimited list List of targets (POPUP or IFRAME) to perform a custom action in when double clicked (Used with DBLCLICK_ACTIONS and DBLCLICK_EXTENSIONS) NO  
  SelectFileJSFunction String Name of javascript function to be called when component being used as a file selector (See : SELECTFILEMODE attribute) NO  
  SelectFileMode Boolean (YES | NO) Use the file manager as a file selecting tool NO No
Formatting Attributes
  DateFormat String The mask used to format dates NO yyyy-mm-dd
  NoDescriptionText String The text to place in the description column when a file or folder doesnt have a description and SHOWDESCRIPTION is turned on NO -
  TimeFormat String The mask used to format time objects NO hh:mm:ss tt
Permission Attributes
  AllowAddFolder Boolean (YES | NO) Allow users to create sub folders NO Yes
  AllowCopy Boolean (YES | NO) Allow users to copy files and folders NO Yes
  AllowCopyShortcut Boolean (YES | NO) Allows users to copy the relative path of a file or folder into the clipboard NO No
  AllowCut Boolean (YES | NO) Allow users to move files and folders from one folder to another NO Yes
  AllowEditFiles Boolean (YES | NO) Allow users to edit text based files (See TEXTEDITLIST attribute) NO Yes
  AllowEditFiles Boolean (YES | NO) Allow users to edit files NO Yes
  AllowEditImages Boolean (YES | NO) Allow users to edit (Resize and Crop) image files (See : IMAGEEDITLIST attribute) NO Yes
  AllowFileDelete Boolean (YES | NO) Allow users to delete files NO Yes
  AllowFileDownload Boolean (YES | NO) Allow users to download files NO Yes
  AllowFileProperties Boolean (YES | NO) Allow user to view file properties NO Yes
  AllowFileRename Boolean (YES | NO) Allow users to rename files NO Yes
  AllowFolderBrowsing Boolean (YES | NO) Allow users to traverse through sub folders NO Yes
  AllowFolderDelete Boolean (YES | NO) Allow users to delete folders NO Yes
  AllowFolderProperties Boolean (YES | NO) Allow users to view folder properties NO Yes
  AllowFolderRename Boolean (YES | NO) Allow users to rename folders NO Yes
  AllowRefresh Boolean (YES | NO) Allow users to refresh the contents of the file manager component NO Yes
  AllowSort Boolean (YES | NO) Allow users to sort files and folders NO Yes
  AllowUploadFile Boolean (YES | NO) Allow users to upload files NO Yes
  FileFilter Comma delimited list A list of files to hide NO  
  FolderFilter Comma delimited list A list of folders to hide NO  
  LockedFolderFilter Comma delimited list A list of folders to mark as locked. Locked folders can not be modified or traversed NO  
  LockRootFolder Boolean (YES | NO) Disables action to be performed in the root folder. Only sub-folders can be modified. NO No
  UploadAccept String List of MIME types allowed for upload. Use blank for any file/ NO See below for list
Required Attributes
  Folder String The root folder used by CF_FileManager to display files and folders from YES c:\
Setting Attributes
  FileDescriptions Comma delimited list List of name value pairs describing a files extension NO See Below
  FolderMask String A name to appear in place of the root folder NO ATTRIBUTES.FOLDER
  ImageEditList Comma delimited list List of file extensions allowed to be edited as an image (See : ALLOWEDITIMAGES attribute) NO jpg,png,gif
  Language String The language used in the file manager component NO English
  NameConflict String When uploading a file and a name conflict occurs, use either OVERWRITE or MAKEUNIQUE NO MAKEUNIQUE
  ShowHiddenFiles Boolean (YES | NO) Show hidden files NO Yes
  ShowHiddenFolders Boolean (YES | NO) Show hidden folders NO Yes
  ShowProgressOnUpload Boolean (YES | NO) Show a progress bar while uploading files NO Yes
  TextEditList Comma delimited list List of file extensions allowed to be edited as text files (See ALLOWEDITFILES attribute) NO txt,cfm,css,js,htm,html,log
  UseIESafeDownload Boolean (YES | NO) IE Only Attribute to prevent the Security Prompt when downloading a file NO Yes
  UseProFlashUpload Boolean (YES | NO) Use CF_ProFlashUpload to upload files instead of default CF_FileManager uploader. NO No Requires a license for CF_ProFlashUpload

Upload Accept Default Values

application/vnd.ms-powerpoint,text/xml,audio/wav,application/x-zip-compressed,application/octet-stream,image/jpeg,image/gif,image/jpg,image/png,text/html,text/plain,application/x-javascript,text/css,image/pjpeg,text/plain,application/msword,application/pdf,application/rtf,application/mspowerpoint,application/x-visio,application/excel,application/x-msexcel,application/x-compressed,application/x-zip-compressed,application/vnd.ms-excel,application/x-excel,application/zip,text/richtext

File Description Default Values

txt=Text File,gif=GIF Image File,jpg=JPG Image File,png=PNG Image File,doc=Microsoft Word Document,ppt=Microsoft Powerpoint Document,mdb=Microsoft Access Database,exe=Executable Application,bat=Batch File,xls=Microsoft Excel Document,zip=Compressed Zip Archive,mov=Quicktime Movie,wav=WAV Sound File,html=HTML Document,htm=HTML Document,pdf=Adobe PDF Document