[TYPO3] globalString= IENV:HTTP_HOST

Bas van der Togt bas.vander.togt at efocus.nl
Tue May 29 13:12:08 CEST 2007


True but than i have to duplicate all my TS.

my TS:
temp.HomeLink = TEXT
temp.HomeLink.wrap = <a href=""><img 
src="fileadmin/templates/images/transparent-lnk.gif" alt="Ga naar Geodan 
home" border="0" id="img-link"></a>

[globalString= IENV:HTTP_HOST = *geodan.com]
temp.HomeLink.wrap = <a href=""><img 
src="fileadmin/templates/images/transparent-lnk.gif" alt="Go to Geodan 
home" border="0" id="img-link"></a>
[end]

[globalString= IENV:HTTP_HOST = *geodan.es]
temp.HomeLink.wrap = <a href=""><img 
src="fileadmin/templates/images/transparent-lnk.gif" alt="Ir a la 
portada de Geodan" border="0" id="img-link"></a>
[end]

[globalString= IENV:HTTP_HOST = *geodan.at]
temp.HomeLink.wrap = <a href=""><img 
src="fileadmin/templates/images/transparent-lnk.gif" alt="Home" 
border="0" id="img-link"></a>
[global]

kind regards,
Bas

Rudy Gnodde wrote:
> Hello Bas,
> 
> You can use [globalVar=BE_USER|user|uid>0] to see if someone is logged
> in in the backend. You should be able to use this to get what you want.
> 
> Regards,
> 
> Rudy Gnodde
> WIND Internet
> http://www.windinternet.nl
> 
> 
> -----Oorspronkelijk bericht-----
> Van: typo3-english-bounces at lists.netfielders.de
> [mailto:typo3-english-bounces at lists.netfielders.de] Namens Bas van der
> Togt
> Verzonden: dinsdag 29 mei 2007 12:14
> Aan: typo3-english at lists.netfielders.de
> Onderwerp: Re: [TYPO3] globalString= IENV:HTTP_HOST
> 
> Thanks for your answer. There's no other better solution...?
> 
> JoH asenau wrote:
>>> I'm using [globalString= IENV:HTTP_HOST = *domain.com] for about 4
>>> different languages, but i have the following problem.
>>>
>>> When i logged in on the backend with the .com domain (english) and i
>>> want to preview the spanish language it's showing the english
>>> language.
>>>
>>> Is it possible to turn of the [globalString= IENV:HTTP_HOST =
>>> *domain.com] when somebody logged in to the backend? Or is there an
>>> other solution for this problem?
>> Quick and dirty solution: Use two different browsers.
>> Firefox for the FE, IE for the BE or whatever your system has to offer
> ...
>> This is of course not a real "preview" that would show even hidden
> pages, so
>> it's restricted to pages that are visible for FE users.
>>
>> Another solution: Log in using the appropriate domain. So when editing
>> spanish content, log in using the spanish domain.
>>
>> HTH
>>
>> Joey
>>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list