Betr.: [ic] Menu Editor Exclude On Parameter

Miguel Gracia (PPLPLC) miguel-gracia at pplplc.com
Tue Apr 6 10:40:37 EDT 2004


<<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)

That will be great if you can mail me the code. I will then insert it in my
scripts. Also, this would be very useful for other people in the list. The
code snip below looks like the code found in the Menu.pm file.

Thanks Again!

-mg

-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of J van Dijk
'BV Kunststoffenindustrie Attema'
Sent: Tuesday, April 06, 2004 3:11 AM
To: interchange-users at icdevgroup.org
Subject: RE: Betr.: [ic] Menu Editor Exclude On Parameter




<<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
_______________________________________________
interchange-users mailing list
interchange-users at icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users



More information about the interchange-users mailing list