Hallo,
ich möchte im Header pro Sprache ein anderes Bild anzeigen. Leider kenne ich
mich mit der Handhabung der Konstanten und Conditions bisher noch fast gar
nicht aus.
So sieht mein Code jetzt aus:
toppic = fileadmin/user_upload/neuheiten-header-1600x400.jpg
bodyclass = neuheiten
bodytype = category
Zur Abfrage der Sprache wollte ich die globale Abfrage [globalVar = GP:L=0]
nutzen. Doch diese wird mir direkt rot markiert.
Angedacht hatte ich folgende Lösung (funktioniert allerdings überhaupt nicht):
10 = IMAGE
10.temp.toppic = IMAGE
# 1. Deutsch
[globalVar = GP:L=0]
temp.toppic
{file = fileadmin/sitepics/mcu_home_0704.gif
altText = Ein Haus
}
[global]
# 2. Englisch
[globalVar = GP:L=1]
temp.toppic
{
file = fileadmin/images/house.jpg
altText = A house
}
[global]
toppic < temp.toppic
LG
Anja
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german