Einzelnen Beitrag anzeigen
  #1  
Alt 29.08.07, 14:39
gurkenzwerg gurkenzwerg ist offline
Forum Zuschauer
 
Registriert seit: 29.08.07
Beiträge: 1

Wieso wird diese Navigation nicht angezeigt...


Hallo Zusammen,

bin grad dabei mich in Typo einzuarbeiten und bastel gerade an einem Tutorial aus dem Buch "Einstieg in Typo3 4.0". Das Template an dem ich arbeite ist furchtbar simpel gestrickt. Es beinhaltet eine Headergrafik, einen Contentbereich und eben eine Navigation, die aber nicht angezeigt wird. Vielleicht (mit an Sicherheit grenzender Wahrscheinlichkeit) kann mir jemand von euch sagen warum:

Hier das TypoScript:

Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
# Default PAGE object:
page = PAGE
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/beispiel1/template/index.html
subparts.INHALT = CONTENT
subparts.INHALT {
table = tt_content
select.orderBy = sorting
select.where = colPos = 0
)[b] - ERROR:[/b] Line 11: Object Name String, ")" contains invalid character ")". Must be alphanumeric or one of: "_-." - ERROR: Line 11: Object Name String, ")[b]" contains invalid character ")". Must be alphanumeric or one of: "_-."
subparts.NAVI = HMENU
subparts.NAVI    {
wrap = <ul> | </ul>
1 = TMENU
1.NO.linkWrap = <li><b> | </b></li>
}
}[b] - ERROR:[/b] Line 18: The script is short of 1 end brace(s) - ERROR: Line 18: The script is short of 1 end brace(s)
Und hier das Template

Code:
<html>
<head>
<title> TypoTemplateTest </title>
<style>

#page {
width:550px;
}

#navigation {
float:left;
width:150px;
font-family:"Verdana",sans-serif;
font-size:small;
color:#252525;
}

#content {
float:right;
width:400px;
font-family:"Verdana",sans-serif;
font-size:small;
color:#252525;
}

.img {
padding-bottom:15px;
}

</style>
</head>
<body>
<div id="page">
<div class="img"><img src="fileadmin/beispiel1/template/header.gif"></div>

<div id="navigation"> 

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

<!-- ###NAVI### -->
</div>

<div id="content">
<!-- ###INHALT### -->

<!-- ###INHALT### -->
</div>

</div>
</body>
</html>
Schon mal Dankeschöööön
Mit Zitat antworten