https://ark.lparchaeology.com/wiki/index.php?title=Sf_frame&feed=atom&action=historySf frame - Revision history2024-03-29T02:27:43ZRevision history for this page on the wikiMediaWiki 1.27.1https://ark.lparchaeology.com/wiki/index.php?title=Sf_frame&diff=2170&oldid=prevAndydufton at 14:43, 18 April 20092009-04-18T14:43:53Z<p></p>
<p><b>New page</b></p><div>===Description===<br />
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.<br />
<br />
===Additional Fields===<br />
Instead of a 'field' array, the frame subform requires an 'subform' array.<br />
<br />
===Example Configuration===<br />
<pre><br />
$conf_mcd_consframe =<br />
array(<br />
'view_state' => 'max',<br />
'edit_state' => 'view',<br />
'sf_nav_type' => 'full',<br />
'sf_title' => 'consattr', <br />
'sf_html_id' => 'mus_consframe', // Must be unique<br />
'script' => 'php/subforms/sf_frame.php',<br />
'op_label' => 'space',<br />
'op_input' => 'save',<br />
'op_condition' => array(<br />
array(<br />
'func'=> 'chkGroupPerm',<br />
'args'=> array(<br />
2<br />
)<br />
),<br />
),<br />
'subforms' => array(<br />
$conf_mcd_consattr,<br />
$conf_mcd_constxt,<br />
)<br />
);<br />
</pre><br />
<br />
[[category:Administrator]]</div>Andydufton