es klapt nicht!??!
ich will das menu der ebene 3 und 4 (rechtes menu) nicht eingeblendet haben, wenn die ebenen nicht vorhanden sind. zur zeit blendet es aber die imgages die im wrap stehen ein, auch, wenn die ebenen nicht vorhanden sind.
das template setup:
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/template/voba.css
page.bodyTag = <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor=white link="#000000" vlink="#000000" alink="#000000" text="#000000">
page.10 = TEMPLATEpage.10 {
template = FILE
template.file = fileadmin/template/template.html
workOnSubpart = DOKUMENT######################################################
#######################INHALT##########################
######################################################
marks.INHALT < styles.content.get
marks.INHALT_1 < styles.content.getRight######################################################
#######################MENU_1.1########################
######################################################
marks.MENU_1 = HMENUmarks.MENU_1.1 = GMENU
marks.MENU_1.1.expAll = 1
marks.MENU_1.1 {
NO {
backColor = #FF0000
XY = 150,23
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/arial.ttf
10.fontSize = 10
10.fontColor = #000000
10.offset = 20,15
10.niceText = 1
5 = IMAGE
5.file = fileadmin/template/menutop.jpg
allWrap = <IMG SRC="fileadmin/template/spacer.jpg" height="8"><BR> | <BR> <IMG SRC="fileadmin/template/spacer.jpg" height="4"><BR> <IMG SRC="fileadmin/template/spacer.jpg" height="1" width="15"><IMG SRC="fileadmin/template/greenpix.jpg" height="1"width="124"><BR>
}RO < .NO
RO = 1
RO.5.file = fileadmin/template/menutop.jpgACT < .NO
ACT = 1
ACT.5.file = fileadmin/template/menutop.jpg
ACT.10.fontFile = fileadmin/arialbd.ttf}
######################################################
#######################MENU_1.2########################
######################################################
marks.MENU_1.2 = GMENU
marks.MENU_1.2 {
NO {
backColor = #FF0000
XY = 122,20
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/arial.ttf
10.fontSize = 9
10.offset = 25,13
10.niceText = 1
5 = IMAGE
10.fontColor = #336600
5.file = fileadmin/template/menubottom.jpg
allWrap = <IMG SRC="fileadmin/template/spacer.jpg" height="1" width="15"><IMG SRC="fileadmin/template/greenpix.jpg" height="20"width="1"> | <IMG SRC="fileadmin/template/greenpix.jpg" height="20"width="1"><BR>
}
RO < .NO
RO = 1
RO.5.file = fileadmin/template/menubottom2.jpgACT < .NO
ACT = 1
ACT.5.file = fileadmin/template/menubottom.jpg
ACT.10.fontColor = #000000}
######################################################
#######################MENU_2.1########################
######################################################
marks.MENU_2 = HMENU
marks.MENU_2.wrap=</td><td width="100" valign="top"><IMG SRC="fileadmin/template/spacer.jpg" height="8"><BR> | <BR> <IMG SRC="fileadmin/template/spacer.jpg" height="4"><BR> <IMG SRC="fileadmin/template/spacer.jpg" height="1" width="15"><IMG SRC="fileadmin/template/greenpix.jpg" height="1"width="124"><BR>marks.MENU_2.entryLevel = 2
marks.MENU_2.1 = GMENU
marks.MENU_2.1 {
NO {
backColor = #FF0000
XY = 150,23
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/veranda.ttf
10.fontSize = 9
10.offset = 4,15
10.niceText = 1
5 = IMAGE
5.file = fileadmin/template/menutop.jpg
allWrap = | <BR>
}
RO < .NO
RO = 1
RO.5.file = fileadmin/template/4444.jpgACT < .NO
ACT = 1
ACT.5.file = fileadmin/template/4444.jpg}
######################################################
#######################MENU_2.2########################
######################################################
marks.MENU_2.2 = GMENU
marks.MENU_2.2 {
NO {
backColor = #FF0000
XY = 150,20
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/veranda.ttf
10.fontSize = 9
10.offset = 10,13
10.niceText = 1
5 = IMAGE
5.file = fileadmin/template/menubottom.jpg
allWrap = | <BR>
}
RO < .NO
RO = 1
RO.5.file = fileadmin/template/4444.jpgACT < .NO
ACT = 1
ACT.5.file = fileadmin/template/4444.jpg}
######################################################
#######################UNTEN###########################
######################################################
marks.UNTEN = HMENU
marks.UNTEN.special = directory
marks.UNTEN.special.value = 23
marks.UNTEN.1 = TMENU
marks.UNTEN.1.NO {
linkWrap = <FONT COLOR="#000000"; size="1">| </FONT>
}}
und die html datei:
<html>
<head>
<meta http-equiv="Content-Language" content="de">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>dfsgsdfaTypo3</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" bgcolor="#C0C0C0">
<!--###DOKUMENT###--><table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="left"><i.mg src="fileadmin/template/obenrotgelb.jpg" width="400" height="100" alt="" border="0"></td><td bgcolor="#FFFF00" width="100%"><i.mg src="fileadmin/template/topspacer.jpg" width="100%" height="100" alt="" border="0"></TD>
<td align="right"><i.mg src="fileadmin/template/topspacer.jpg" width="300" height="100" alt="" border="0"></td>
</tr></table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr width="1003">
<td align="left" valign="top" colspan="1"> ###MENU_1### ></TD>
<td valign="top" width="100%" align="left" colspan="2">###INHALT### ###MENU_2### </td>
</tr>
<TR> <td align="left" valign="top" ><i.mg src="fileadmin/template/obenrotgelb.jpg" height ="40" width="150"></TD></TR></table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="right" background="fileadmin/template/bottom.jpg">
###UNTEN###</td>
</tr><tr>
<td align="left" width="100%" bgcolor="#FFFFFF"> TV132860 dsffadfsa<br>
blastraße 123<br>
dsfafasdsafd </td>
</tr></table>
</body>
<!--###DOKUMENT###-->
</html>
das i.mg ist beabsichtigt, wg. dem forum