Sf event

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

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

Description

The sf_event handles event fields. Events have event lists instead of field lists. Each event can be found in field_settings.php and contains an action and a date field.

Additional Fields

Instead of a 'field' array, the events subform requires an 'events' array.

Example Configuration

$conf_mcd_event =
    array(
        'view_state' => 'max',
        'edit_state' => 'view',
        'sf_nav_type' => 'full',
        'sf_title' => 'event', 
        'sf_html_id' => 'cxt_events', // Must be unique
        'script' => 'php/subforms/sf_event.php',
        'op_label' => 'space',
        'op_input' => 'save',
        'events' => array(
            $conf_event_issued,
            $conf_event_compiled,
            $conf_event_checked,
	    )
	);