Difference between revisions of "Sf modtype conflicts"

From ARK
Jump to: navigation, search
 
 
Line 20: Line 20:
 
         'op_label' => 'space',
 
         'op_label' => 'space',
 
         'op_input' => 'save',
 
         'op_input' => 'save',
         'op_modtype' => FALSE, //if each modtype uses same fields (see below)
+
         'op_modtype' => FALSE, //this is FALSE as should not be set to different fields
 
         'fields' =>
 
         'fields' =>
 
             array(
 
             array(

Latest revision as of 09:19, 26 June 2013

Description

This subform is used to provide information to users on potential conflicts between two modtypes of a particular record. It also examine the presence of data in this case.

Additional Fields

Example Configuration

An example of sf_modtype_conflicts configuration:

$conf_mcd_modtype_conflicts =
    array(
        'view_state' => 'max',
        'edit_state' => 'view',
        'sf_nav_type' => 'full',
        'sf_title' => 'cxttypeconflicts', 
        'sf_html_id' => 'cxt_modtypeconflict', // Must be unique
        'script' => 'php/subforms/sf_modtype_conflicts.php',
        'op_label' => 'space',
        'op_input' => 'save',
        'op_modtype' => FALSE, //this is FALSE as should not be set to different fields
        'fields' =>
            array(
                $conf_field_cxttype
        )
);