[TYPO3] menu depending on the language

Rafael Freuler rafi at rafi.ws
Mon Feb 6 10:36:02 CET 2006


> and it works ok. But I want smaller spaces in my French version of the 
> menu, so I tried this:
> 
> [globalVar = GP:L = 4]
> 1 = TMENU
> 1.NO.allWrap = |*| |   |*| |*|
> [else]
> 1 = TMENU
> 1.NO.allWrap = |*| |    |*| |*|
> [global]
>  
> but it doesn't work. any ideas why?

Hi

My guess is that you have curly braces {} somewhere around this 
condition. I don't know why, but that doesn't seem to work.

Try something like this:

temp.themenu = HMENU
temp.themenu {
   1 = TMENU
   1.NO.allWrap = |*| |    |*| |*|
}
[globalVar = GP:L = 4]
   temp.themenu.1.NO.allWrap = |*| |   |*| |*|
[global]

Cheers,
Rafi



More information about the TYPO3-english mailing list