[TYPO3] Condition on Domain

Andreas Wengrzik wengrzik at ewr.de
Thu Apr 6 10:24:35 CEST 2006


Hi list,

I want to load css file as a condition of the HTTP Request ...

It looks like this:

[globalString = HTTP_HOST= www.mydomain.org]
page.includeCSS {
  file1 = fileadmin/standard_www.css
}

[else]
page.includeCSS {
  file1 = fileadmin/standard.css
}

[global]


It does not work.. any suggestions on it? Maybe its a result of 
register_globals=off ?
Is there any other way to create a condition on the requested host??

Thanks for your help!

Have a nice day

-andreas w.



More information about the TYPO3-english mailing list