Sf file

From ARK
Revision as of 10:44, 14 November 2008 by Andydufton (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
        )
);