Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten Ansicht
  #1  
Alt 06.03.07, 17:59
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).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Sponsored Links
  #2  
Alt 06.03.07, 20:57
Forum Aktivist
 
Registriert seit: 09.10.05
Beiträge: 50
Faircamion eine Nachricht über ICQ schicken

Hab den fehler,

ich weis nicht warum ich das gemacht habe, aber ich bin ja wie man sieht im Typoscript mit 20 = TEMPLATE .. angefangen.

Mit 10 = TEMPLATE gehts.
__________________
Informationen zu TYPO3 und zum Server:
TYPO3 Ver. 4.0.0 | MySQL 3.23.58 | PHP 4.4.1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
Mit Zitat antworten
Antwort


Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge anzufügen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

vB Code ist An.
Smileys sind An.
[IMG] Code ist An.
HTML-Code ist Aus.
Trackbacks are An
Pingbacks are An
Refbacks are An


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
upload file now Marker wird nicht ersetzt thenewone TYPO3 4.x Fragen und Probleme 1 02.03.08 21:10
Marker im Plaintext Template werden nicht ersetzt texasfrank Direct Mail 3 01.02.08 14:21
jp_pageteaser: & wird nicht durch &amp; ersetzt Tetsuo Alle anderen Extensions 1 27.03.07 15:58
autoparser ersetzt marker nicht lifestyle TYPO3 4.x Fragen und Probleme 0 24.07.06 10:50
Content wird nicht angezeigt, stattdessen nur der Marker (###CONTENT###) Harry TYPO3 3.x Fragen und Probleme 13 13.12.05 08:38


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:00 Uhr.


Powered by vBulletin® Version 3.6.8 Patch Level 2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Template-Modifikationen durch TMS