[TYPO3] Make header image depend on language
    JoH 
    info at cybercraft.de
       
    Wed Jun 14 13:59:37 CEST 2006
    
    
  
> I have a site in Danish and English, danish being the default language
> and I want my header image to depend on selected language.
>
> I use TV and have mapped my image to lib.logo and this is my TS setup:
>
> lib.logo = IMAGE
>
> [globalVar = GL:L = 1]
> lib.logo.file = fileadmin/templates/images/logo_uk.gif
> [else]
> lib.logo.file = fileadmin/templates/images/logo.gif
> [end]
>
> But the image logo.gif still appears on the english site.
>
> What am I doing wrong?
[globalVar = GL:L = 1]
                      ^^
it has to be GP not GL, since it is short for GetPost.
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.cybercraft.de
    
    
More information about the TYPO3-english
mailing list