[TYPO3] Typoscript - get domain name
Brian Bendtsen
nightowl at galnet.dk
Fri Jun 1 16:05:18 CEST 2007
Hi
Is it possible to do something like this in Typoscript:
if domain name = mentor-it.dk then
plugin.tx_lumogooglemaps_pi1.google_api_key =
ABQIAAAA_UBe0G6chCGKq1CbqlhqxhRHzN24XrT61zA8MWVZbIlBTY9zUxRpfc-ae7cTqXQEDvDGNTXN4N98sg
else if domain_name = mentorit.dk then
plugin.tx_lumogooglemaps_pi1.google_api_key =
ABQIAAAA_UBe0G6chCGKq1CbqlhqxhRDdQEaujmDR_Jv1A-YKViph57DuhTz2d5mNrYaD9j_2t72aWAmMVpmXw
I know how to make an if-else, but is it possible to get the domain name
by which the user has reached my site?
/Brian
More information about the TYPO3-english
mailing list