![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Huhu, ich habe bereits das Forum durchsucht, aber keinen passenden Hinweis für mein Problem gefunden. Und zwar besteht mein menü aus 2 Teilen. Einer ist horizontal (Hauptteil). Wenn man nun einen Menüpunkt im horizontalen Menü anklickt, dann öffnen sich die jeweiligen Unterpunkte. Das horizontale Menü ist in einer anderen div, als das vertikale. Ich habe schon alles versucht. Wie kann ich dieses Menü in Typoscript einbinden? Müssen die MARKER vielleicht anders gesetzt werden. Ich seh grad den Wald vo lauter Bäumen nicht mehr. :/ Ich danke euch schon einmal. Hier der HTML-Code Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="content-language" content="de" />
<link rel="stylesheet" type="text/css" href="dmbg.css" />
<title>Willkommen</title>
</head>
<body><!-- ###BODY### begin -->
<div id="logo">
<a href="#"><img src="media/schriftzug_einzeilig.gif" alt="" height="25" width="200" border="" /></a></div>
<div id="logodenkmalpflege">
<a href="#"><img src="media/dmbg_schriftzug.gif" alt="" height="" width="" border="" vspace="1"/></a></div>
<div id="anfuehrung">
<img src="media/punktlinie_studium.gif" alt="" height="" width="" hspace="7" vspace="12" /></a></div>
<div id="headermenue"><!-- ###MENU### begin -->
<ul>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
<li><a href="#">TEST</a></li>
</ul></ul>
</div>
<div id="navi">
<ul>
<li><a class="current" href="#">Test 1.1</a>
<ul>
<li><a class="current" href="#">Test 1.1.1</a>
<ul>
<li><a class="normal" href="#">Test 1.1.2</a>
<li><a class="current" href="#">Test 1.1.3</a>
</ul>
</li></ul></ul>
<ul>
<li><a href="#">Vorlesungen</a></li>
<li><a href="#">Test 1.2</a></li>
<li><a href="#">Test 1.3</a></li>
<!-- ###MENU### end --></div>
<div id="inhalt"><!-- ###INHALT### begin -->
<h1>zjhgjhjgjghj</h1>
<img class="clear" src="media/initiale.gif" alt="" height="182" width="255"/><p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
<p>Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</p>
<p>Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.</p>
<p>Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer.</p><!-- ###INHALT### end --></div>
<div id="footer">
<div id="footerinhalt"><a href="../../../index.php?id=9810">Kontakt</a> | <a href="#">Impressum</a> | © ###YEAR###</div></div>
<!-- ###BODY### end -->
</body>
</html> |
|
#2
| |||
| |||
| Wenn das so wäre, hättest Du die Lösung. Vielleicht postest Du mal Deinen TypoScript-Code, den Du bis jetzt für das Menü entwickelt hast. |
|
#3
| |||
| |||
| Huhu, danke für deine Antwort. Ich hab jedenfalls einiges ausprobiert. Alles nicht, da gebe ich dir echt. War ja auch nur so gesagt. Ich bekomme zwar hin, dass er was ausgibt, aber von einem ganz anderen Seitenbaum und alles kreuz und quer. Ich hoffe ihr habt eine Idee Hier der Code:Code: page.10.subparts.MENU = HMENU
page.10.subparts.MENU.entryLevel = 0
page.10.subparts.MENU {
1 = TMENU
1 {
expAll = 1
wrap = <div id="headermenue"><ul>|</ul></div>
noBlur = 1
NO.wrapItemAndSub = <li>|</li>
NO.ATagTitle.field = title
IFSUB = 1
IFSUB.ATagTitle.field = title
IFSUB.wrapItemAndSub = <li>|</li>
ACTIFSUB < .IFSUB
}
2 < .1
2.wrap = <div id="navi"<ul>|</ul></div>
2.NO.ATagTitle.field = title
3 < .2
} |
|
#4
| |||
| |||
| TYPO3.net - Das deutsche TYPO3-Portal:TMENU Dort kannst Du nachlesen, dass expAll bewirkt, dass alle Untermenüs ausgeklappt werden. Deswegen wird der gesamte Seitenbaum ausgegeben, was Du ja wahrscheinlich nicht willst. Die Anweisung "3 < .2" wird außerdem ein Output ergeben (ab der dritten Menüebene) der wahrscheinlich auch nicht gewünscht ist. |
|
#5
| ||||||
| ||||||
| Moin, da du an beiden Stellen etwas unterschiedliches ausgeben willst (Hauptmenüpunkte und Untermenüpunkte) : JA. (z. B. MENU und UNTERMENU). Hauptmenü: Typoscript-Code:
Untermenü: Typoscript-Code:
__________________ Gruß, Fabian Grafe alias »ttb« » deutsche Installationsanleitung zu TYPO3 » Erste Schritte / Einrichtung nach der Installation von TYPO3 |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Gelöst Problem mit Menü | DanHard | TYPO3 4.x Fragen und Probleme | 2 | 31.05.08 21:25 |
| Menü Problem | tpoppe | GMENU, HMENU, TMENU und Co. | 8 | 20.09.07 13:55 |
| Sitemap Menü - Menü Problem | tschinkes | GMENU, HMENU, TMENU und Co. | 0 | 01.03.07 14:38 |
| Problem mit Menü | bvoit | GMENU, HMENU, TMENU und Co. | 5 | 15.10.06 19:47 |
| Menü und CSS Problem | ernstle | GMENU, HMENU, TMENU und Co. | 4 | 04.08.06 14:33 |