[Typo3] GMENU Individual Button Parameters

JoH info at cybercraft.de
Mon May 30 01:55:16 CEST 2005


> I am having bit of difficulty implementing what I thought would be a
> simple task. However, after spending quite some time reading manuals
> and scouring the mailing list archive, I have decided to post my own
> message.
>
> What I am trying to do is make one particular button inactive. I would
> assume this is done using the .noLink property of GMENU. However I can
> not work out how to reference a particular button rather than the
> whole GMENU.
>
> If it as any use, the site I am trying to do this on is here:
> http://www.sharks.com.au/
>
> The button I am trying to make inactive is "Leagues Club".
>
> Hope that is enough information. Any help would be greatly
> appreciated.

Well - if it will stay always at position 2 you could try an optionSplit on
the noLink property.

NO {
    noLink = 0 || 1 |*| 0 |*|
    blah
}

This will  give you:
1. -> 0
2. -> 1
all following -> 0

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your knob sometimes!)
Dieter Nuhr, German comedian
openBC: http://www.openbc.com/go/invuid/Jo_Hasenau





More information about the TYPO3-english mailing list