Difference between revisions of "Sf file"
From ARK
Andydufton (talk | contribs) |
Andydufton (talk | contribs) |
||
Line 24: | Line 24: | ||
); | ); | ||
</pre> | </pre> | ||
+ | |||
+ | [[category:Administrator]] |
Revision as of 11:19, 14 November 2008
Description
The sf_file handles the upload and registering of files.
Additional Fields
The sf_file will require:
- op_default_dir - the default directory for file uploads
Example Configuration
$conf_mcd_sph = array( 'view_state' => 'max', 'edit_state' => 'view', 'sf_nav_type' => 'full', 'sf_title' => 'site_photo', 'sf_html_id' => 'sph_img_display', // Must be unique 'script' => 'php/subforms/sf_file.php', 'op_moddif' => FALSE, 'op_lightbox' => TRUE, 'op_default_dir' => 'data/files', 'fields' => array( $conf_field_file ) );