Hallo
Ich versuche seit Stunden ein GMENU einzurichten. Das komische ist, das im Frontend überhaupt keine Navigation angezeigt wird, die Ausgabe bleibt einfach leer. Wenn ich daraus ein TMENU mache, klappt es einwandfrei und die Navigation wird angezeigt. Kann mir jemand sagen ob es für ein GMENU bestimmte Voraussetzungen oder Einstellungen braucht, damit überhaupt etwas angezeigt wird? Ich häng noch den CODE für das Menu an, allerdings hab ich schon so viele GMENU Codebeispiele getestet, dass ich nicht glauben kann, dass es irgendwie am Code liegt.
Vielen Dank für Eure Hilfe
Christoph
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/typo3_template.html
relPathPrefix = fileadmin/template/
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
DIV.id.all = 1
DIV.id.all.subpartMarker = DOCUMENT_ALL
DIV.id.navcontainer = 1
DIV.id.navcontainer.subpartMarker = NAVCONTAINER
DIV.id.content = 1
DIV.id.content.subpartMarker = CONTENT
}
}
# Menu Objekt
gmenu = HMENU
gmenu.1 = GMENU
gmenu.1.NO {
XY = [10.w]+15,29
backColor = #FFFFFF
wrap= |<br />
10.fontColor = #FF9999
10 = TEXT
# the two slashes are not a comment
# it says that title will be used if nav_title is empty
10.text.field = nav_title // title
10.offset = 0,20
# leave fontFile empty to use default font (Verdana)
10.fontFile =
10.fontSize = 12
}
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get
subparts.NAVCONTAINER < gmenu
}
temp.headTemplate = TEMPLATE
temp.headTemplate {
template =< plugin.tx_automaketemplate_pi1
workOnSubpart = DOCUMENT_HEADER
}
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/template/style.css
page.10 < temp.mainTemplate
page.headerData.10 < temp.headTemplate