|
Table Of Contents
|
CF_FileManager Adding File DescriptionsOverview
Version 3.2 allows you to pass a number of parameters to the component to interface with a database which is used to store and retrieve the descriptions for each file and folder. To add a description to a file or folder, simply right-click on the file or folder and choose properties. A new text input control is displayed under the name of the object allowing you to enter a description. Setting Up DescriptionsTo use CF_FileManager with descriptions for files and folders, you first need to create a database and a datasource. Select a database and create the following table: ffObjectDescriptions [table] e.g: Datasource="www-CFFileManagerDescriptions-MySQL" : Username="dc" password="dc" You are now ready to pass this information to CF_FileManager. Sample Code:To tell CF_FileManager to use File and Folder Descriptions, we simply pass the parameter SHOWDESCRIPTION="YES" along with the following parameters:
<cf_dccom component="dcFileManagerV3" CF_FileManager takes care of the descriptions once associated with a file or folder. This means if the folder or file is renamed, the description remains associated with the object. Also, CF_FIleManager cleans up the database if the file or folder is deleted or moved. |