Sf frame
From ARK
Revision as of 14:43, 18 April 2009 by Andydufton (talk | contribs)
Description
The sf_frame groups together several subforms for inclusion in a single frame in the data view and micro view pages. This is primarily an issue of display and user interface rather than a subform that handles db requests.
Additional Fields
Instead of a 'field' array, the frame subform requires an 'subform' array.
Example Configuration
$conf_mcd_consframe = array( 'view_state' => 'max', 'edit_state' => 'view', 'sf_nav_type' => 'full', 'sf_title' => 'consattr', 'sf_html_id' => 'mus_consframe', // Must be unique 'script' => 'php/subforms/sf_frame.php', 'op_label' => 'space', 'op_input' => 'save', 'op_condition' => array( array( 'func'=> 'chkGroupPerm', 'args'=> array( 2 ) ), ), 'subforms' => array( $conf_mcd_consattr, $conf_mcd_constxt, ) );