[if cgi junksubmit] [or cgi cancelsubmit] Hit action for no-content [tag op=header]Status: 204 No content[/tag] [goto] [/if] [set page_title][L]Menu Loader[/L][/set] [tmpn dhtml_required]1[/tmpn] [set ui_class]Design[/set] [set page_perm]layout=e[/set] [set help_name]menu.edit[/set] [set icon_name]icon_pages.gif[/set] [tmp meta_header] [include include/table_populator]
[/tmp] @_UI_STD_HEAD_@
[loop list="tree __MV_TREE_TABLE__"] [flag type=write table="[loop-code]"] [/loop] [if !cgi qmenu_products] [cgi name=qmenu_products set=__ProductFiles_0__ hide=1] [cgi name=qmenu_separate set="[either]__DEFAULT_CATEGORY_TABLE__[or]category[/either]" hide=1] [cgi name=qmenu_comb_field set=comb_category hide=1] [cgi name=qmenu_toplevel_field set=prod_group hide=1] [cgi name=qmenu_sublevel_field set=category hide=1] [cgi name=qmenu_sku_field set=sku hide=1] [/if] [tabbed-display ui_style=1 js-prefix=mvtb_ panel-height="500px" panel_style=" font-family: sans-serif; font-size: 10px; border: 2px; border-color:#999999; border-style:outset; " panel-shade=f panel_id=mvspan2 tab_style=" font-size:10px; text-align:center; font-family: sans-serif; line-height:150%; border:2px; border-color:#999999; border-style:outset; border-bottom-style:none;"] [tabbed-panel [L]Group and Category Fields[/L]]

> [L MENU_LOADER_PAR1] This function loads a tree menu based on the contents of two category fields, producing a two-level tree with individual products/items as a leaf on the third level. The menu may be added to after that. [/L]

[form-session-id]

[L]Table[/L] |  | [L]Default:[/L] products
[L]Top level field[/L] |  | [L]Default:[/L] prod_group
[L]Sub level field[/L] |  | [L]Default:[/L] category
[L]Sort string[/L] |  | [L]Determines extra information in search link. Default: tf=prod_group,category[/L]
[L]Options[/L] | [L]Override, build even if large[/L] | [L]Use to allow building even if the table is defined as LARGE[/L]
| [L]No Leaves[/L] | [L]Use to EXCLUDE individual products[/L]
|  | [L]Do menu build[/L]

[/tabbed-panel] [tabbed-panel [L]Combined category field[/L]]

> [L MENU_LOADER_PAR2] This function loads a tree menu based on the contents of a combined category field. Example: [/L]

> > `[L MENU_LOADER_PAR3] First level:Second Level A
> > First level:Second Level B
> > First level:Second Level B: Third level A
> > First level:Second Level B: Third level B
> > [/L]`

[form-session-id]

[L]Table[/L] |  | [L]Default:[/L] products
[L]Field to use[/L] |  | [L]Default:[/L] comb_category
[L]Sort field[/L] |  | [L]Default:[/L] comb_category
[L]Sort string[/L] |  | [L]Determines extra information in search link. Default: tf=comb_category,description[/L]
[L]Options[/L] | [L]Override, build even if large[/L] | [L]Use to allow building even if the table is defined as LARGE[/L]
|  | [L]Do menu build[/L]

[/tabbed-panel] [tabbed-panel [L]Separate Category File[/L]]

> [L MENU_LOADER_PAR4] This function loads a tree menu based on the contents of two category fields in a separate table, producing a two-level tree with no leaf items. The menu may be added to after that. [/L]

[form-session-id]

[L]Table[/L] |  | [L]Default:[/L] pub_category
[L]Top level field[/L] |  | [L]Default:[/L] prod_group
[L]Sub level field[/L] |  | [L]Default:[/L] category
[L]SKU field[/L] |  | [L MENU_LOAD_PAR5] Default: sku This field holds the sku of the actual items that are returned in the search.[/L]
[L]Description field[/L] |  | [L MENU_LOAD_PAR6] Default: <not used> Use this field to set extra information, for example to sort the items in the order of this field when the search is returned.[/L]
[L]Search page[/L] |  | [L]Selects page to display search[/L]
|  | [L]Do menu build[/L]

[/tabbed-panel] [tabbed-panel [L]Top and Sub Level Tables[/L]]

> [L MENU_LOAD_PAR7]

> This function loads a tree menu based on the contents of two tables. (Typically these are the Interchange 4 area and cat tables. It produces a two-level tree based on the relationship of the second level (cat) table sel field containing the code of the top level (area) table.

> The menu may be added to after that.

> [/L]

[form-session-id]

[L]Top Level table[/L] |  | [L]Default:[/L] area
[L]Sub Level table[/L] |  | [L]Default:[/L] cat
[L]Selector (if any)[/L] | [display type=select name=qmenu_sel_value db=area lookup_query="select distinct sel from area" options="=none" cgi=1] | [L]Default:[/L] none
[L]Options[/L] | [L]Override, build even if large[/L] | [L]Use to allow building even if the table is defined as LARGE[/L]
|  | [L]Do menu build[/L]

[/tabbed-panel] [/tabbed-display]
@_UI_STD_FOOTER_@