[ic] Isolating Admin Sub-Menu Options

Mike Heins mikeh@minivend.com
Sun, 19 Nov 2000 18:03:15 -0500


Quoting Dallas Vogels (dvogels@forestind.com):
> Hello,
> 
> 	I am trying to find a way to individually shut off each option of the UI
> submenu system.  I would like each catalog to have a different set of
> parameters. For instance, I want to hide the "Affiliates" hyperlink located
> in the Merchandising sub-menu for Catalog1 but allow it to be seen in
> Catalog2.
> 
> 	Each sub-menu is located in the [INTERCHANGE INSTALL
> DIR]/catalog_before.cfg file.  I know that when the Interchange server
> starts it loads up the catalog_before.cfg file for each catalog before if
> loads the catalog.cfg.
> 
> 	Here is an excerpt from the catalog_before.cfg:
> 
> Variable UI_SUBMENU_Reports <<EOV
> code    next_line       indicator       depends_on      page    form    name
> 1                               __UI_BASE__/orderstats          Orders
> 2                               __UI_BASE__/trafficstats
> Traffic
> [if-mm super]3                          __UI_BASE__/tablereport
> Custom
> [/if-mm]
> EOV
> 
> 
> 	Notice the [if-mm super]3[/if-mm] tags.  Where does the super variable get
> initialized?  Can it be different for each catalog?
> 

Yes -- just define UI_SUBMENU_Reports in each catalog.cfg where you want it
to be different.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

My wife is great.  She doesn't care where I go, just as long as I don't
have any fun.  -- Lee Trevino