Hallo,
habe eine Navigation gebastelt die Ihre Buttons auf ein Hintergrundbild generiert. Funktioniert auch prima wenn ich das Hintergrundbild direkt mit dem Pfad im Setup einbinde. Sobald ich die Grafik aber aus dem Mediafeld lade, wird das Menü ohne Hintergrund (also Weiß) generiert.
Hier der Code:
# Hauptnavigation
temp.topmenu = HMENU
temp.topmenu.entryLevel = 1
temp.topmenu.1 = GMENU
temp.topmenu.1 {
applyTotalW = 5
min = 376,
max = 376,
wrap =
NO {
XY = 94, 23
5 = IMAGE
5.file {
import.field = media
import = uploads/media/
import.listNum = 0
}
10 = TEXT
10 {
iterations = 0
niceText = 0
antiAlias = 1
fontColor = white
fontFile = fileadmin/fonts/myfont.ttf
fontSize = 12
text.field = title
offset = 15, 15
}
}
}
Bin um jeden, aber wirklich absolut jeden Tip dankbar.
grüße
iddqd