[TYPO3] menu depending on the language

Artiom Lunev artiom1st at yahoo.com
Mon Feb 6 11:49:30 CET 2006


thanks, it was around braces.
after removing braces and putting it into global level it worked.

Regards,
Artiom.


Rafael Freuler wrote:
>> 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