Hallo zusammen,
Ich arbeite jetzt erst seit 2-3 Wochen mit Typo3 und bin deshalb kein Profi.
Also Ich habe folgendes Problem:
Wenn ich in Typo3 ein neuer Page Content erstelle wird dann dieser nich im Webbrowser angezeigt.
Hier mal mein TS:
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:
| plugin.tx_automaketemplate_pi1 { content = FILE content.file = fileadmin/template/main/template_sc.html elements { BODY.all = 1 BODY.all.subpartMarker = DOCUMENT_BODY HEAD.all = 1 HEAD.all.subpartMarker = DOCUMENT_HEADER HEAD.rmTagSections = title TD.all = 1 } relPathPrefix = fileadmin/template/main/ } temp.menu_1 = HMENU temp.menu_1.1 = TMENU temp.menu_1.1 { NO.allWrap = <div class="menu1-level1-no"> | </div> ACT = 1 ACT.allWrap = <div class="menu1-level1-act"> | </div> } temp.menu_1.2 = TMENU temp.menu_1.2 { NO.allWrap = <div class="menu1-level2-no"> | </div> ACT = 1 ACT.allWrap = <div class="menu1-level2-act"> | </div> } temp.menu_1.3 = TMENU temp.menu_1.3 { NO.allWrap = <div class="menu1-level3-no"> | </div> ACT = 1 ACT.allWrap = <div class="menu1-level3-act"> | </div> } temp.mainTemplate = TEMPLATE temp.mainTemplate { template =< plugin.tx_automaketemplate_pi1 workOnSubpart = DOCUMENT_BODY subparts.menu_1 < temp.menu_1 subparts.content < styles.content.get } temp.headTemplate = TEMPLATE temp.headTemplate { template =< plugin.tx_automaketemplate_pi1 workOnSubpart = DOCUMENT_HEADER } page = PAGE page.typeNum = 0 page.10 < temp.mainTemplate page.headerData.10 < temp.headTemplate plugin.tx_indexedsearch = USER plugin.tx_newloginbox_pi1 = USER plugin.tx_newloginbox_pi3 = USER plugin.feadmin.fe_users = USER page.10 { marks.SEITENTITEL = TEXT marks.SEITENTITEL.value = {page:title} marks.SEITENTITEL.insertData = 1 marks.SEITENTITEL.wrap = <div class="title"> | </div> } |
und mein HTML:
HTML-Code:
<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="#internalStyle" type="text/css"?> <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Base template, header, menu, content and footer.</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <style type="text/css" id="internalStyle">
/*<![CDATA[*/
BODY { margin: 0 0 0 0;}
/*]]>*/
</style> <link href="res/stylesheet.css" rel="stylesheet" type="text/css" /> </head> <body> <table cellpadding="0" cellspacing="0"> <!-- Header image row: --> <tr> <!-- Feld mit Logo --> <td id="logo"> <img src="http://www.typo3forum.net/forum/images/logo.jpg" width="150px" height="45px" alt="a-lu logo"/> </td> <!-- Feld mit dynamischem Seitentitel --> <td id="pagetitle" background="background.png" width="1300px" > <!-- Titel jeder Seite --> <div class="title">###SEITENTITEL###</div> </td> </tr> <tr> <!-- Menu table cell: --> <td id="menu"> <table> <tr> <td id="menu_1"> <div class="menu1-state1-no"><a href="#">Menu item 1</a></div> <div class="menu1-state1-act"><a href="#">Menu item 2 (act)</a></div> <div class="menu1-state2-no"><a href="#">Level 2 item 1</a></div> <div class="menu1-state2-act"><a href="#">Level 2 item 2 (act)</a></div> <div class="menu1-state3-no"><a href="#">Level 3 item 1</a></div> <div class="menu1-state3-act"><a href="#">Level 3 item 2 (act)</a></div> <div class="menu1-state1-no"><a href="#">Menu item 3</a></div> </td> </tr> </table> </td> <!-- Page Content Area table cell: --> <td id="content"> </td> </tr> <!-- Footer row: --> <tr> <td colspan="2" id="footer"> <p> <center>
Alcatel-Lucent Schweiz AG</br>
Website updated by T.Sterchi   |   tobias.sterchi@alcatel-lucent.ch</center> </p> </td> </tr> </table> </body> </html> Kann mir da jemand Helfen???
Gruss Root