Hallo Forum.
Erst mal die Eckdaten:
typo3: Version 4.0
server: IIS 6.0
typo3 Erfahrung: knapp 2 Wochen
Ich hab ein GMENU_FOLDOUT erstellt und dabei nun folgende Probleme:
1. Das erste Hintergrundbild des Menus wird nicht angezeigt, resp. ist weiss (?)
2. RO funzt nicht, auch CUR und ACT schon verschiedentlich ausprobiert, ohne Erfolg.
3. Das Submenu sollte geöffnet bleiben wenn ein Sublink geklickt wird.
4. Der ACT (oder CUR?) Zustand der Ebene 1 soll bestehen bleiben wenn das Menu ausgeklappt wird.
Bemerkungen: Ich hab ein ähnliches Menu mit der Version 3.8.1 erstellt, wo alles ausser Punkt 3 + 4 bestens funktioniert hat.
Ich habe keine Ahnung wo die Probleme liegen und nach x-Stunden Forum durchforsten, Bücher lesen, Tuts analysieren auch keine Lösung gefunden. (*KOPFSCHMERZ*)
Hier mein Code:
seite = PAGE
seite {
typeNum = 0
bodyTag = <body style="margin-left:17; margin-top:0; background-image:url(fileadmin/ce_Bilder/hintergrund.jpg)">
#stylesheet = fileadmin/ce-markt_vorlagen/ce-styles.css
includeLibs.gmenu_foldout = typo3/sysext/cms/tslib/media/scripts/gmenu_foldout.php
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/ce_Templates/Tabellenlayout_Basis2_01.htm
10.workOnSubpart = DOKUMENT
10.marks {
INHALTE = CONTENT
INHALTE {
table = tt_content
select.orderBy = sorting
select.where = colPos=0
}
DETAILS = CONTENT
DETAILS {
table = tt_content
select.orderBy = sorting
select.where = colPos=2
}
MENUL = HMENU
MENUL.1 = GMENU_FOLDOUT
MENUL.1.expAll = 1
MENUL.1.collapse = 1
MENUL.1 {
dontLinkIfSubmenu = 1
foldSpeed = 6
subMenuOffset = 0, 25
menuOffset = 17, 180
menuWidth = 164
bottomContent = TEXT
bottomContent.value = ein Text
}
MENUL.1.NO {
XY = 164, 25
10 = TEXT
10.text.field = title
10.fontSize = 10
10.iterations = 4
10.fontColor = #F7E85B || #19338F || #F7E85B || #19338F || #F7E85B || #19338F
10.offset = 10, 18
10.niceText = 1
wrap = | <br />
5 = IMAGE
5.file = fileadmin/ce_Bilder/Pfeil_mittellblau.jpg || fileadmin/ce_Bilder/Pfeil_hellblau.gif || fileadmin/ce_Bilder/Pfeil_mittelblau.jpg || fileadmin/ce_Bilder/Pfeil_hellblau.gif || fileadmin/ce_Bilder/Pfeil_mittelblau.jpg || fileadmin/ce_Bilder/Pfeil_hellblau.gif
}
MENUL.1.CUR = 1
MENUL.1.CUR {
XY = 164, 25
10 = TEXT
10.text.field = title
10.fontSize = 10
10.iterations = 4
10.fontColor = #F7E85B
10.offset = 10, 18
10.niceText = 1
5 = IMAGE
5.file = fileadmin/ce_Bilder/Pfeil_dunkelblau.jpg
}
MENUL.1.RO < MENUL.1.CUR
MENUL.1.RO = 1
MENUL.2 = GMENU
MENUL.2.stayFolded = 1
MENUL.2.NO {
XY = 164, 25
10 = TEXT
10.text.field = title
10.fontSize = 10
10.fontColor = #19338F
10.iterations = 4
10.offset = 10, 15
10.niceText = 1
linkWrap = <br/>
5 = IMAGE
5.file = fileadmin/ce_Bilder/Pfeil_dunkelgelb.gif || fileadmin/ce_Bilder/Pfeil_gelb.gif || fileadmin/ce_Bilder/Pfeil_dunkelgelb.gif || fileadmin/ce_Bilder/Pfeil_gelb.gif || fileadmin/ce_Bilder/Pfeil_dunkelgelb.gif || fileadmin/ce_Bilder/Pfeil_gelb.gif
}
#ende marks
}
#ende seite
}
Irgendwer eine Idee? Hinweis? Ratschlag? Kopfschmerztablette?