Difference between revisions of "Sf module"
From ARK
(→Description) |
(→Description) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===Description=== | ===Description=== | ||
− | This subform is primarily used in the left panel for calling modules and detecting the presence of configured detailed forms and registers from within the mod-settings. | + | This subform is primarily used in the left panel for calling modules and detecting the presence of configured detailed forms and registers from within the mod-settings. It should be noted that this subform does not use fields set up in the [[field_settings.php]], but calls the modules themselves. |
+ | |||
+ | ===Additional Fields=== | ||
*'''ark_page''' - required, as the left panel behaves differently depending upon what page is being called: options include: micro_view, data_entry, and user_home | *'''ark_page''' - required, as the left panel behaves differently depending upon what page is being called: options include: micro_view, data_entry, and user_home | ||
− | *'''fields''' - a list of the modules included | + | *'''fields''' - a list of the modules included, using the three letter short-name for each module as defined in the database |
+ | ===Example Configuration=== | ||
<pre> | <pre> | ||
$delp_subform_module = | $delp_subform_module = | ||
Line 21: | Line 24: | ||
); | ); | ||
</pre> | </pre> | ||
− | |||
− |
Latest revision as of 16:51, 23 February 2011
Description
This subform is primarily used in the left panel for calling modules and detecting the presence of configured detailed forms and registers from within the mod-settings. It should be noted that this subform does not use fields set up in the field_settings.php, but calls the modules themselves.
Additional Fields
- ark_page - required, as the left panel behaves differently depending upon what page is being called: options include: micro_view, data_entry, and user_home
- fields - a list of the modules included, using the three letter short-name for each module as defined in the database
Example Configuration
$delp_subform_module = array( 'view_state' => 'max', 'edit_state' => 'view', 'sf_nav_type' => 'none', 'sf_title' => 'delpmodlist', 'sf_html_id' => 'delpmodlist', // Must be unique 'script' => 'php/subforms/sf_module.php', 'ark_page'=> 'data_entry', 'fields' => array ( 'cxt', 'smp', 'spf', 'sph', ) );