Hallo zusammen
Ich habe den Code von einer anderen Seite kopiert und angepasst. Leider werden mir meine Inhalte nicht ausgelesen, sondern immernoch die Platzhalter angezeigt. Die Navigation funktioniert jedoch einwandfrei.
Mein HTML-Code
HTML-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Unbenanntes Dokument</title> <link href="styles/screen.css" rel="stylesheet" type="text/css" /> </head> <body> <!-- ###dokument### start --> <div id="container"> <div id="logo"></div> <div id="eyecatcher">###eyecatcher###
<div id="quicklinkscontainer"> <div id="quicklinks">###quicklinks###</div> </div> </div> <div id="navigation">
###navigation###
</div> <div id="content">###content###
</div> <div id="sidelinks">
###sidelinks###
</div> <div id="borderbottom"></div> <div id="footer"></div> </div> <!-- ###dokument### ende --> </body> </html> Mein Template-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: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118:
| seite = PAGE seite.typeNum = 0 seite.10 = TEMPLATE seite.10 { template = FILE template.file = fileadmin/template/index.html workOnSubpart = dokument } seite.includeCSS { file1 = fileadmin/template/styles/screen.css file1.media = screen file2 = fileadmin/template/styles/print.css file2.media = print } seite.10.marks{ content = CONTENT content.table = tt_content content.select.orderBy = sorting content < styles.content.get - ERROR: Line 21: Object copied in this line "content < styles.content.get" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. content.select.where = colPos = 1 eyecatcher = CONTENT eyecatcher.table = tt_content eyecatcher.select.orderBy = sorting eyecatcher < styles.content.get - ERROR: Line 27: Object copied in this line "eyecatcher < styles.content.get" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. eyecatcher.select.where = colPos = 2 eyecatcher.slide = -1 sidelinks = CONTENT sidelinks.table = tt_content sidelinks.select.orderBy = sorting sidelinks < styles.content.get - ERROR: Line 34: Object copied in this line "sidelinks < styles.content.get" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. sidelinks.select.where = colPos = 3 sidelinks.slide = -1 } seite.10.marks.navigation = HMENU seite.10.marks.navigation.1 = TMENU seite.10.marks.navigation.1.wrap = <ul class="level1"> | </ul> seite.10.marks.navigation.1.noBlur = 1 seite.10.marks.navigation.1.NO { wrapItemAndSub = <li class="level1">|</li> } seite.10.marks.navigation.1.CUR = 1 seite.10.marks.navigation.1.noBlur = 1 seite.10.marks.navigation.1.CUR { wrapItemAndSub = <li class="level1_sel">|</li> } seite.10.marks.navigation.1.noBlur = 1 seite.10.marks.navigation.1.ACT = 1 seite.10.marks.navigation.1.ACT { wrapItemAndSub = <li class="level1">|</li> } seite.10.marks.navigation.2 = TMENU seite.10.marks.navigation.2.wrap = <ul class="level2"> | </ul> seite.10.marks.navigation.2.noBlur = 1 seite.10.marks.navigation.2.NO { wrapItemAndSub = <li class="level2">|</li> } seite.10.marks.navigation.2.noBlur = 1 seite.10.marks.navigation.2.CUR = 1 seite.10.marks.navigation.2.CUR { wrapItemAndSub = <li class="level2_sel">|</li> } seite.10.marks.navigation.2.noBlur = 1 seite.10.marks.navigation.2.ACT = 1 seite.10.marks.navigation.2.ACT { wrapItemAndSub = <li class="level2">|</li> } seite.10.marks.navigation.3 = TMENU seite.10.marks.navigation.3.wrap = <ul class="level3"> | </ul> seite.10.marks.navigation.3.noBlur = 1 seite.10.marks.navigation.3.NO { wrapItemAndSub = <li class="level3">|</li> } seite.10.marks.navigation.3.noBlur = 1 seite.10.marks.navigation.3.CUR = 1 seite.10.marks.navigation.3.CUR { wrapItemAndSub = <li class="level3_sel">|</li> } seite.10.marks.navigation.3.noBlur = 1 seite.10.marks.navigation.3.ACT = 1 seite.10.marks.navigation.3.ACT { wrapItemAndSub = <li class="level3">|</li> } |
Datei extTables.php:
PHP-Code:
// Umbenennung der Spalten im Back-End
// Reihenfolge der spalten festlegen
t3lib_extMgm::addPageTSConfig('
mod.SHARED.colPos_list = 1,2,3
');
// Definition der Spalten
$TCA["tt_content"]["columns"]["colPos"]["config"]["items"] = array (
"0" => array ("news||news||||||||","0"), /*get*/
"1" => array ("content||Inhalt||||||||","1"), /*getRight*/
"2" => array ("eyecatcher||Eyecatcher||||||||","2"), /*getLeft*/
"3" => array ("sidelinks||Sidelinks||||||||","3"), /*getRight*/
"4" => array ("macina||macina||||||||","4") /*getLeft*/
);
Könnte mir jemand weiterhelfen?
Leider finde ich nirgens die passende Lösung =o(