Einzelnen Beitrag anzeigen
  #1  
Alt 06.03.07, 17:59
Faircamion Faircamion ist offline
Forum Aktivist
 
Registriert seit: 09.10.05
Beiträge: 50
Faircamion eine Nachricht über ICQ schicken

Content-marker wird nicht ersetzt


Hallo,

Ich habe heute zum ersten mal versucht, ein eigenes Template zu erstellen, welches nicht auf tabellan sondern auf containern basiert.

Ich bin jetzt so weit, das ich ein Template habe, eine css datei und ein wenig TS. Aber es ist halt das erste mal, das ich ne css-Datei schreibe, was man vermutlich auch sieht.

Nun wird der content-marker nicht ersetzt.

Ich weis nicht wo der Fehler ist:
Die seite: Testseite: Startseite
Das Template:

PHP-Code:
<!--###document###-->
<div id="all">
<
div id="topnav">###topnav###</div>
<div id="nav">###nav###</div>
<div id="head">###head###</div>
<div id="content">###content###</div>
<div id="right">###right###</div>
<div id="footer">###footer###</div>
<!--###document###--> 
Die CSS-Datei:
PHP-Code:
#all
{
position:absolute
width:974px
height:718px
z-index:1
border:1px solid #000000; 
left25px
top25px;
}

#topnav
{
position:absolute
width:972px
height:25px
z-index:7
border:1px solid #000000; 
top75px;
}

#nav
{
position:absolute
width:150px
height:593px
z-index:2
border1px solid #000000; 
top102px;
}

#head
{
position:absolute
width:972px
height:100px
z-index:3
border1px solid #000000; 
}

#content
{
position:absolute
width:670px
height:593px
z-index:4
border1px solid #000000; 
left152px
top102px;
}

#right
{
position:relative;
float:right;
width:150px
height:593px
z-index:5
border1px solid #000000; 
top102px;
}

#footer
{
position:absolute
width:972px
height:20px
z-index:6
border1px solid #000000; 
top696px;

Typoscript:
Typoscript-Code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
page = PAGE
page {
typeNum = 0
stylesheet = fileadmin/css/style.css
20 = TEMPLATE
20.template = FILE
20.template.file = fileadmin/template/template.html
20.workOnSubpart = document

10.marks {
content = CONTENT
content {
table = tt_content
}
}
}

tt_content = COA
tt_content {
10 = TEXT
10 {
field = header
wrap = <h1>|</h1><br />
}

20 = TEXT
20 {
field = bodytext
wrap = <p>|</p>
}
}
__________________
Informationen zu TYPO3 und zum Server:
TYPO3 Ver. 4.0.0 | MySQL 3.23.58 | PHP 4.4.1

Geändert von Faircamion (06.03.07 um 20:57 Uhr).
Mit Zitat antworten