Ich möchte in meinem Typo3 eine dritte Menuebene integrieren. Ist das möglich? Wie kann ich in meinem Template einstellen, dass die dritte Ebene zusätzlich im Menu angezeigt wird.
3 Menu Ebene
Hi!
Jesaja schriebIch möchte in meinem Typo3 eine dritte Menuebene integrieren. Ist das möglich?
Ja.
Jesaja schriebWie kann ich in meinem Template einstellen, dass die dritte Ebene zusätzlich im Menu angezeigt wird.
In Deinem template steht vermutlich etwas wie xyz= HMENU, xyz.1 = TMENU, xyz.2 = TMENU. Lege einfach xyz.3.TMENU an und hinterlege dort die Einstellungen für Dein Menu.
CU
maxhb
hm danke erstmal für deine antwort.
Hab das jetzt nicht gefunden, was du gemeint hast. Ich hab das template mittels dieses "modern template building" Tutorials entworfen.
Ich hab eine HTML Datei und eine css-Datei. Hab in beide Datein reingeschaut und nichts gefunden. Wo genau meinst du soll ich das reinschreiben? Finde keinen logischen Punkt. Hab unterhalb mal die beiden Sourcecodes gepostet:
In der CSS Datei hab ich schon Level3 Styles reingesetzt.
HTML Template:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet href="#internalStyle" type="text/css"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Base template, header, menu, content and footer.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY { margin: 0 0 0 0; background-color: white; }
/*]]>*/
</style>
<link href="res/stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0">
<!-- Header image row: -->
<tr>
<td colspan="2" id="header_1"><img src="images/headerimage.jpg" width="990" height="90" alt="" border="0" /></td>
</tr>
<tr>
<!-- Menu table cell: -->
<td width="200" id="menu_1">
<div class="menu1-level1-no"><a href="#">Menu item 1</a></div>
<div class="menu1-level1-no"><a href="#">Menu item 2</a></div>
<div class="menu1-level1-act"><a href="#">Menu item 3 (act)</a></div>
<div class="menu1-level2-no"><a href="#">Level 2 item</a></div>
<div class="menu1-level2-no"><a href="#">Level 2 item</a></div>
<div class="menu1-level2-act"><a href="#">Level 2 item (act)</a></div>
<div class="menu1-level3-no"><a href="#">Level 2 item</a></div>
<div class="menu1-level3-no"><a href="#">Level 2 item</a></div>
<div class="menu1-level3-act"><a href="#">Level 2 item (act)</a></div>
<div class="menu1-level1-no"><a href="#">Menu item 2</a></div> </td>
<!-- Page Content Area table cell: -->
<td id="content">
<h1>Buy PaperShredder(tm) Gizmo with 30-days money-back guarantee!</h1>
<img src="images/paperwork.jpg" width="192" height="156" border="0" alt="" align="right"/>
<p class="bodytext">Adam Seth Enos Cainan Malelehel Iared Enoch Matusale Lamech Noe Sem Ham et Iafeth filii Iafeth Gomer Magog Madai et Iavan Thubal Mosoch Thirasporro filii Gomer Aschenez et Rifath et Thogorma filii autem Iavan Elisa et Tharsis Cetthim et Dodanim.</p>
<p class="bodytext">Filii Ham Chus et Mesraim Phut et Chanaan filii autem Chus Saba et Evila Sabatha et Rechma et Sabathaca porro filii Rechma Saba et Dadan Chus autem genuit Nemrod iste coepit esse potens in terra Mesraim vero genuit Ludim et Anamim et Laabim et Nepthuim Phethrosim quoque et Chasluim de quibus egressi sunt Philisthim et Capthurim Chanaan vero genuit Sidonem primogenitum et Heth Iebuseum quoque et Amorreum et Gergeseum Evheumque et Aruceum et Asineum Aradium quoque et Samareum et Ematheum filii Sem Aelam et Assur et Arfaxad et Lud et Aram et Us et Hul et Gothor et Mosoch Arfaxad autem genuit Sala qui et ipse genuit Heber porro Heber nati sunt duo filii nomen uni Phaleg quia in diebus eius divisa est terra et nomen fratris eius Iectan Iectan autem genuit Helmodad et Saleph et Asermoth et Iare Aduram quoque et Uzal et Decla Ebal etiam et Abimahel et Saba necnon et Ophir et Evila et Iobab omnes isti filii Iectan Sem Arfaxad Sale Heber Phaleg Raau Serug Nahor Thare Abram iste est Abraham filii autem Abraham Isaac et Ismahel et hae generationes eorum primogenitus Ismahelis Nabaioth et Cedar et Adbeel et Mabsam </p>
<br /> </td>
</tr>
<!-- Footer row: -->
<tr>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="2" id="footer">
<p>Footer</p>
</td>
</tr>
</table>
</body>
</html>
CSS Datei
/* GENERAL fonts */
body {
font-family: verdana, arial;
}
P, OL, UL, DIV, H1, H2 {
font-family: verdana, arial;
font-size: 11px;
}
H1 { font-size: 15px; }
H2 { font-size: 13px; }
P, H1, H2 {margin: 0px 0px 5px 0px;}TD#footer {padding-top: 3px;}
TD#footer {border-top: 1px solid #999999;}
TD#footer P {
font-size: 10px;
text-align: center;
}/* Content column */
TD#content {
padding-left: 10px;
padding-right: 10px;
padding-top: 15px;
vertical-align: top;
width: 770px;
}/* Menu 1 column */
TD#menu_1 {
vertical-align: top;
width: 200px;
/* background-image: url(../images/menubackground.jpg); */
padding-top: 10px;
}
TD#menu_1 DIV {
width: 90%;
}
TD#menu_1 DIV A {
color: navy;
text-decoration: none;
}
TD#menu_1 DIV A:hover {
text-decoration: underline;
}/* MENU 1, level 1, normal state (NO) */
TD#menu_1 DIV.menu1-level1-no {
border-bottom: 1px solid #999999;
font-size: 11px;
color: #FFFFFF;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
}
/* MENU 1, level 1, active state (ACT) */
TD#menu_1 DIV.menu1-level1-act {
border-bottom: 1px solid #999999;
background-color: #E2E9F4;
font-weight:bold;
font-size: 11px;
color: #FFFFFF;
padding-top:4px;
padding-bottom:4px;
padding-left:5px;
filter:alpha(opacity='70', style='0');
}
TD#menu_1 DIV.menu1-level1-act A {
color:black;
}/* MENU 1, level 2, normal state (NO) */
TD#menu_1 DIV.menu1-level2-no {
font-size: 10px;
padding: 2px 0px 2px 15px;
}
/* MENU 1, level 2, active state (ACT) */
TD#menu_1 DIV.menu1-level2-act {
font-size: 10px;
font-weight:bold;
padding: 2px 0px 2px 15px;
}/* MENU 1, level 3, normal state (NO) */
TD#menu_1 DIV.menu1-level3-no {
font-size: 10px;
padding: 2px 0px 2px 20px;
}
/* MENU 1, level 3, active state (ACT) */
TD#menu_1 DIV.menu1-level3-act {
font-size: 10px;
font-weight:bold;
padding: 2px 0px 2px 20px;
}/* MENU 2, level 1, general for all table cells: */
TR#menu_2 TD {
background-color: #333366;
width: 10%;
text-align: center;
padding: 0px 2px 0px 2px;
}
TR#menu_2 TD A {
color: white;
font-size: 10px;
font-family: verdana, arial;
text-decoration: none;
}
TR#menu_2 TD A:hover {
text-decoration: underline;
}
TR#menu_2 TD.oddcell {
background-color: #666699;
}
TR#menu_2 TD.menu2-level1-act {
background-color: #E2E9F4;
}/* Style for the Path-menu: */
TD#path {
white-space: nowrap;
background-color: #F8F8EC;font-family: verdana, arial;
font-size: 11px;
font-style: italic;
font-weight: bold;
padding: 1px 1px 5px 5px;
}
TD#path A {
text-decoration: none;
color:black;
}
TD#path A:hover {
text-decoration: underline;
}
Hi!
Jesaja schriebHab das jetzt nicht gefunden, was du gemeint hast. Ich hab das template mittels dieses "modern template building" Tutorials entworfen.
Schau mal in Dein (TypoScript) Template, da solltest Du fündig werden.
Hauptseite Deiner Web Site wählen -> Modul Templates -> da steht es...
CU
maxhb
wow danke.
ging echt schnell und easy