Difference between revisions of "Sf event"
From ARK
Andydufton (talk | contribs) |
Andydufton (talk | contribs) |
||
Line 24: | Line 24: | ||
); | ); | ||
</pre> | </pre> | ||
+ | |||
+ | [[category:Administrator]] |
Latest revision as of 11:20, 14 November 2008
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, ) );