Zum Inhalt springen

Je nach URL anderes Bild anzeigen- geht das?

Erstellt am 29. März 2010 · 4 Antworten · letzte Antwort am 22. April 2010

Tags: Frage

perse ·

Hallo Zusammen,

ich habe mehrere Domains die auf ein und die selbe Webseite leiten. Jetzt möchte ich, dass je nach eingegebener Domain ein anderer Banner geladen wird. Ist das möglich? Kann man das irgendwie im TS abfragen?

LG
Marc

perse ·

So funktioniert es:

lib.logo = CONTENT
[globalString = ENV:HTTP_HOST = www.abc.de]
lib.logo {
table = tt_content
select {
pidInList = 22
orderBy = sorting
where = colPos= 3
}
}
[ELSE]
lib.logo {
table = tt_content
select {
pidInList = 18
orderBy = sorting
where = colPos= 3
}
}
[GLOBAL]