Difference between revisions of "Sf xmi"
From ARK
Andydufton (talk | contribs) (→Additional Fields) |
Andydufton (talk | contribs) (→Additional Fields) |
||
Line 3: | Line 3: | ||
===Additional Fields=== | ===Additional Fields=== | ||
+ | *'''xmi_mod''' - the xmi viewer needs this to know which module to display | ||
*'''op_xmi_sorting''' - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval. | *'''op_xmi_sorting''' - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval. | ||
*'''op_xmi_sort_field''' - this option requires 'op_xmi_sorting' to be set TRUE. This should be populated with the full field array that is desired. | *'''op_xmi_sort_field''' - this option requires 'op_xmi_sorting' to be set TRUE. This should be populated with the full field array that is desired. |
Revision as of 11:44, 14 November 2008
Description
The sf_xmi is required to handle XMI linked data from other modules.
Additional Fields
- xmi_mod - the xmi viewer needs this to know which module to display
- op_xmi_sorting - this is a switch to allow sorting of XMIed items by some field connected to the item. The default is to sort by the itemval.
- op_xmi_sort_field - this option requires 'op_xmi_sorting' to be set TRUE. This should be populated with the full field array that is desired.
Example Configuration
$conf_mcd_sphxmi = array( 'view_state' => 'max', 'edit_state' => 'view', //not yet setup in sf 'sf_title' => 'site_photo', //appears in the titlebar of the subform (mk nname) 'sf_html_id' => 'cxt_sph_display', //the form id tag (must be unique) 'script' => 'php/subforms/sf_xmi.php', 'sf_nav_type' => 'full', 'xmi_mod' => 'sph', 'op_lightbox' => TRUE );