[TYPO3-german] Google Maps und mehrere Domains

Axel Kloss axel.kloss at web.de
Fri Oct 20 14:38:36 CEST 2006


> ich benutze auf einer Seite, die unter mehreren Domains erreichbar ist, Google Maps.
Hi,

falls Du (wie ich) die Ext. tx_lumogooglemaps_pi1 benutzt, dann kannst 
Du einfach in den Constants-Block Deines Root-Templates mit Conditions 
arbeiten. Für jede Domain einen Key registrieren und dann z.B. so eintragen:

### API-Keys für GoogleMaps
[globalString = HTTP_HOST=www.xxxxx.de]
   plugin.tx_lumogooglemaps_pi1.google_api_key = xxxxx_xxxxxx_xxxxx
[globalString = HTTP_HOST=xxxxx.de]
   plugin.tx_lumogooglemaps_pi1.google_api_key = xxxxx_xxxxxx_xxxxx
[globalString = HTTP_HOST=xxx.xxxxx.de]
   plugin.tx_lumogooglemaps_pi1.google_api_key = xxxxx_xxxxxx_xxxxx
[globalString = HTTP_HOST=localhost]
   plugin.tx_lumogooglemaps_pi1.google_api_key = xxxxx_xxxxxx_xxxxx
[global]

Gruß Axel



More information about the TYPO3-german mailing list