Zum Inhalt springen

Text im GMENU wird nicht angezeigt

Erstellt am 23. April 2004 · 4 Antworten · letzte Antwort am 23. April 2004

Tags: Frage

Webstylist ·

Hallo

Ich bin nun schon über 2 Stunden an diesem Problem:
Ich möchte ein GMENU, doch wird der Text einfach nicht angezeigt.
Die Grafik wird erzeugt, und auch der Link darauf funktioniert richtig, nur wird der Text nicht angezeigt und die Grafik bleibt bei einer Breite von 10 (XY = [20.w]+10 , 18-)
Wenn ich mit der Maus über das Menü fahre wird auch der Tooltip (oder wie das heisst) mit dem richtigen Titel des entsprechenden Menüeintrages angezeigt.

Ich wäre sehr froh, wenn mir da jemand helfen könnte.

Hier das TS:

styles.content.loginform.pid = 3 
seite = PAGE
seite.typeNum = 0
seite.noLinkUnderline = 1
seite.hover = #333333
seite.bodyTag = <body bgcolor="#9DAFF3" link="#000000" alink="#000000" vlink="#000000">
seite.stylesheet = fileadmin/templates/fvchur/style.css
seite.10 = TEMPLATE 

seite.10 { 
    template = FILE
    template.file = fileadmin/templates/fvchur/main.html
    workOnSubpart = DOKUMENT
    marks.INHALT < styles.content.get
    marks.INHALT.table = tt_content

    ####################################################################
    marks.MENU_LINKS = HMENU
    marks.MENU_LINKS.1 = GMENU
    marks.MENU_LINKS.1 {
           NO {
             backColor = #cccccc
             wrap = | <br>
             XY = [20.w]+10 , 18
             20 = TEXT
             20 = text.field = title
             20.fontFile = fileadmin/fonts/verdana.ttf
             20.fontColor = #000000
             20.fontSize = 10
             20.offset = 5,12
             20.niceText = 0
            }
     }
    ####################################################################


}
TW ·

hi

#################################################################### 
    marks.MENU_LINKS = HMENU 
    marks.MENU_LINKS.1 = GMENU 
    marks.MENU_LINKS.1 { 
           NO { 
             backColor = #cccccc 
             wrap = | <br> 
             XY = 120,18
             10 = TEXT 
             10.text.field = title 
             10.align = left 
             10.text.listNum = 0 
             10.fontFile = fileadmin/fonts/verdana.ttf 
             10.fontColor = #000000 
             10.fontSize = 10 
             10.offset = 5,12 
             10.niceText = 0 
            } 
     } 
    ####################################################################

so sollte es gehen...

cu
thorsten

doku ·

falsch: 20 = text.field = title

richtig: 20.text.field = title

man sollte doch wohl sowenig wie möglich an seinem code rumfummeln ? 🙂