Hallo!
Ich habe folgendes Problem:
Verwende ich in meinem TS expAll=1 wird die 2te Ebene richtig dargestellt.
Kaum möchte ich expAll=0 einbauen, dann wird die 2te Ebene nicht mehr angezeigt.
Wäre für Eure Hilfe echt dankbar!
(Wir haben übrigens kein ImageMagic installiert!)
Hier mein TS:
# Menu 1 cObject
temp.menu_1 = HMENU
temp.menu_1.1 = GMENU
temp.menu_1.special = directory
temp.menu_1.special.value = 152
temp.menu_1.1.NO {
wrap = |
XY = 72,30
#backColor = #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee
#backColor = |*| #cccccc || #dddddd|*|
backColor = #F9F7F3
#4 = IMAGE
#4.file = fileadmin/template/sigi/button.png
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/template/boehm/verdana.ttf
10.fontColor=#c85500
10.fontSize=8
10.offset = 0,20
10.align = left
#10.niceText = 1
}
temp.menu_1.1.RO < temp.menu_1.1.NO
temp.menu_1.1.RO = 1
temp.menu_1.1.RO {
#backColor = #888571
10.fontColor = #888571
}
temp.menu_1.1.ACT < temp.menu_1.1.NO
temp.menu_1.1.ACT = 1
temp.menu_1.1.ACT {
#backColor = #F9F7F3
10.fontColor = #888571
}
# Menu 2 cObject
temp.menu_2 = HMENU
temp.menu_2.entryLevel=1
temp.menu_2.special = directory
temp.menu_2.special.value = 4
# First level menu-object, textual
temp.menu_2.1 = GMENU
temp.menu_2.1.expAll=0
temp.menu_2.1.NO {
wrap = | <br>
XY = 140,20
backColor = #F9F7F3
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/template/boehm/franklgb.ttf
10.fontColor=#888571
10.fontSize=12
10.offset = 0,12
10.align = left
}
temp.menu_2.1.RO < temp.menu_2.1.NO
temp.menu_2.1.RO = 1
temp.menu_2.1.RO {
backColor = #F9F7F3
10.fontColor = #C85500
}
temp.menu_2.1.ACT < temp.menu_2.1.NO
temp.menu_2.1.ACT = 1
temp.menu_2.1.ACT {
backColor = #F9F7F3
10.fontColor = #C85500
}
# Second level menu-object
temp.menu_2.2 = GMENU
temp.menu_2.2 {
#wrap = | <br>
expAll=1
NO {
wrap = | <br>
XY = 140,20
backColor = #F9F7F3
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/template/boehm/franklgb.ttf
10.fontColor=#888571
10.fontSize=10
10.offset = 10,10
10.align = left
}
}
temp.menu_2.2.RO < temp.menu_2.2.NO
temp.menu_2.2.RO = 1
temp.menu_2.2.RO {
backColor = #F9F7F3
#XY = 130,20
#10.fontSize=8
#10.offset = 10,12
10.fontColor = #C85500
}
temp.menu_2.2.ACT < temp.menu_2.2.NO
temp.menu_2.2.ACT = 1
temp.menu_2.2.ACT {
backColor = #F9F7F3
#XY = 130,20
#10.fontSize=8
#10.offset = 10,12
10.fontColor = #654821
}
# Menu 3 cObject
temp.menu_3 = HMENU
temp.menu_3.1 = GMENU
temp.menu_3.special = directory
temp.menu_3.special.value = 5
temp.menu_3.1.NO {
wrap = |
XY = 72,30
#backColor = #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee
#backColor = |*| #cccccc || #dddddd|*|
backColor = #F9F7F3
#4 = IMAGE
#4.file = fileadmin/template/sigi/button.png
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/template/boehm/verdana.ttf
10.fontColor=#c85500
10.fontSize=8
10.offset = 0,20
10.align = left
#10.niceText = 1
}
temp.menu_3.1.RO < temp.menu_3.1.NO
temp.menu_3.1.RO = 1
temp.menu_3.1.RO {
#backColor = #888571
10.fontColor = #888571
}
temp.menu_3.1.ACT < temp.menu_3.1.NO
temp.menu_3.1.ACT = 1
temp.menu_3.1.ACT {
#backColor = #F9F7F3
10.fontColor = #888571
}
# Menu 7 cObject
temp.menu_7 = HMENU
temp.menu_7.1 = GMENU
temp.menu_7.special = directory
temp.menu_7.special.value = 149
temp.menu_7.1.NO {
wrap = |
XY = 72,30
#backColor = #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee || #cccccc || #eeeeee
#backColor = |*| #cccccc || #dddddd|*|
backColor = #F9F7F3
#4 = IMAGE
#4.file = fileadmin/template/sigi/button.png
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/template/boehm/verdana.ttf
10.fontColor=#c85500
10.fontSize=8
10.offset = 0,20
10.align = left
#10.niceText = 1
}
temp.menu_7.1.RO < temp.menu_7.1.NO
temp.menu_7.1.RO = 1
temp.menu_7.1.RO {
#backColor = #888571
10.fontColor = #888571
}
temp.menu_7.1.ACT < temp.menu_7.1.NO
temp.menu_7.1.ACT = 1
temp.menu_7.1.ACT {
#backColor = #F9F7F3
10.fontColor = #888571
}
# Plugin configuration:
plugin.tx_automaketemplate_pi1 {
content = FILE
content.file = fileadmin/template/boehm/index.html
elements {
# (2)
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
# (3)
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
# (4)
SPAN.class.sitepath = 1
# (5)
TABLE.all = 1
TABLE.all.includeWrappingTag = 1
# (6)
TABLE.class.mainTable_class = 1
TABLE.id.mainTable_id = 1
TABLE.id.mainTable_id.doubleWrap = 1
# (7)
TD.id.header = 1
TD.class.content_column = 1
TD.id.topNav=1
TD.id.topnav_left=1
TD.id.bottomNav=1
TD.id.all_about_nav=1
TD.id.contact_nav=1
TD.id.navi_where=1
TD.id.contentmain=1
TD.id.content_right=1
TD.id.topNavLeft=1
# (8-)
DIV.all = 1
}
# (9)
relPathPrefix = fileadmin/template/boehm/
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Getting body tag from template
page.bodyTagCObject =< plugin.tx_automaketemplate_pi1
page.bodyTagCObject.getBodyTag=1
# Getting header data from template, but excluding title-tag (see object configuration)
page.headerData.10 = TEMPLATE
page.headerData.10.template =< plugin.tx_automaketemplate_pi1
page.headerData.10.workOnSubpart = DOCUMENT_HEADER
# Page content:
page.20 = TEMPLATE
page.20.template =< plugin.tx_automaketemplate_pi1
page.20.workOnSubpart = DOCUMENT_BODY
page.20.subparts {
topNav < temp.menu_1
topnav_left < temp.menu_2
bottomNav < temp.menu_3
navi_where < temp.menu_6
topNavLeft < temp.menu_7
Here the dummy-content of the table cell with class "content_column" is substituted with the true content of the page:
contentmain < styles.content.get
content_right < styles.content.getRight
}
#page.10.20.c.25 = PHP_SCRIPT
#page.10.20.c.25.file= media/scripts/example_languageMenu.php