Sf attr bytype

From ARK
Revision as of 08:53, 22 September 2009 by Guy (talk | contribs)

Jump to: navigation, search


The sf_attr_bytype subform is a generic script to assign an attribute of a specific type. It is a updated and more general version of the earlier sf_finds.

Additional Fields

'op_dd_order' => 'id_desc', // options are the options of ddAttr()

This op can be used by admins to set up sort orders for the menus. Please see the documentation of the ddAttr() function for a list of possible options.

Example Configuration

$conf_mcd_samplestatus =
        'view_state' => 'max',
        'edit_state' => 'view',
        'sf_nav_type' => 'full',
        'sf_title' => 'samplestatus',
        'sf_html_id' => 'smp_samplestatus', // Must be unique
        'script' => 'php/subforms/sf_attr_bytype.php',
        'op_label' => 'space',
        'op_input' => 'save',
        'fields' => array(