8. Design

The Design tab was primarily designed for use by Interchange developers, and as such should only be accessed by Administrators that have a high level of experience with Interchange.

The Design tab consists primarily of two tabs, Menu Editor and Menu Loader. A third tab, File transfer shows up in multiple locations and its operation has already been described in another area. The Menu Editor and Menu Loader are commonly used in conjunction with each other, normally using the Menu Loader to select a menu, and loading it into the Menu Editor. So in many cases, you will use the Menu Loader first, then the Menu Editor. But because the tabs are arranged with the Menu Editor first, we will cover it first here as well.

 

8.1 – Design – Menu Editor

The Menu Editor screen is displayed above. We will start at the top of the screen, discussing the various individual controls in the upper right area.

Moving down the screen slightly, and still on the right hand side we have:

Now we will move into the Menu Editor main window, which is just below the items we just finished describing. Here we will begin to describe how to create a very simple menu.

Now that you have created a new Menu Item, it will be displayed as shown above. Now you will want to access this item and name it and give it some attributes so you will click on the:

The General page has 7 areas of entry, Name, Page, Form Values, Detailed Description, Options, Inactive, and Menu Group. At the bottom of the screen is the Save Menu Item button.

The Advanced page has 12 areas of entry, Go to next line, Indicator Variable, Exclude on, Include on, Only for Super user, Help tag, Image Down, Image Up, Image Down, Title Icon, External URL, member. At the bottom of the screen is the Save Menu Item button. These areas are for advance use of the menu builder, and as such you will need to contact your Interchange Developer regarding the use of them.

And finally, there are several checkboxes that show up at the top of the page when you load a menu item. Here is what they do:

8.2 – Design – Menu Loader

The Menu Loader section of the design tab is used to get menus into the Menu Editor. It consists of 4 tabs, each with different uses.

 


8.2.1 – Design – Menu Loader – Group and Category Fields

The group and category tab allows you to load a tree menu based on the contents of two category fields, (such as a category and subcategory) which are both located in the same table. This will produce a two level tree, with the individual products or items that relate to each category or subcategory from the table forming the 3rd level. The items forming the final level are called leaf items, using the analogy to a “tree”.

Shown above is the Menu Loader – Group and Category Fields tab window. There are 5 areas to select and input into on the screen. They are:

 

8.2.2 – Design – Menu Loader – Combined Category Field

Shown above is the Menu Loader – Combined Category Field tab window. There are 5 areas to select and input into on the screen. They are:

Combined field formatting: when you want to use combined field instead of multiple fields for categorization, you must set it up as follows. First, lets assume that you have 3 levels of categorization, Group, Category, and Subcategory. Now, lets assign some example names to these levels.

 


Using these examples the comb_category field might look like this

Code

comb_category

Name

1

fish:saltwater:salmon

Sockeye

2

fish:freshwater:trout

Rainbow

3

fish:saltwater:salmon

Chum

4

birds:wild:prey

Red tail Hawk

5

birds:domestic:chicken

Road Island Red

6

birds:wild:chicken

Prairie chicken

7

birds:wild

Big Bird

Note in the example that each record in the comb_category field is formatted by placing the Group level of categorization first, as in fish:saltwater:salmon. Each level is separated from the other by a colon “ : ” Next after the Group level would come the category, and finally the subcategory. And if there were additional levels they would follow in sequence, from top to bottom, left to right.

With the example above, the resulting menu you loaded would contain 2 main or Group links, Birds and Fish. Each group link would contain 2 category links, Fish would contain saltwater and freshwater, and Birds would contain wild and domestic. Each of those links would contain the corresponding subcategories such as Birds:wild would contain prey and chicken, and so on.

8.2.3 – Design – Menu Loader – Separate Category File

 


Shown above is the Menu Loader – Separate Category File tab window. This tab allows you to load a tree menu based on the contents of two category fields, (such as a category and subcategory) which are both located in the same table. This will produce a two level tree, with no “leaf” items. Once you have it in the Menu Editor, you can add additional items to each category. There are 6 areas to select and input into on the screen. They are:

 

8.2.3 – Design – Menu Loader – Top and Sub Level Tables

Shown above is the Menu Loader – Top and Sub level Tables tab window. This tab allows you to load a tree menu based on the contents of two category fields, (such as a category and subcategory) each of which are located in separate tables. This will produce a two level tree, with no “leaf” items. Once you have it in the Menu Editor, you can add or delete items to or from each category. There are 4 areas to select and input into on the screen. They are:

Top Level Table – In the Demo this is the Area table.

Mike, it does not seem like this page is finished? It seems like this is what is going on:

 

Shown above is the Menu Loader – Top and Sub level Tables tab window. This tab allows you to load a tree menu based on the contents of two category fields, (such as a category and subcategory) each of which are located in separate tables. This will produce a two level tree, with no “leaf” items. The tables must have a foreign key relationship, and you can select a Description or Name field to allow your menu to be more descriptive. For example, assume you have the following two tables.

The Top level table “VEHICLE” contains the following:

 


Code

Name

1

Car

2

Truck

3

Motorcycles

And the Sub level table “V_TYPE” contained

Code

Fkey

Name

201

1

Sedan

202

1

Convertible

203

2

Crew Cab 4X4

204

2

Super Cab 2wd

 


It seems you would need the following selectors: