Betr.: [ic] Menu Editor Exclude On Parameter

J van Dijk 'BV Kunststoffenindustrie Attema' j.vandijk at attema.nl
Tue Apr 6 03:10:36 EDT 2004




<<We use the exclude option to show and suppress menu-buttons between
<<Dutch and English.
<<For example: we show the button 'werk' only in Dutch and the button
<<electrical supplies - product overview only in English.
<<This is done by the following line in the Exclude on field:
<<locale_en_US (for Dutch only) and locale_nl_NL  (English only).

>Thanks for the response. I tried the entries in the Exclude On/Include
On
>fields by entering the specific locale to include/exclude the menu
items and
>them published the menu and restarted the interchange server. However,
the
>menu items still show up in both locales. Any ideas why? I am trying
to
>exclude menu items when the locale is English and only make them
appear when
>the locale is Spanish.

Hi Miguel,

Sorry, I did not give you all the information:
we use a component called 'context_menu' which contains the following
code:
(it's not the complete code, but these are the lines needed, if you
want, I can mail you the complete component)

[menu 
        menu-type=simple 
        name=context 
        menu_group=mgroup 
        prefix=menu
        exclude_on=exclude_on
        depends_on=depends_on
        reparse=1
][menu-header][/menu-header]
{PAGE:}
        <b>{NAME?}{NAME}{/NAME?}{NAME:}No name{/NAME:}</b><br>
{/PAGE:}{PAGE?}
<a
        {URL?}target="{URL}"{/URL?}
        href="{HREF}"{DESCRIPTION?}
        title="{DESCRIPTION}"{/DESCRIPTION?}>
{IMG_ICON?}<img name="img{CODE}"
        src="/attema/images/[scratch mv_locale]/{IMG_ICON}"
        onmouseover='this.src="[var IMAGE_DIR 2]/[scratch
mv_locale]/{IMG_DN}"'
        onmouseout='this.src="[var IMAGE_DIR 2]/[scratch
mv_locale]/{IMG_ICON}"'
        {DESCRIPTION?}alt="{DESCRIPTION}" {/DESCRIPTION?}border=0
vspace=5 hspace=2>{/IMG_ICON?}
{IMG_ICON:}{NAME?}{NAME}{/NAME?}{NAME:}No
name{/NAME:}{/IMG_ICON:}</a><br>
{/PAGE?}
[/menu]



Met vriendelijke groet,

Jan van Dijk
j.vandijk at attema.nl
B.V. Kunststoffenindustrie Attema
tel : 0183-650650 tst 674
fax: 0183-650751
www.attema.nl


More information about the interchange-users mailing list