Difference between revisions of "Sf attr bytype"
From ARK
Andydufton (talk | contribs) |
Andydufton (talk | contribs) |
||
Line 24: | Line 24: | ||
); | ); | ||
</pre> | </pre> | ||
+ | |||
+ | [[category:Administrator]] |
Revision as of 11:17, 14 November 2008
Description
The sf_attr_bytype subform is a generic script to assign an attribute of a specific type. It is a updated and more general version of the earlier sf_finds.
Additional Fields
This subform does not require any additional fields
Example Configuration
$conf_mcd_samplestatus = array( 'view_state' => 'max', 'edit_state' => 'view', 'sf_nav_type' => 'full', 'sf_title' => 'samplestatus', 'sf_html_id' => 'smp_samplestatus', // Must be unique 'script' => 'php/subforms/sf_attr_bytype.php', 'op_label' => 'space', 'op_input' => 'save', 'fields' => array( $conf_field_samplestatus, $conf_field_priority, $conf_field_sampleaction ) );