Zum Inhalt springen

Inhalt wird nicht angezeigt - wegen Versionsunterschied?

Erstellt am 29. Oktober 2010 · 2 Antworten · letzte Antwort am 2. November 2010

Tags: Update & Upgrade, TYPO3 4, Frage

lood ·

Hallo Leute

Ich habe eine Seite die auf Typo3 Version 4.1.1 aufgebaut wurde. Da ein Update auf die neuste Version nicht ganz sauber verlief, entschied ich mich, diese Seite 1:1 in eine neue zu übernehmen.

Die neuste Version wäre jetzt 4.4.4

Somit habe ich alle Daten und Seiten, so ziemlich alles, genau gleich in der neuen Typo3-Seite aufgebaut. Sieht auch alles recht ordentlich aus, nur wird der Inhalt Content nicht angezeigt.

Hier mal das TS, welches in der Version 4.1.1 funktioniert, aber in der 4.4.4 nicht:

#Spam Protection
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at) 

##Um das clear.gif aus dem Inhalt zu entfernen
tt_content.image.20.spaceBelowAbove = 0
tt_content.header.stdWrap.space = 0|0
tt_content.stdWrap.space = |
tt_content.stdWrap.spaceBefore = 0
tt_content.stdWrap.spaceAfter = 0
lib.stdheader.stdWrap.space = 0|0
tt_content.textpic.20.noStretchAndMarginCells = 1
tt_content.image.20.noStretchAndMarginCells = 1 
tt_content.stdWrap.space=0
tt_content.image.20.spaceBelowAbove = 0
tt_content.textpic.20.spaceBelowAbove = 0
tt_content.image.stdWrap.spaceBefore = 0|0
tt_content.image.stdWrap.spaceAfter = 0|0
tt_content.image.stdWrap.spaceLeft = 0|0
tt_content.image.stdWrap.spaceRight = 0|0
tt_content.stdWrap.spaceBefore.field = 0
tt_content.stdWrap.spaceAfter.field = 0 


lib.stdheader.10.setCurrent.htmlSpecialChars = 0
lib.stdheader = COA
lib.stdheader {
    10.1 = TEXT
    10.1.current = 1
    10.1.insertData = 1
    10.1.fontTag = <h1>|</h1>
    10.2 < .10.1
    10.2.fontTag = <h2>|</h2>
    10.3 < .10.1
    10.3.fontTag = <h3>|</h3>
    10.4 < .10.1
    10.4.fontTag = <h4>|</h4>
    10.5 < .10.1
    10.5.fontTag = <h5>|</h5>
    stdWrap.dataWrap = |
}

# Seite festlegen
page = PAGE
page.typeNum = 0

# HTML - Template laden und CSS zuweisen
page.10 = TEMPLATE
page.10.template = FILE
page.10.template.file = fileadmin/test/resources/test.html
page.stylesheet = fileadmin/test/styles/style.css


# Parseinstellung und Zuordnung der Contentelemente zu den Markern im HTML-Template
page.typeNum = 0
page.10 = TEMPLATE
page.stylesheet = fileadmin/test/styles/style.css
page.10 {
     template = FILE
     template.file = fileadmin/test/resources/test.html
     workOnSubpart = DOKUMENT
     marks.PIC < styles.content.getLeft
     marks.INHALT < styles.content.get
     marks.RIGHT < styles.content.getRight
}

# Navigation

temp.navi = COA
temp.navi.wrap = <table cellpadding="0" cellspacing="0" border="0">|</table>
temp.navi.10 = HMENU
temp.navi.10.1 = TMENU
temp.navi.10.1 {
NO.ATagParams = class="navigation"
NO.allWrap = <td valign="middle" height="24"><img src="fileadmin/test/images/clear.gif" width="10">|<img src="fileadmin/test/images/clear.gif" width="10"></td>

ACT <.NO
ACT = 1
ACT.allWrap = <td bgcolor="#336699" valign="middle" height="24"><img src="fileadmin/test/images/clear.gif" width="10">|<img src="fileadmin/test/images/clear.gif" width="10"></td>
ACT.ATagParams = class="navigationact"
}

# Subnavigation

temp.sub = COA
temp.sub.wrap = <table cellpadding="0" cellspacing="0" border="0">|</table>
temp.sub.10 = HMENU
temp.sub.10.entryLevel = 1
temp.sub.10.1 = TMENU
temp.sub.10.1 {
NO.ATagParams = class="subnavigation"
NO.allWrap = <td valign="top"><img src="fileadmin/test/images/clear.gif" width="10" height="16">|<img src="fileadmin/test/images/clear.gif" width="20" height="16"></td>

ACT <.NO
ACT = 1
ACT.allWrap = <td bgcolor="#D1E1EA" valign="top"><img src="fileadmin/test/images/clear.gif" width="10" height="17">|<img src="fileadmin/test/images/clear.gif" width="20" height="16"></td>
ACT.ATagParams = class="subnavigationact"
}

teaser = TEXT
teaser.value = {$teaser}
teaser.wrap = <img src="fileadmin/test/images/|" >
}

### FORMATIERUNG DER HEADER ### 
content.defaultHeaderType = 1 
content.wrap.header1 = <div class="hr1"> | </div>
}

page.10.marks.NAVIGATION < temp.navi
page.10.marks.SUB < temp.sub

marks.TOP < html
marks.TOP < teaser


tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Verdana" size=1color==#000099><b> | </b></font>
tt_content.mailform.20.goodMess = Vielen Dank für Ihre Anfrage, wir werden uns so schnell wie möglich bei Ihnen meden!
tt_content.mailform.20.badMess = Folgende Felder sind Pflichtfelder
tt_content.mailform.20.radioWrap.wrap = <font face="Verdana" size=1 color="black"><b> | </b></font>
tt_content.mailform.20.labelWrap.wrap = <font face="Verdana" size=1 color="black"><b> | </b></font>
tt_content.mailform.20.labelWrap.wrap = <font face="Verdana" size=2 color="black"><b> | </b></font>
tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Verdana" size=2 color==#0099FF><b> | </b></font>
tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Verdana" size=2 color==#0099FF><b> | </b></font>
tt_content.mailform.20.REQ.labelWrap.wrap. = <font face="Verdana" size=2 color==#0099FF><b> | </b></font>
tt_content.mailform.20.REQ.labelWrap.wrap = font face="Verdana" size=2 color=#0099FF> |</font>
tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Arial" size=2 color=#3366CC><b> |</b></font>
tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Verdana, Arial, Helvetica, sans-serif" size=2 color=#000099> |</font>
tt_content.mailform.20.REQ.labelWrap.wrap = <font face="Verdana, Arial, Helvetica, sans-serif" size=2 color=#000099> |</font>
tt_content.mailform.20.labelWrap.wrap = <font face="Verdana" size=2 color="black"> |<b> </b></font>
tt_content.mailform.20.target = self

Könnte mir da jemand weiterhelfen?

PS: Es kann sein das die Verlinkungen wie auf ein Template nicht übereinstimmen. Müsst euch keine Sorge machen, bei mir sind sie richtig. Ich habe sie hier nur anders benannt.

Greets
lood

Backdraft007 ·

Bin mir nicht ganz sicher, ab welcher Version das war, aber in der 4.4.4 ist die Extension "Static Templates" nicht installiert.
Vorhanden ist sie, musst sie nur installieren. Und im Template dann unter Static Templates den "content" hinzufügen.