/[drupal]/contributions/modules/filemanager/README.txt
ViewVC logotype

Contents of /contributions/modules/filemanager/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Thu Sep 6 17:10:34 2007 UTC (2 years, 2 months ago) by cscsteve
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +8 -0 lines
File MIME type: text/plain
Added notes about using the form attribute enctype when using the API.  Issue #173131
1 Description
2 -----------
3 This module adds a full featured file management API for your modules to use. This API is module development and does not directly add functionality to your site. This module is required for the attachment module which is an alternative to Drupal's included upload module.
4
5 Key Features
6 ------------
7 * Simultaneous support of both public and private files. Your module can now decide to when to protect a file.
8 * Support for large numbers of files. This module prevents one directory from having to many files which can cause problems managing the filesystem.
9 * Duplicate file name support. Your module can manage the namespace instead of being forced to rename files and confusing users.
10 * Disk space limits can be set by file area allowing different modules to have different limits.
11
12 Usage Notes
13 -----------
14
15 When using the API, be sure that your module adds an 'enctype' attribute to your
16 form that has the value 'multipart/form-data' which can be done with the following line:
17 $form['#attributes'] = array('enctype' => 'multipart/form-data');
18

  ViewVC Help
Powered by ViewVC 1.1.2