Zum Inhalt springen

horizontale Unternavi

Erstellt am 16. Dezember 2008 · 4 Antworten · letzte Antwort am 17. Dezember 2008

Tags: Frage

mohndorf ·

hallo liebe typo3 profis!

wir müssen derzeit im zuge eines projektes eine website in typo3 erstellen!
Im CSS funktioniert unsere horizontale Unternavi, doch in Typo3 wird die Unternavi nicht angezeigt!
#angry#
Bitte helft uns weiter!

Code Unternavi:

tmp.Unternavi= HMENU
tmp.Unternavi {
entryLevel = 1
wrap= <div id = "navi"> | </div>
special = directory
special.value = 29,30,32,33,34
1=TMENU
1 {
wrap= <ul> | </ul>
NO = 1
No.wrapItemmAndSub = <li> | </li>
}
}

alphaonline ·

Wie sieht denn der erzeugte Quelltext aus ??
Da kann man dann meist schon Rückschlüsse ziehen !

Außerdem:

NO = 1
No.wrapItemmAndSub = <li> | </li>

kleines "o" in der zweiten Zeile, und was ist ein "Itemm" ?? !

d.​walter ·

Hallo und herzlich willkommen im Forum.

Bitte das nächste mal die Codebox für Code benutzen.

Zu dem von alphaonlie kommt noch das obligatorische nie entryLevel mit special kombinieren. Das ergibt keinen Sinn!

Daniel

mohndorf ·

erstmal danke für deine hilfe!

hier mal wie die navi im CSS ausschaut, doch im typo3 wird die graue unternavi nicht angezeigt!

Bild: img442.imageshack.us/…/mohndorfnavitr0.th.jpg

hier der quelltext vom template:

<!DOCTYPE html
	PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!-- 
	This website is powered by TYPO3 - inspiring people to share!
	TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
	TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
	Information and contribution at http://typo3.com/ and http://typo3.org/
-->

	<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_e0e5d20748.css" />
	<link rel="stylesheet" type="text/css" href="uploads/tf/stylesheet_probe.css" />
	<title>Mohndorf Armschlag</title>
	<meta name="generator" content="TYPO3 4.0 CMS" />
	<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>


</head>
<body>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Mohndorf Armschlag</title>

<link href="stylesheet_probe.css" rel="stylesheet" type="text/css" />
</head>


<body>
<!--###DOCUMENT_BODY### start-->
<div id="box" align="center">
<div id="banner">
<!--###BANNER### start-->
<!--###BANNER### stop-->
</div>
<div id="navi">

<!--###NAVI### start-->

<ul class="select a">
<li><a href="#nogo"><b>Home</b></a></li>
</ul>

<ul class="select a b">
<li class="line"><a href="#nogo"><b>Mohndorf</b></a>
	<ul class="sub">
		<li><a href="#nogo">Qualitätsnachweis</a></li>
		<li><a href="#nogo">Mohnbauern</a></li>
		<li><a href="#nogo">Angebote</a></li>
	</ul>
	</li>
	</ul>
	
<ul class="select a b">
<li class="line"><a href="#nogo"><b>Mohnwirt</b></a>
	<ul class="sub">
		<li><a href="#nogo">Speisekarte</a></li>
		<li><a href="#nogo">Rezepte</a></li>
		<li><a href="#nogo">Medienpräsenz</a></li>
	</ul>
	</li>
	</ul>
<ul class="select a">
<li><a href="#nogo"><b>Webshop</b></a></li>
</ul>

<ul class="select a b">
<li class="line"><a href="#nogo"><b>Events</b></a>
	<ul class="sub">
		<li><a href="#nogo">Mohntermine</a></li>
		<li><a href="#nogo">Mohnseminar</a></li>
		<li><a href="#nogo">Strudelweg</a></li>
	</ul>
	</li>
	</ul>
	
<ul class="select a b">
<li class="line"><a href="#nogo"><b>Fotos</b></a>
	<ul class="sub">
		<li><a href="#nogo">längstes Mohnbild</a></li>
		<li><a href="#nogo">Mohngarten</a></li>
		<li><a href="#nogo">Mohnwirtshop</a></li>
		<li><a href="#nogo">Besucher</a></li>
		<li><a href="#nogo">Mohnlehrpfad</a></li>
	</ul>
	</li>
	</ul>
			
<ul class="select a b">
<li class="line"><a href="#nogo"><b>Aktuelles</b></a>
	<ul class="sub">
		<li><a href="#nogo">Mohnwirt informiert</a></li>
		<li><a href="#nogo">Bauernladen</a></li>
	</ul>
	</li>
	</ul>
	
<ul class="select a">
<li><a href="#nogo"><b>Partner</b></a></li>
</ul>
<!--###NAVI### stop-->
</div>
<div id="inhalt">
<!--###INHALT### start-->
<!--###INHALT### stop-->
</div>
<div id="seite" align="right">
<!--###SEITE### start-->
<!--###SEITE### stop--></div>
<div id="fuss" align="center">
<!--###FUSS### start-->
Kontakt
Impressum
AGB
<!--###FUSS### stop-->
</div>

</div>
<!--###DOCUMENT_BODY### stop-->
</body>
</html>

</body>
</html>

ist zwar sehr umfangreich und unübersichtlich ... aba naja, wir sind eben anfänger ...

wenn noch mehr infos gebraucht werden, bitte einfach melden!

danke im voraus für eure bemühungen!

mschwemer ·

Du hast das Menü als Subpart eingefügt. Es müsste aber ein Marker sein.

Folgendes muss raus:

<!-- ###NAVI### start -->
...
<!-- ###NAVI### stop -->

Ersetze es duch ein einfaches

###NAVI###

.

Dem Marker musst Du dann noch deine TS-Menüdefinition übergeben.

Gruß,
Marcus