Zum Inhalt springen

content-marker wird nicht ersetzt

Erstellt am 6. März 2007 · 4 Antworten · letzte Antwort am 6. März 2007

Tags: Frage

Faircamion ·

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: http://p27752.typo3server.info/
Das Template:

<!--###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:

#all
{
position:absolute; 
width:974px; 
height:718px; 
z-index:1; 
border:1px solid #000000; 
left: 25px; 
top: 25px;
}

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

#nav
{
position:absolute; 
width:150px; 
height:593px; 
z-index:2; 
border: 1px solid #000000; 
top: 102px;
}

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

#content
{
position:absolute; 
width:670px; 
height:593px; 
z-index:4; 
border: 1px solid #000000; 
left: 152px; 
top: 102px;
}

#right
{
position:relative;
float:right;
width:150px; 
height:593px; 
z-index:5; 
border: 1px solid #000000; 
top: 102px;
}

#footer
{
position:absolute; 
width:972px; 
height:20px; 
z-index:6; 
border: 1px solid #000000; 
top: 696px;
}

Typoscript:

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>
   }
Faircamion ·

ääähm, hast du dir alles durchgelesen?

oben steht der code vom Template, dann das css und am ende das TS!

Oder fehlt sonst noch was?

Ach ja,
css styled content ist auch installiert

kreativsteffi ·

ich glaub da muss das stehen:

10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/template/template.html
10.workOnSubpart = document

10.marks {

aber ich bin auch noch anfänger
lg steffi

p.s. du solltest dein container "all" noch schließen, sonst wäre es inkorrektes html