Hallo @ all,
bin sehr unerfahren was typo3 betrifft und versuche mich gerade an diesem menu.
ich habe meine index.html via templavoila gemappt
code der index
<style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY { margin: 20 20 20 20; }
/*]]>*/
</style>
<link href="main.css" rel="stylesheet" type="text/css" />
</head>
<body class="bhigru" bgcolor="#000000">
<table width="720" height="190" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="720" height="96" class="kopf" cellspacing="0" cellpadding="0">
<tr>
<td with="720" height="33" class="menu" cellspacing="0" cellpadding="0">
<div class="tablemain1">
<div id="cMenu">###MENU###</div>
</div>
</div>
<tr>
<td with="720" height="61" class="kopfunten" cellspacing="0" cellpadding="0">
</td>
</tr>
<tr>
<td class="contentpiclong" cellspacing="0" cellpadding="0"><p> </p>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td id="contentol" width="352">
<p> </p>
</td>
<td id="contentor" width="352"> </td>
</tr>
<tr>
<td id="contentul">
<p> </p>
</td>
<td id="contentur"> </td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
</td>
</tr>
<tr>
......
habe folgenden TS SETUP code ( wobei ich gaube das ich dort vielleicht was falsch gemacht habe
# Default PAGE object:
page = PAGE
page.typeNum = 0
page.stylesheet = fileadmin/templates/main.css
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
page.10{
marks.MENU = COA
marks.MENU {
10 < temp.ypMenu
20 < temp.user_menu
}
}
ich habe die ypMenu.css in meine main.css mit rein genommen
ich habe auch in mein Haupttemplate die temp.yp.Menu per Include Basis Template eingebunden
Hier die geänderte temp.ypMenu
#ypMenu
#
config.no_cache = 1
#
page.includeLibs.ypMenu = fileadmin/scripts/ypMenu.php
#
page.headerData.11 = TEXT
#
page.headerData.11.value = <script type="text/javascript" src="fileadmin/scripts/ypSlideOutMenus.js" language="JavaScript"></script> temp.ypMenu.special = directory
#
# 57 ist die ID der root-page - siehe screenshot
#
temp.ypMenu.special.value = 1
temp.ypMenu = HMENU
#
temp.ypMenu {
#
1 = GMENU
#
1 {
#
IProcFunc = user_menu->firstLevel
#
expAll = 1
#
wrap = |
#
NO = 1
#
NO {
#
wrap = |
#
XY = [50.w]+20, 31
#
30 = IMAGE
#
30.file = fileadmin/scripts/menu_bg2.gif
#
50 = TEXT
#
50 {
#
text.field = title
#
fontSize = 10
#
fontFile = fileadmin/templates/fonts/verdana.ttf
#
fontColor = #222222
#
offset = 10,20
#
niceText = 0
#
transparentBackground = 1
#
}
#
100 = || IMAGE
#
100.file = fileadmin/scripts/menu_space.gif
#
}
#
#
IFSUB < temp.ypMenu.1.NO
#
IFSUB = 1
#
#
RO < temp.ypMenu.1.NO
#
RO = 1
#
RO {
#
backColor = #DDDDDD
#
30 >
#
}
#
#
IFSUBRO < temp.ypMenu.1.NO
#
IFSUBRO = 1
#
IFSUBRO {
#
backColor = #DDDDDD
#
30 >
#
}
#
}
#
#
2 = TMENU
#
2 {
#
IProcFunc = user_menu->secondLevel
#
expAll = 1
#
NO.linkWrap = <li>|</li>
#
}
#
#
3 = TMENU
#
3 {
#
IProcFunc = user_menu->thirdLevel
#
expAll = 1
#
NO.linkWrap = <li>|</li>
#
}
#
#
4 = TMENU
#
4 {
#
IProcFunc = user_menu->fourthLevel
#
expAll = 1
#
NO.linkWrap = <li>|</li>
#
}
#
}
#
#
temp.user_menu = USER
#
temp.user_menu.userFunc = user_menu->menuEnd
die bilder sind nicht vorhanden ... aber das sollte zum testen nichts ausmachen denn da sollte ich entweder nix oder nur ein weisses kästchen sehnen....
aber wenn ich meine startseite aufrufe dann steht dort temp.ypMenu.special = directory
hier noch ein link zum anschauen
http://web6.h118879.serverkompetenz.net/index.php?id=2
wäre toll wenn mir da jemand weiterhelfen könnte